remove namespace from helm chart

Helm should be able to set the namespace for the operator at deploy time
via the --namespace option.  Use yq to remove all references to
namespaces in the helm chart prior to publishing.

Update CI process to create namespace during install.

Resolves #907
This commit is contained in:
Brandon Ewing
2022-06-18 23:02:54 -05:00
parent 9676ebc008
commit 3cd9ddd8c6
2 changed files with 4 additions and 2 deletions

View File

@@ -63,4 +63,4 @@ jobs:
- name: Build and install helm chart
run: |
IMG=awx-operator-ci make helm-chart
helm install --wait my-awx-operator ./charts/awx-operator
helm install --wait my-awx-operator --namespace awx --create-namespace ./charts/awx-operator