UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit e191b2b3 authored by Micah Nagel's avatar Micah Nagel :moneybag:
Browse files

Mattermost: Enable Istio Injection

parent 12a857ab
No related branches found
No related tags found
1 merge request!999Mattermost: Enable Istio Injection
......@@ -7,6 +7,6 @@ metadata:
app.kubernetes.io/name: mattermost
app.kubernetes.io/component: "collaboration-tools"
{{- include "commonLabels" . | nindent 4}}
istio-injection: disabled
istio-injection: {{ dig "istio" "injection" "enabled" .Values.addons.mattermost }}
name: mattermost
{{- end }}
\ No newline at end of file
{{- end }}
......@@ -13,11 +13,21 @@ openshift: {{ .Values.openshift }}
image:
imagePullPolicy: {{ .Values.imagePullPolicy }}
{{ $istioInjection := (and .Values.istio.enabled (eq (dig "istio" "injection" "enabled" .Values.addons.mattermost) "enabled")) }}
istio:
enabled: {{ .Values.istio.enabled }}
chat:
gateways:
- istio-system/{{ default "public" .Values.addons.mattermost.ingress.gateway }}
injection: {{ ternary "enabled" "disabled" $istioInjection }}
{{- if $istioInjection }}
podAnnotations:
{{ include "istioAnnotation" . }}
updateJob:
disabled: true
{{- end }}
monitoring:
enabled: {{ .Values.monitoring.enabled }}
......@@ -54,12 +64,19 @@ enterprise:
database:
secret: "mattermost-database-secret"
{{- else }}
postgresql:
image:
pullSecrets:
- private-registry
install: true
{{- if $istioInjection }}
primary:
podAnnotations:
{{ include "istioAnnotation" $ }}
readReplicas:
podAnnotations:
{{ include "istioAnnotation" $ }}
{{- end }}
{{- end }}
{{- end }}
......@@ -79,6 +96,10 @@ minio:
tenants:
metrics:
enabled: {{ $.Values.monitoring.enabled }}
{{- if $istioInjection }}
annotations:
{{ include "istioAnnotation" $ }}
{{- end }}
{{- end }}
{{- end }}
......
......@@ -1276,7 +1276,7 @@ addons:
git:
repo: https://repo1.dso.mil/platform-one/big-bang/apps/collaboration-tools/mattermost.git
path: "./chart"
tag: "7.5.1-bb.2"
tag: "7.5.1-bb.3"
# -- Flux reconciliation overrides specifically for the Mattermost Package
flux: {}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment