diff --git a/stable/kube-slack/Chart.yaml b/stable/kube-slack/Chart.yaml index a9ffc0fd1697..cf00ebe028f1 100644 --- a/stable/kube-slack/Chart.yaml +++ b/stable/kube-slack/Chart.yaml @@ -1,5 +1,5 @@ name: kube-slack -version: 1.3.1 +version: 1.3.2 appVersion: v4.2.0 apiVersion: v1 description: Chart for kube-slack, a monitoring service for Kubernetes diff --git a/stable/kube-slack/templates/deployment.yaml b/stable/kube-slack/templates/deployment.yaml index b11993bce9eb..d114cd16e71b 100644 --- a/stable/kube-slack/templates/deployment.yaml +++ b/stable/kube-slack/templates/deployment.yaml @@ -29,6 +29,8 @@ spec: - name: {{ .Chart.Name }} image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" imagePullPolicy: {{ .Values.image.pullPolicy }} + securityContext: + runAsUser: {{ .Values.image.runAsUser }} env: {{- range $key, $value := .Values.envVarsFromSecret }} - name: {{ $key }} @@ -41,10 +43,6 @@ 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" . }} diff --git a/stable/kube-slack/values.yaml b/stable/kube-slack/values.yaml index bf7411baae76..77ae6fe59f54 100644 --- a/stable/kube-slack/values.yaml +++ b/stable/kube-slack/values.yaml @@ -38,8 +38,7 @@ image: repository: willwill/kube-slack tag: v4.2.0 pullPolicy: IfNotPresent - # If specified, use these secrets to access the image - # pullSecret: registry-secret + runAsUser: 1000 resources: {} # limits: