docs(argocd-notifications): Use helm-docs (#1015)

* docs(argocd-notifications): Use helm-docs

Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>

* Use chart appVersion as default image tag

Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
This commit is contained in:
Marco Kilchhofer 2021-11-12 10:25:07 +01:00 committed by GitHub
parent 9f2d1e5d30
commit 80eeb61a05
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 204 additions and 43 deletions

View file

@ -23,7 +23,7 @@ spec:
serviceAccountName: {{ include "argocd-notifications.bots.slack.serviceAccountName" . }}
containers:
- name: {{ include "argocd-notifications.name" . }}-bot
image: "{{ .Values.bots.slack.image.repository }}:{{ .Values.bots.slack.image.tag }}"
image: "{{ .Values.bots.slack.image.repository }}:{{ default .Chart.AppVersion .Values.bots.slack.image.tag }}"
imagePullPolicy: {{ .Values.bots.slack.image.pullPolicy }}
resources:
{{- toYaml .Values.bots.slack.resources | nindent 12 }}