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

This commit is contained in:
2024-07-31 19:58:17 -06:00
parent 3a5d608af4
commit a67790e6d3

View File

@ -50,6 +50,15 @@ You will need to create these files all in the same directory using the content
name: awx name: awx
spec: spec:
service_type: ClusterIP 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" === "ingress.yml"
@ -88,24 +97,32 @@ You will need to create these files all in the same directory using the content
namespace: awx namespace: awx
``` ```
=== "krb5.conf" === "krb5-configmap.yml"
```jsx title="/awx/krb5.conf" ```jsx title="/awx/krb5-configmap.yml"
[libdefaults] apiVersion: v1
default_realm = BUNNY-LAB.IO kind: ConfigMap
dns_lookup_realm = false metadata:
dns_lookup_kdc = false name: krb5-config
namespace: awx
data:
krb5.conf: |
[libdefaults]
default_realm = BUNNY-LAB.IO
dns_lookup_realm = false
dns_lookup_kdc = false
[realms] [realms]
BUNNY-LAB.IO = { BUNNY-LAB.IO = {
kdc = 192.168.3.25 kdc = 192.168.3.25
kdc = 192.168.3.26 kdc = 192.168.3.26
admin_server = 192.168.3.25 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 ## Ensure the Kubernetes Cluster is Ready