Skip to content

Commit

Permalink
Merge pull request #12 from brianmcarey/master
Browse files Browse the repository at this point in the history
Include imagePullSecrets for private image registries
  • Loading branch information
andrzejwp authored Sep 29, 2020
2 parents ca28752 + 7b543cf commit ca4995c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 4 additions & 1 deletion chart/bitwarden-k8s/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,10 @@ spec:
volumeMounts:
- name: data
mountPath: /data

{{- if .Values.image.pullSecrets }}
imagePullSecrets:
- name: {{ .Values.image.pullSecrets }}
{{- end }}
volumes:
- name: data
{{- if .Values.persistence.enabled }}
Expand Down
2 changes: 2 additions & 0 deletions chart/bitwarden-k8s/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ image:
repository: bitwardenrs/server
tag: latest
pullPolicy: IfNotPresent
# imagePullSecrets for accessing private registries
# pullSecrets: regcred

env:
SIGNUPS_ALLOWED: true
Expand Down

0 comments on commit ca4995c

Please sign in to comment.