diff --git a/.helm/starter/templates/awx-deploy.yaml b/.helm/starter/templates/awx-deploy.yaml index 742ef36b..bbaaeae6 100644 --- a/.helm/starter/templates/awx-deploy.yaml +++ b/.helm/starter/templates/awx-deploy.yaml @@ -5,6 +5,14 @@ kind: AWX metadata: name: {{ .name }} namespace: {{ $.Release.Namespace }} + {{- with .labels }} + labels: + {{ . | toYaml }} + {{- end }} + {{- with .annotations }} + labels: + {{ . | toYaml }} + {{- end }} spec: {{- /* Provide custom persistent volumes configs if enabled */}} {{- include "spec.storageClassNames" $ }} diff --git a/README.md b/README.md index 6ab7fc3a..630c3e63 100644 --- a/README.md +++ b/README.md @@ -252,6 +252,8 @@ AWX: |---|---|---| | `AWX.enabled` | Enable this AWX resource configuration | `false` | | `AWX.name` | The name of the AWX resource and default prefix for other resources | `"awx"` | +| `AWX.annotations` | add annotations to the AWX resource | `{}` | +| `AWX.labels` | add labels to the AWX resource | `{}` | | `AWX.spec` | specs to directly configure the AWX resource | `{}` | | `AWX.postgres` | configurations for the external postgres secret | - |