Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

Commit

Permalink
[stable/kube-slack] Kube slack image from different CR (#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 <pierluigi.lenoci@akelius.de>

* In this way works better

Signed-off-by: Pierluigi Lenoci <pierluigi.lenoci@akelius.de>
  • Loading branch information
pierluigilenoci authored Apr 14, 2020
1 parent e812224 commit 05d451d
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 05d451d

Please sign in to comment.