mirror of
https://github.com/jprdonnelly/kubernetes-cluster.git
synced 2025-12-19 18:05:19 -05:00
Update README.md
This commit is contained in:
@@ -9,11 +9,11 @@ Running K8s with Ingress (not the service deployed by QSEoK)
|
|||||||
|
|
||||||
Run the following commands to create the "idp" namespace and upload the secret (the entire realm.json file)
|
Run the following commands to create the "idp" namespace and upload the secret (the entire realm.json file)
|
||||||
```bash
|
```bash
|
||||||
kubectl create namespace idp
|
kubectl create namespace keycloak
|
||||||
```
|
```
|
||||||
This command below utilizes a "realm.json" file located in current path.
|
This command below utilizes a "realm.json" file located in current path.
|
||||||
```bash
|
```bash
|
||||||
kubectl create secret --namespace idp generic realm-secret --from-file=./realm.json
|
kubectl create secret --namespace keycloak generic realm-secret --from-file=./realm.json
|
||||||
```
|
```
|
||||||
|
|
||||||
Create namespace and deploy nginx-ingress
|
Create namespace and deploy nginx-ingress
|
||||||
@@ -29,7 +29,7 @@ helm install -n ingress --namespace ingress stable/nginx-ingress
|
|||||||
### Deploy Keycloak
|
### Deploy Keycloak
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
helm install -n keycloak --namespace idp codecentric/keycloak -f ./keycloak-values.yaml
|
helm install -n keycloak --namespace keycloak codecentric/keycloak -f ./keycloak-values.yaml
|
||||||
```
|
```
|
||||||
Update /etc/hosts to point "keycloak.local" to 192.168.205.91 (second address dealt from MetalLB)
|
Update /etc/hosts to point "keycloak.local" to 192.168.205.91 (second address dealt from MetalLB)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user