UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit b8a454bb authored by joshwolf's avatar joshwolf
Browse files

Merge branch 'logging-istio' into 'release-1.1'

istio in logging

See merge request platform-one/big-bang/bigbang!234
parents a0de0939 8064be31
No related branches found
No related tags found
2 merge requests!268release 1.1.1,!234istio in logging
{{- if or .Values.logging.enabled .Values.clusterAuditor.enabled }}
{{- /* Default to istio being turned on, but disable if user sets istio to disable in the custom passthrough values.
We have to do it this way because ownership of "istio.enabled" is owned by the chart but also BigBang. Sourcing values from the passthrough values also means
we get to simplify the api space of BigBang just a little bit more.
*/ -}}
{{- $istio := .Values.logging.values.istio | default dict }}
{{- $istioInjection := "enabled" }}
{{- if and (hasKey $istio "enabled") (not $istio.enabled) }}
{{- $istioInjection = "disabled" }}
{{- end }}
---
apiVersion: v1
kind: Namespace
......@@ -8,6 +17,7 @@ metadata:
app.kubernetes.io/name: logging
app.kubernetes.io/component: "core"
{{- include "commonLabels" . | nindent 4}}
istio-injection: {{ $istioInjection }}
---
{{- if ( include "imagePullSecret" . ) }}
apiVersion: v1
......
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