OK, I think I have part of an answer but I am not getting the syntax right for a successful Kubernetes deployment it looks like.
Can somebody look this over and help me out in getting the yaml file syntax right, please?
---
kind: ConfigMap
apiVersion: v1
metadata:
name: awx-myorg
namespace: awx
data:
krb5.conf: |-
# To opt out of the system crypto-policies configuration of krb5, remove the
# symlink at /etc/krb5.conf.d/crypto-policies which will not be recreated.
# includedir /etc/krb5.conf.d/
# my myorg krb5.conf file
includedir /etc/krb5.conf.d/
[libdefaults]
default_realm = MYORG.DOM
# The follodomg krb5.conf variables are only for MIT Kerberos.
kdc_timesync = 1
ccache_type = 4
forwardable = true
proxiable = true
# The follodomg encryption type specification will be used by MIT Kerberos
# if uncommented. In general, the defaults in the MIT Kerberos code are
# correct and overriding these specifications only serves to disable new
# encryption types as they are added, creating interoperability problems.
#
# The only time when you might need to uncomment these lines and change
# the enctypes is if you have local software that will break on ticket
# caches containing ticket encryption types it doesn't know about (such as
# old versions of Sun Java).
# default_tgs_enctypes = des3-hmac-sha1
# default_tkt_enctypes = des3-hmac-sha1
# permitted_enctypes = des3-hmac-sha1
# The follodomg libdefaults parameters are only for Heimdal Kerberos.
fcc-mit-ticketflags = true
[realms]
MYORG.DOM = {
kdc = dc1.myorg.dom
kdc = dc2.myorg.dom
admin_server = dc1.myorg.dom
default_domain = MYORG.DOM
}
[domain_realm]
.myorg.dom = MYORG.DOM
---
apiVersion:
awx.ansible.com/v1beta1kind: AWX
metadata:
name: awx-myorg
spec:
service_type: nodeport
web_extra_volume_mounts: |
- name: krb5-conf
mountPath: /etc/krb5.conf
subPath: krb5.conf
task_extra_volume_mounts: |
- name: krb5-conf
mountPath: /etc/krb5.conf
subPath: krb5.conf
ee_extra_volume_mounts: |
- name: krb5-conf
mountPath: /etc/krb5.conf
subPath: krb5.conf
extra_volumes: |
- name: krb5-conf
configMap:
defaultMode: 420
items:
- key: krb5.conf
path: krb5.conf
name: awx-myorg
VERSION=0.22.0 kustomize build . | kubectl apply -f -
BUT it never finishes building the containers. Evan after a full hour it is still in building container state.
Can somebody do the necessary edits to make the above apply and build the awx cluster successfully, please?