Skip to content

Commit d805f2e

Browse files
fixed namespace injection in helm chart generation
Signed-off-by: raffaelespazzoli <[email protected]>
1 parent 351ccfb commit d805f2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ bundle-build:
128128
helmchart: kustomize
129129
mkdir -p ./charts/${OPERATOR_NAME}/templates
130130
cp ./config/helmchart/templates/* ./charts/${OPERATOR_NAME}/templates
131-
$(KUSTOMIZE) build ./config/helmchart | sed 's/release-namespace/{{.Release.namespace}}/' > ./charts/${OPERATOR_NAME}/templates/rbac.yaml
131+
$(KUSTOMIZE) build ./config/helmchart | sed 's/release-namespace/{{.Release.Namespace}}/' > ./charts/${OPERATOR_NAME}/templates/rbac.yaml
132132
version=${VERSION} envsubst < ./config/helmchart/Chart.yaml.tpl > ./charts/${OPERATOR_NAME}/Chart.yaml
133133
version=${VERSION} image_repo=$${IMG%:*} envsubst < ./config/helmchart/values.yaml.tpl > ./charts/${OPERATOR_NAME}/values.yaml
134134
helm lint ./charts/${OPERATOR_NAME}

0 commit comments

Comments
 (0)