# Howto to deploy kerberos (krb5.conf) info during awx operator install?

**URL:** <https://forum.ansible.com/t/howto-to-deploy-kerberos-krb5-conf-info-during-awx-operator-install/36723>\
**Category:** Ansible Project\
**Tags:** awx\
**Created:** [June 13, 2022, 10:23am UTC](https://forum.ansible.com/t/howto-to-deploy-kerberos-krb5-conf-info-during-awx-operator-install/36723 "2022-06-13T10:23:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Urs\_Rau](https://avatars.discourse-cdn.com/v4/letter/u/50afbb/32.png) [@Urs\_Rau](https://forum.ansible.com/u/Urs_Rau)\
**Post date:** [June 13, 2022, 10:23am UTC](https://forum.ansible.com/t/howto-to-deploy-kerberos-krb5-conf-info-during-awx-operator-install/36723/1 "2022-06-13T10:23:36Z")

</div>

I am deploying awx 21.1.0 using the 0.22.0 operator into a minikube cluster doing what they call a ‘basic install’ by way of creating the documented kustomize.yml .

[https://github.com/ansible/awx-operator#basic-install](https://github.com/ansible/awx-operator#basic-install)

But then my awx pods do not have the required kerberos realm info and both winrm and kerberos transports fail.

How do I add the contents of my locally required krb5.conf file to all pods via the new operator install method?

---

<div class="post-metadata">

**Author:** ![Urs\_Rau](https://avatars.discourse-cdn.com/v4/letter/u/50afbb/32.png) [@Urs\_Rau](https://forum.ansible.com/u/Urs_Rau)\
**Post date:** [June 14, 2022, 1:16pm UTC](https://forum.ansible.com/t/howto-to-deploy-kerberos-krb5-conf-info-during-awx-operator-install/36723/2 "2022-06-14T13:16:25Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![Sebastian\_Jaekel](https://avatars.discourse-cdn.com/v4/letter/s/eb8c5e/32.png) [@Sebastian\_Jaekel](https://forum.ansible.com/u/Sebastian_Jaekel)\
**Post date:** [July 12, 2022, 9:38am UTC](https://forum.ansible.com/t/howto-to-deploy-kerberos-krb5-conf-info-during-awx-operator-install/36723/3 "2022-07-12T09:38:14Z")

</div>

Hi,

Even if you get it working, this will not help. The configuration from the containers is not related to the pod(s) launched when running a playbook. You need to modify the default container group or create a new one. For example, goto “Administration” → “Instance Groups” and edit the “default” group.  
Change spec to something like this (maybe you need to change the name of the configMap in volumes section):

apiVersion: v1  
kind: Pod  
metadata:  
namespace: awxop  
spec:  
serviceAccountName: default  
automountServiceAccountToken: false  
containers:

- image: ‘[quay.io/ansible/awx-ee:latest](http://quay.io/ansible/awx-ee:latest)’  
name: worker  
args:
- ansible-runner
- worker
- ‘–private-data-dir=/runner’  
resources:  
requests:  
cpu: 250m  
memory: 100Mi  
volumeMounts:
- name: krb5-conf  
mountPath: /etc/krb5.conf  
subPath: krb5.conf  
volumes:
- name: krb5-conf  
configMap:  
name: awx-demo-extra-config

Regards

Sebastian
