Skip to content

Commit

Permalink
[stable/kube-slack] Kube slack image from different CR (helm#21915)
Browse files Browse the repository at this point in the history
* [stable/kube-slack] Added imagePullSecrets option to chart

Signed-off-by: Pierluigi Lenoci <[email protected]>

* In this way works better

Signed-off-by: Pierluigi Lenoci <[email protected]>
  • Loading branch information
pierluigilenoci authored and Ian Levesque committed Jul 13, 2020
1 parent 8fde079 commit a750d78
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion stable/kube-slack/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: kube-slack
version: 1.3.0
version: 1.3.1
appVersion: v4.2.0
apiVersion: v1
description: Chart for kube-slack, a monitoring service for Kubernetes
Expand Down
4 changes: 4 additions & 0 deletions stable/kube-slack/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ spec:
- configMapRef:
name: {{ template "kube-slack.fullname" . }}
resources:
{{ if .Values.image.pullSecret }}
imagePullSecrets:
- name: {{ .Values.image.pullSecret }}
{{- end }}
{{ toYaml .Values.resources | indent 12 }}
{{- if .Values.rbac.create }}
serviceAccountName: {{ template "kube-slack.fullname" . }}
Expand Down
2 changes: 2 additions & 0 deletions stable/kube-slack/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ image:
repository: willwill/kube-slack
tag: v4.2.0
pullPolicy: IfNotPresent
# If specified, use these secrets to access the image
# pullSecret: registry-secret

resources: {}
# limits:
Expand Down

0 comments on commit a750d78

Please sign in to comment.