Update Docker & Kubernetes/Servers/AWX/AWX Operator/Ansible AWX Operator.md
This commit is contained in:
@ -262,10 +262,16 @@ Add the following Kubernetes patch file to the `/awx` folder on the AWX Operator
|
|||||||
Then run the following commands to apply the configmap to the Kubernetes cluster, then patch each container to add the file.
|
Then run the following commands to apply the configmap to the Kubernetes cluster, then patch each container to add the file.
|
||||||
|
|
||||||
``` sh
|
``` sh
|
||||||
|
# Apply the Kerberos ConfigMap into Kubernetes Cluster
|
||||||
kubectl apply -f /awx/krb5-configmap.yml
|
kubectl apply -f /awx/krb5-configmap.yml
|
||||||
kubectl patch deployment awx-task -n awx --patch "$(cat kerberos-patch.yml | sed -n '/^apiVersion: apps\/v1/,/^---/p')"
|
|
||||||
kubectl patch deployment awx-web -n awx --patch "$(cat kerberos-patch.yml | sed -n '/^apiVersion: apps\/v1/,/^---/p')"
|
# Apply patch for awx-task
|
||||||
kubectl apply -k .
|
kubectl patch deployment awx-task -n awx --patch "$(sed -n '/^apiVersion: apps\/v1/,/^---/p' kerberos-patch.yml)"
|
||||||
|
|
||||||
|
# Apply patch for awx-web
|
||||||
|
kubectl patch deployment awx-web -n awx --patch "$(sed -n '/^apiVersion: apps\/v1/,$p' kerberos-patch.yml)"
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Access the AWX WebUI behind Ingress Controller
|
## Access the AWX WebUI behind Ingress Controller
|
||||||
|
Reference in New Issue
Block a user