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 cd403aa..caa8f9f 100644 --- a/Docker & Kubernetes/Servers/AWX/AWX Operator/Ansible AWX Operator.md +++ b/Docker & Kubernetes/Servers/AWX/AWX Operator/Ansible AWX Operator.md @@ -50,6 +50,15 @@ You will need to create these files all in the same directory using the content name: awx spec: service_type: ClusterIP + extra_volumes: + - name: krb5-conf + configMap: + name: krb5-config + extra_volume_mounts: + - name: krb5-conf + mountPath: /etc/krb5.conf + subPath: krb5.conf + readOnly: true ``` === "ingress.yml" @@ -88,24 +97,32 @@ You will need to create these files all in the same directory using the content namespace: awx ``` -=== "krb5.conf" +=== "krb5-configmap.yml" - ```jsx title="/awx/krb5.conf" - [libdefaults] - default_realm = BUNNY-LAB.IO - dns_lookup_realm = false - dns_lookup_kdc = false + ```jsx title="/awx/krb5-configmap.yml" + apiVersion: v1 + kind: ConfigMap + metadata: + name: krb5-config + namespace: awx + data: + krb5.conf: | + [libdefaults] + default_realm = BUNNY-LAB.IO + dns_lookup_realm = false + dns_lookup_kdc = false - [realms] - BUNNY-LAB.IO = { - kdc = 192.168.3.25 - kdc = 192.168.3.26 - admin_server = 192.168.3.25 - } + [realms] + BUNNY-LAB.IO = { + kdc = 192.168.3.25 + kdc = 192.168.3.26 + admin_server = 192.168.3.25 + } + + [domain_realm] + .bunny-lab.io = BUNNY-LAB.IO + bunny-lab.io = BUNNY-LAB.IO - [domain_realm] - .bunny-lab.io = BUNNY-LAB.IO - bunny-lab.io = BUNNY-LAB.IO ``` ## Ensure the Kubernetes Cluster is Ready