From 73254495e285c988514fa0a4ae13c5fe529d16d6 Mon Sep 17 00:00:00 2001 From: Ruslan <97999957+mustdiechik@users.noreply.github.com> Date: Wed, 19 Jul 2023 12:54:20 +0300 Subject: [PATCH] Add extraDeploy to mattermost-team-edition (#409) To be able to add additional resources to the release. --- charts/mattermost-team-edition/templates/extra-deploy.yaml | 4 ++++ charts/mattermost-team-edition/values.yaml | 3 +++ 2 files changed, 7 insertions(+) create mode 100644 charts/mattermost-team-edition/templates/extra-deploy.yaml diff --git a/charts/mattermost-team-edition/templates/extra-deploy.yaml b/charts/mattermost-team-edition/templates/extra-deploy.yaml new file mode 100644 index 00000000..cb8b3c8a --- /dev/null +++ b/charts/mattermost-team-edition/templates/extra-deploy.yaml @@ -0,0 +1,4 @@ +{{- range .Values.extraDeploy }} +--- + {{- tpl ( . | toYaml) $ }} +{{- end }} diff --git a/charts/mattermost-team-edition/values.yaml b/charts/mattermost-team-edition/values.yaml index 1babe11f..7524e17a 100644 --- a/charts/mattermost-team-edition/values.yaml +++ b/charts/mattermost-team-edition/values.yaml @@ -195,6 +195,9 @@ extraPorts: [] # port: 8585 # protocol: TCP +# Array of extra objects to deploy with the release +extraDeploy: [] + ## Node selector ## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#nodeselector nodeSelector: {}