# AWX kubernetes install via operator

**URL:** <https://forum.ansible.com/t/awx-kubernetes-install-via-operator/34751>\
**Category:** AWX Project\
**Tags:** awx, kubernetes\
**Created:** [March 9, 2021, 2:29pm UTC](https://forum.ansible.com/t/awx-kubernetes-install-via-operator/34751 "2021-03-09T14:29:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Staggerlee011](https://avatars.discourse-cdn.com/v4/letter/s/ec9cab/32.png) [@Staggerlee011](https://forum.ansible.com/u/Staggerlee011)\
**Post date:** [March 9, 2021, 2:29pm UTC](https://forum.ansible.com/t/awx-kubernetes-install-via-operator/34751/1 "2021-03-09T14:29:27Z")

</div>

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

```auto

---
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:

```auto

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

```

Deploy operator:

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

```

Deploy my-awx.yml

```auto

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?

---

<div class="post-metadata">

**Author:** ![howardjones](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/howardjones/32/4169_2.png) [@howardjones](https://forum.ansible.com/u/howardjones)\
**Post date:** [March 11, 2021, 4:22pm UTC](https://forum.ansible.com/t/awx-kubernetes-install-via-operator/34751/2 "2021-03-11T16:22:36Z")

</div>

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.
