diff --git a/charts/vineyard-operator/values.yaml b/charts/vineyard-operator/values.yaml index e743095d..75154612 100644 --- a/charts/vineyard-operator/values.yaml +++ b/charts/vineyard-operator/values.yaml @@ -23,7 +23,6 @@ controllerManager: manager: image: repository: vineyardcloudnative/vineyard-operator - tag: latest imagePullPolicy: IfNotPresent resources: limits: diff --git a/k8s/Makefile b/k8s/Makefile index ab232e5e..ad2b09ad 100644 --- a/k8s/Makefile +++ b/k8s/Makefile @@ -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