Merge branch 'master' into cm-annotations

This commit is contained in:
Spencer Gilbert 2020-07-11 13:04:04 -04:00 committed by Matteo Ruina
commit 5b2d5e0d10
17 changed files with 70 additions and 6 deletions

View file

@ -2,7 +2,7 @@ apiVersion: v1
appVersion: "1.6.1" appVersion: "1.6.1"
description: A Helm chart for ArgoCD, a declarative, GitOps continuous delivery tool for Kubernetes. description: A Helm chart for ArgoCD, a declarative, GitOps continuous delivery tool for Kubernetes.
name: argo-cd name: argo-cd
version: 2.5.1 version: 2.5.2
home: https://github.com/argoproj/argo-helm home: https://github.com/argoproj/argo-helm
icon: https://raw.githubusercontent.com/argoproj/argo/master/docs/assets/argo.png icon: https://raw.githubusercontent.com/argoproj/argo/master/docs/assets/argo.png
keywords: keywords:

View file

@ -121,3 +121,6 @@ spec:
volumes: volumes:
{{- toYaml .Values.controller.volumes | nindent 8 }} {{- toYaml .Values.controller.volumes | nindent 8 }}
{{- end }} {{- end }}
{{- if .Values.controller.priorityClassName }}
priorityClassName: {{ .Values.controller.priorityClassName }}
{{- end }}

View file

@ -152,3 +152,6 @@ spec:
initContainers: initContainers:
{{- toYaml .Values.repoServer.initContainers | nindent 6 }} {{- toYaml .Values.repoServer.initContainers | nindent 6 }}
{{- end }} {{- end }}
{{- if .Values.repoServer.priorityClassName }}
priorityClassName: {{ .Values.repoServer.priorityClassName }}
{{- end }}

View file

@ -151,3 +151,6 @@ spec:
name: argocd-tls-certs-cm name: argocd-tls-certs-cm
name: tls-certs name: tls-certs
{{- end }} {{- end }}
{{- if .Values.server.priorityClassName }}
priorityClassName: {{ .Values.server.priorityClassName }}
{{- end }}

View file

@ -103,4 +103,7 @@ spec:
volumes: volumes:
{{- toYaml .Values.dex.volumes | nindent 8}} {{- toYaml .Values.dex.volumes | nindent 8}}
{{- end }} {{- end }}
{{- if .Values.dex.priorityClassName }}
priorityClassName: {{ .Values.dex.priorityClassName }}
{{- end }}
{{- end }} {{- end }}

View file

@ -85,4 +85,7 @@ spec:
volumes: volumes:
{{- toYaml .Values.redis.volumes | nindent 8}} {{- toYaml .Values.redis.volumes | nindent 8}}
{{- end }} {{- end }}
{{- if .Values.redis.priorityClassName }}
priorityClassName: {{ .Values.redis.priorityClassName }}
{{- end }}
{{- end }} {{- end }}

View file

@ -2,7 +2,7 @@ apiVersion: v1
appVersion: "0.8.0" appVersion: "0.8.0"
description: A Helm chart for Argo Rollouts description: A Helm chart for Argo Rollouts
name: argo-rollouts name: argo-rollouts
version: 0.3.0 version: 0.3.1
icon: https://raw.githubusercontent.com/argoproj/argo/master/argo.png icon: https://raw.githubusercontent.com/argoproj/argo/master/argo.png
home: https://github.com/argoproj/argo-helm home: https://github.com/argoproj/argo-helm
maintainers: maintainers:

View file

@ -38,6 +38,8 @@ spec:
volumeMounts: volumeMounts:
- name: tmp - name: tmp
mountPath: /tmp mountPath: /tmp
resources:
{{- toYaml .Values.controller.resources | nindent 10 }}
volumes: volumes:
- name: tmp - name: tmp
emptyDir: {} emptyDir: {}

View file

@ -10,6 +10,15 @@ controller:
tag: v0.8.0 tag: v0.8.0
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
resources: {}
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 50m
# memory: 64Mi
serviceAccount: serviceAccount:
name: argo-rollouts name: argo-rollouts

View file

