* Add icon and signingSecret support * Fix typo * Add grafana support * Fix trailing spaces * Fix trailing spaces 2 * Fix grafana comments * Add bot manifests * Bump version * No new line character * Values.yaml new line character * Add comments * Add slack.enabled flag * Move slack bot to bots/slack folder Co-authored-by: sergeyshaykhullin <sergeyshaykhullin@gmail.com> Co-authored-by: Sergey Shaykhullin <46970457+sergeyshaykhullin@users.noreply.github.com>
43 lines
1.4 KiB
YAML
43 lines
1.4 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: {{ include "argocd-notifications.name" . }}-controller
|
|
labels:
|
|
{{- include "argocd-notifications.labels" . | nindent 4 }}
|
|
spec:
|
|
strategy:
|
|
{{- .Values.updateStrategy | toYaml | nindent 4 }}
|
|
selector:
|
|
matchLabels:
|
|
{{- include "argocd-notifications.selectorLabels" . | nindent 6 }}
|
|
template:
|
|
metadata:
|
|
labels:
|
|
{{- include "argocd-notifications.selectorLabels" . | nindent 8 }}
|
|
spec:
|
|
{{- with .Values.imagePullSecrets }}
|
|
imagePullSecrets:
|
|
{{- toYaml . | nindent 8 }}
|
|
{{- end }}
|
|
serviceAccountName: {{ include "argocd-notifications.serviceAccountName" . }}
|
|
containers:
|
|
- name: {{ include "argocd-notifications.name" . }}-controller
|
|
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
|
resources:
|
|
{{- toYaml .Values.resources | nindent 12 }}
|
|
command:
|
|
- /app/argocd-notifications
|
|
- controller
|
|
{{- with .Values.nodeSelector }}
|
|
nodeSelector:
|
|
{{- toYaml . | nindent 8 }}
|
|
{{- end }}
|
|
{{- with .Values.affinity }}
|
|
affinity:
|
|
{{- toYaml . | nindent 8 }}
|
|
{{- end }}
|
|
{{- with .Values.tolerations }}
|
|
tolerations:
|
|
{{- toYaml . | nindent 8 }}
|
|
{{- end }}
|