Update Docker & Kubernetes/Servers/AWX/AWX Operator/Ansible AWX Operator.md

This commit is contained in:
2024-07-31 20:59:39 -06:00
parent af424e638e
commit 609b5d0a2b

View File

@ -265,13 +265,11 @@ Then run the following commands to apply the configmap to the Kubernetes cluster
# Apply the Kerberos ConfigMap into Kubernetes Cluster # Apply the Kerberos ConfigMap into Kubernetes Cluster
kubectl apply -f /awx/krb5-configmap.yml kubectl apply -f /awx/krb5-configmap.yml
# Apply patch for awx-task # Extract and apply patch for awx-task
kubectl patch deployment awx-task -n awx --patch "$(sed -n '/^apiVersion: apps\/v1/,/^---/p' kerberos-patch.yml)" kubectl patch deployment awx-task -n awx --patch "$(sed -n '1,/^---/p' kerberos-patch.yml | sed '$d')"
# Apply patch for awx-web
kubectl patch deployment awx-web -n awx --patch "$(sed -n '/^apiVersion: apps\/v1/,$p' kerberos-patch.yml)"
# Extract and apply patch for awx-web
kubectl patch deployment awx-web -n awx --patch "$(sed -n '/^---/,$p' kerberos-patch.yml | sed '1d')"
``` ```
## Access the AWX WebUI behind Ingress Controller ## Access the AWX WebUI behind Ingress Controller