UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit 8064be31 authored by Nick Nellis's avatar Nick Nellis Committed by joshwolf
Browse files

fix(logging): re-enable istio in logging namespace by default, source...

fix(logging): re-enable istio in logging namespace by default, source istio.enabled from passthrough values instead of adding more to the bigbang spec
parent a0de0939
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