@ -3,7 +3,7 @@ appVersion: 0.7.0
description: A Helm chart for ArgoCD notifications, an add-on to ArgoCD. description: A Helm chart for ArgoCD notifications, an add-on to ArgoCD.
name: argocd-notifications name: argocd-notifications
type: application type: application
version: 1.0.5 version: 1.0.7
home: https://github.com/argoproj/argo-helm home: https://github.com/argoproj/argo-helm
icon: https://raw.githubusercontent.com/argoproj/argo/master/docs/assets/argo.png icon: https://raw.githubusercontent.com/argoproj/argo/master/docs/assets/argo.png
keywords: keywords:

View file

@ -87,7 +87,7 @@ Create the name of the bot service account to use
*/}} */}}
{{- define "argocd-notifications.bots.slack.serviceAccountName" -}} {{- define "argocd-notifications.bots.slack.serviceAccountName" -}}
{{- if .Values.bots.slack.serviceAccount.create -}} {{- if .Values.bots.slack.serviceAccount.create -}}
{{ default (include "argocd-notifications.fullname" .) .Values.bots.slack.serviceAccount.name }} {{ default (printf "%s-bot" (include "argocd-notifications.fullname" .)) .Values.bots.slack.serviceAccount.name }}
{{- else -}} {{- else -}}
{{ default "default" .Values.bots.slack.serviceAccount.name }} {{ default "default" .Values.bots.slack.serviceAccount.name }}
{{- end -}} {{- end -}}

View file

@ -20,7 +20,7 @@ spec:
imagePullSecrets: imagePullSecrets:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
{{- end }} {{- end }}
serviceAccountName: {{ include "argocd-notifications.serviceAccountName" . }}-bot serviceAccountName: {{ include "argocd-notifications.bots.slack.serviceAccountName" . }}
containers: containers:
- name: {{ include "argocd-notifications.name" . }}-bot - name: {{ include "argocd-notifications.name" . }}-bot
image: "{{ .Values.bots.slack.image.repository }}:{{ .Values.bots.slack.image.tag }}" image: "{{ .Values.bots.slack.image.repository }}:{{ .Values.bots.slack.image.tag }}"

View file

@ -15,4 +15,13 @@ rules:
- watch - watch
- update - update
- patch - patch
- apiGroups:
- ""
resources:
- secrets
- configmaps
verbs:
- get
- list
- watch
{{ end }} {{ end }}

View file

@ -1,4 +1,4 @@
{{ if and .Values.bots.slack.enabled .Values.secret.create }} {{- if .Values.bots.slack.serviceAccount.create }}
apiVersion: v1 apiVersion: v1
kind: ServiceAccount kind: ServiceAccount
metadata: metadata:

View file

@ -27,4 +27,13 @@ stringData:
{{- $v | toYaml | nindent 8 }} {{- $v | toYaml | nindent 8 }}
{{- end }} {{- end }}
{{- end }} {{- end }}
{{- if .Values.secret.notifiers.email.enabled }}
email:
host: {{ .Values.secret.notifiers.email.host | quote }}
port: {{ .Values.secret.notifiers.email.port }}
insecure_skip_verify: {{ .Values.secret.notifiers.email.insecure_skip_verify }}
username: {{ .Values.secret.notifiers.email.username | quote }}
password: {{ .Values.secret.notifiers.email.password | quote }}
from: {{ .Values.secret.notifiers.email.from | quote }}
{{- end }}
{{ end }} {{ end }}

View file

@ -1,6 +1,8 @@
{{- if .Values.serviceAccount.create }}
apiVersion: v1 apiVersion: v1
kind: ServiceAccount kind: ServiceAccount
metadata: metadata:
name: {{ include "argocd-notifications.serviceAccountName" . }} name: {{ include "argocd-notifications.serviceAccountName" . }}
labels: labels:
{{- include "argocd-notifications.labels" . | nindent 4 }} {{- include "argocd-notifications.labels" . | nindent 4 }}
{{- end }}

View file

@ -69,6 +69,24 @@ secret:
# username: username # username: username
# password: mypassword # password: mypassword
email:
# For more information: https://argoproj-labs.github.io/argocd-notifications/services/overview/
# Specifies whether email notifier should be configured
enabled: false
# SMTP endpoint
host:
# SMTP port
port:
# enable/disable check on TLS certificate
insecure_skip_verify:
# SMTP username
username:
# SMTP password
password:
# email address in from field
from:
resources: {} resources: {}
# limits: # limits:
# cpu: 100m # cpu: 100m