From cd27b51c8977e18da36aebf64e024d9cfc5e8a86 Mon Sep 17 00:00:00 2001 From: Nicole Rappe Date: Wed, 31 Jul 2024 20:54:16 -0600 Subject: [PATCH] Update Docker & Kubernetes/Servers/AWX/AWX Operator/Ansible AWX Operator.md --- .../AWX/AWX Operator/Ansible AWX Operator.md | 22 +------------------ 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/Docker & Kubernetes/Servers/AWX/AWX Operator/Ansible AWX Operator.md b/Docker & Kubernetes/Servers/AWX/AWX Operator/Ansible AWX Operator.md index 8e41b8e..9c11424 100644 --- a/Docker & Kubernetes/Servers/AWX/AWX Operator/Ansible AWX Operator.md +++ b/Docker & Kubernetes/Servers/AWX/AWX Operator/Ansible AWX Operator.md @@ -222,25 +222,6 @@ Add the following Kubernetes patch file to the `/awx` folder on the AWX Operator ```jsx title="/awx/ingress.yml" apiVersion: apps/v1 kind: Deployment - metadata: - name: awx - namespace: awx - spec: - template: - spec: - containers: - - name: awx - volumeMounts: - - name: krb5-config - mountPath: /etc/krb5.conf - subPath: krb5.conf - volumes: - - name: krb5-config - configMap: - name: krb5-config - --- - apiVersion: apps/v1 - kind: Deployment metadata: name: awx-task namespace: awx @@ -282,9 +263,8 @@ Then run the following commands to apply the configmap to the Kubernetes cluster ``` sh kubectl apply -f /awx/krb5-configmap.yml -kubectl patch deployment awx -n awx --patch "$(cat kerberos-patch.yml | sed -n '/^apiVersion: apps\/v1/,/^---/p')" 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')" +kubectl patch deployment awx-web -n awx --patch "$(cat kerberos-patch.yml | sed -n '/^apiVersion: apps\/v1/,/^---/p')" kubectl apply -k . ```