Skip to content

Commit

Permalink
Fix imagePullSecrets properly this time
Browse files Browse the repository at this point in the history
  • Loading branch information
funkypenguin committed May 25, 2020
1 parent 83c0ad7 commit 06cb2a1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion charts/webhook-receiver/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ type: application

# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
version: 1.0.3
version: 1.0.4

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
Expand Down
4 changes: 1 addition & 3 deletions charts/webhook-receiver/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,8 @@ spec:
labels:
{{- include "webhook-receiver.selectorLabels" . | nindent 8 }}
spec:
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
- name: {{ .Values.imagePullSecret }}
serviceAccountName: {{ include "webhook-receiver.serviceAccountName" . }}
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
Expand Down
5 changes: 2 additions & 3 deletions charts/webhook-receiver/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@ image:
tag: 2.7.0
pullPolicy: IfNotPresent

imagePullSecrets:
- webhook-receiver-pullsecret

imagePullSecrets: webhook-receiver-pullsecret

nameOverride: ""
fullnameOverride: ""

Expand Down

0 comments on commit 06cb2a1

Please sign in to comment.