Skip to content

Commit

Permalink
refac: secret array
Browse files Browse the repository at this point in the history
  • Loading branch information
lbd-cloud committed Jun 10, 2024
1 parent 3f0f0c4 commit ba9ad2f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
7 changes: 3 additions & 4 deletions charts/indexer/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,11 @@ spec:
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}

{{- if .Values.imagePullSecrets }}
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- range .Values.imagePullSecrets }}
- name: {{ .name }}
{{- end }}
{{- toYaml . | nindent 8 }}
{{- end }}

containers:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
Expand Down
3 changes: 1 addition & 2 deletions charts/indexer/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ image:
tag: latest
pullPolicy: IfNotPresent

imagePullSecrets:
name: "PLACEHOLDER_REGISTRY_SECRET_NAME"
imagePullSecrets: []

# Service configuration
service:
Expand Down

0 comments on commit ba9ad2f

Please sign in to comment.