diff --git a/charts/mattermost-team-edition/Chart.yaml b/charts/mattermost-team-edition/Chart.yaml index b96177fb..5612cd6c 100644 --- a/charts/mattermost-team-edition/Chart.yaml +++ b/charts/mattermost-team-edition/Chart.yaml @@ -2,8 +2,8 @@ apiVersion: v2 description: Mattermost Team Edition server. type: application name: mattermost-team-edition -version: 6.6.34 -appVersion: 8.1.0 +version: 6.6.35 +appVersion: 8.1.1 keywords: - mattermost - communication diff --git a/charts/mattermost-team-edition/templates/tests/mattermost-test.yaml b/charts/mattermost-team-edition/templates/tests/mattermost-test.yaml index aa3c231c..bb8b85dd 100644 --- a/charts/mattermost-team-edition/templates/tests/mattermost-test.yaml +++ b/charts/mattermost-team-edition/templates/tests/mattermost-test.yaml @@ -1,7 +1,7 @@ apiVersion: v1 kind: Pod metadata: - name: "{{ include "mattermost-team-edition.fullname" . }}-test-{{ randAlphaNum 5 | lower }}" + name: "{{ include "mattermost-team-edition.fullname" . }}-test" labels: app.kubernetes.io/name: {{ include "mattermost-team-edition.name" . }} app.kubernetes.io/instance: {{ .Release.Name }} @@ -9,6 +9,9 @@ metadata: helm.sh/chart: {{ include "mattermost-team-edition.chart" . }} annotations: "helm.sh/hook": test-success + {{- with .Values.testJob.annotations }} + {{- . | toYaml | nindent 4 }} + {{- end }} spec: containers: - name: {{ .Release.Name }}-test diff --git a/charts/mattermost-team-edition/values.yaml b/charts/mattermost-team-edition/values.yaml index b16bb4e5..b4e0365c 100644 --- a/charts/mattermost-team-edition/values.yaml +++ b/charts/mattermost-team-edition/values.yaml @@ -247,3 +247,8 @@ readinessProbe: failureThreshold: 3 timeoutSeconds: 5 periodSeconds: 10 + +## Additional annotations for test job + +testJob: + annotations: {}