refactor: restructure image configuration for secret operator in Helm values
- Moved image configuration under a new `secretOperator` key in both `values.prod.yaml` and `values.yaml`. - Updated deployment template to reference the new image configuration structure. Signed-off-by: zhenyus <zhenyus@mathmast.com>
This commit is contained in:
parent
ff7ae2e9c0
commit
db518c0652
@ -26,8 +26,8 @@ spec:
|
||||
- name: {{ .Chart.Name }}
|
||||
securityContext:
|
||||
{{- toYaml .Values.securityContext | nindent 12 }}
|
||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
|
||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||
image: "{{ .Values.secretOperator.image.repository }}:{{ .Values.secretOperator.image.tag | default .Chart.AppVersion }}"
|
||||
imagePullPolicy: {{ .Values.secretOperator.image.pullPolicy }}
|
||||
ports:
|
||||
- name: api
|
||||
containerPort: {{ .Values.operator.apiServerPort }}
|
||||
|
||||
@ -1,10 +1,13 @@
|
||||
# Default values for freeleaps-secret-operator
|
||||
replicaCount: 1
|
||||
|
||||
secretOperator:
|
||||
image:
|
||||
registry: docker.io
|
||||
repository: freeleaps/secret-operator
|
||||
pullPolicy: IfNotPresent
|
||||
tag: "latest"
|
||||
name: "secret-operator"
|
||||
|
||||
imagePullSecrets: []
|
||||
nameOverride: ""
|
||||
|
||||
@ -1,10 +1,13 @@
|
||||
# Default values for freeleaps-secret-operator
|
||||
replicaCount: 1
|
||||
|
||||
secretOperator:
|
||||
image:
|
||||
registry: docker.io
|
||||
repository: freeleaps/secret-operator
|
||||
pullPolicy: IfNotPresent
|
||||
tag: "latest"
|
||||
name: "secret-operator"
|
||||
|
||||
imagePullSecrets: []
|
||||
nameOverride: ""
|
||||
|
||||
Loading…
Reference in New Issue
Block a user