Move custom resource definitions into a CRDs folder (#994)

* Add missing quote for port parameter

* Add step to move CRDs into the correct folder
This commit is contained in:
Ming Quah
2022-07-27 08:48:20 +10:00
committed by GitHub
parent 0be17476cd
commit db6a5b53ed
2 changed files with 3 additions and 1 deletions

View File

@@ -7,7 +7,7 @@ metadata:
{{- with $.Values.AWX.postgres }}
stringData:
host: {{ .host }}
port: {{ .port }}
port: {{ .port | quote }}
database: {{ .dbName }}
username: {{ .username }}
password: {{ .password }}

View File

@@ -295,6 +295,8 @@ helm-chart-generate: kustomize helm kubectl-slice yq charts
--output-dir=charts/$(CHART_NAME)/templates \
--sort-by-kind
@echo "AWX Operator installed with Helm Chart version $(VERSION)" > charts/$(CHART_NAME)/templates/NOTES.txt
mkdir charts/$(CHART_NAME)/crds
mv charts/$(CHART_NAME)/templates/customresourcedefinition* charts/$(CHART_NAME)/crds
.PHONY: helm-chart-edit
helm-chart-slice: