Skip to content

Commit

Permalink
Delete the latest tag so that the helm chart use the Chart.AppVersion…
Browse files Browse the repository at this point in the history
… as the image tag (#1572)

Fixes #1571

Signed-off-by: Ye Cao <caoye.cao@alibaba-inc.com>
  • Loading branch information
dashanji authored Sep 19, 2023
1 parent 8a73f06 commit 08f9a87
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion charts/vineyard-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ controllerManager:
manager:
image:
repository: vineyardcloudnative/vineyard-operator
tag: latest
imagePullPolicy: IfNotPresent
resources:
limits:
Expand Down
1 change: 1 addition & 0 deletions k8s/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -287,5 +287,6 @@ generate-helm-chart: helmify kustomize
cd ../charts && $(KUSTOMIZE) build ../k8s/config/default | $(HELMIFY) --cert-manager-as-subchart vineyard-operator && \
sed -i 's/\/var\/run\/vineyard-kubernetes\/{{.Namespace}}\/{{.Name}}/\/var\/run\/vineyard-kubernetes\/{{ \"{{.Namespace}}\/{{.Name}}\" }}/g' \
vineyard-operator/templates/vineyardd-crd.yaml && \
sed -i '/tag: latest/d' vineyard-operator/values.yaml && \
sed -i 's/certManager/cert-manager/g' vineyard-operator/values.yaml && \
sed -i '4i\ extraArgs:\n - --enable-certificate-owner-ref=true' vineyard-operator/values.yaml

0 comments on commit 08f9a87

Please sign in to comment.