AWX kubernetes install via operator

Hi,

trying to install ansible via the new operator and running against a multitude of issues… I cant get it update any settings either via secrets or updating the spec…

Anyone able to assist in my currenet process is:

Deploy secret for database secret


---
apiVersion: v1
kind: Secret
metadata:
name: awx-postgres-configuration
namespace: default
stringData:
host: rds...
port: 54321
database: awx
username: awx
password: mypassowrd
type: Opaque

Added a secret for admin user:


---
apiVersion: v1
kind: Secret
metadata:
name: awx-admin-password
namespace: default
stringData:
password: mysuperlongpassword

Deploy operator:

kubectl apply -f https://raw.githubusercontent.com/ansible/awx-operator/devel/deploy/awx-operator.yaml

Deploy my-awx.yml


apiVersion: awx.ansible.com/v1beta1
kind: AWX
metadata:
name: awx
spec:
tower_admin_password_secret: awx-admin-password
tower_admin_user: admin
tower_admin_email: admin@admin.com

I still get a database being built and no admin user created… Any ideas what ive done wrong?

I think you are using the manifest from dev but the AWXS object from 0.6.0. Try this instead (after deleting the other awxs CRD)

kubectl apply \-f https://raw.githubusercontent.com/ansible/awx-operator/0.6.0/deploy/awx-operator.yaml

The devel branch doesn't use the same mechanism for user creation anymore.