fix: update key name for secret operator image configuration in Helm values

- Changed the key from `secretOperator` to `secret-operator` in `values.yaml`.
- Updated the deployment template to reflect the new key name for image configuration.

Signed-off-by: zhenyus <zhenyus@mathmast.com>
This commit is contained in:
zhenyus 2025-08-18 11:57:36 +08:00
parent db518c0652
commit 2794b3f209
2 changed files with 3 additions and 3 deletions

View File

@ -26,8 +26,8 @@ spec:
- name: {{ .Chart.Name }}
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.secretOperator.image.repository }}:{{ .Values.secretOperator.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.secretOperator.image.pullPolicy }}
image: "{{ .Values.secret-operator.image.repository }}:{{ .Values.secret-operator.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.secret-operator.image.pullPolicy }}
ports:
- name: api
containerPort: {{ .Values.operator.apiServerPort }}

View File

@ -1,7 +1,7 @@
# Default values for freeleaps-secret-operator
replicaCount: 1
secretOperator:
secret-operator:
image:
registry: docker.io
repository: freeleaps/secret-operator