Skip to content

Commit

Permalink
feat(stunner-gw-operator): Add imagePullSecrets (#32)
Browse files Browse the repository at this point in the history
Allow setting imagePullSecrets for the gateway-operator and auth-service deployments.

Co-authored-by: Seumas Dunlop <[email protected]>
  • Loading branch information
seumasdunlop and Seumas Dunlop authored Jun 19, 2024
1 parent bc633c9 commit 67f39bf
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ spec:
memory: 64Mi
nodeSelector: {{- toYaml .deployment.nodeSelector | nindent 8 }}
tolerations: {{- toYaml .deployment.tolerations | nindent 8 }}
{{- with .deployment.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
---
apiVersion: v1
kind: Service
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -394,3 +394,7 @@ spec:
{{- with .Values.stunnerGatewayOperator.deployment.tolerations }}
tolerations: {{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.stunnerGatewayOperator.deployment.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
4 changes: 4 additions & 0 deletions helm/stunner-gateway-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ stunnerGatewayOperator:
tolerations: []
nodeSelector:
kubernetes.io/os: linux
imagePullSecrets:
# - name: docker-registry-secret
container:
manager:
image:
Expand Down Expand Up @@ -69,6 +71,8 @@ stunnerAuthService:
tolerations: []
nodeSelector:
kubernetes.io/os: linux
imagePullSecrets:
# - name: docker-registry-secret
container:
authService:
image:
Expand Down

0 comments on commit 67f39bf

Please sign in to comment.