Skip to content

Commit c762d50

Browse files
authored
imagepullsecrets chart support (#6)
1 parent cf152f1 commit c762d50

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

charts/lunar/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ apiVersion: v2
22
name: lunar
33
description: A Helm chart for Earthly Lunar 🌙
44
type: application
5-
version: 0.3.0
5+
version: 0.4.0

charts/lunar/templates/operator-deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,10 @@ spec:
9797
key: {{ .Values.hub.auth.secretKey }}
9898
- name: OPERATOR_POD_SERVICE_ACCOUNT
9999
value: {{ include "lunar.fullname" . }}-snippet-pod
100+
{{- if .Values.imagePullSecrets }}
101+
- name: OPERATOR_IMAGE_PULL_SECRETS
102+
value: {{ range $i, $s := .Values.imagePullSecrets }}{{ if $i }},{{ end }}{{ $s.name }}{{ end }}
103+
{{- end }}
100104
{{- with .Values.operator.extraEnv }}
101105
{{- toYaml . | nindent 12 }}
102106
{{- end }}

0 commit comments

Comments
 (0)