UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit 8d2caf9e authored by Michael McLeroy's avatar Michael McLeroy
Browse files

fix(istio-controlplane): helm works with no tls

parent b98983b1
No related branches found
No related tags found
1 merge request!763fix(istio-controlplane): helm works with no tls
Pipeline #429740 passed
......@@ -6,7 +6,7 @@ For backwards compatibility, get key/cert from .Values.istio.ingress
{{- $default := .Values.istio.ingress | default dict -}}
{{- range $name, $values := .Values.istio.gateways }}
{{- if or (and $values.tls.cert $values.tls.key) (and $default.cert $default.key) }}
{{- if or (and (dig "tls" "cert" "" $values) (dig "tls" "key" "" $values)) (and $default.cert $default.key) }}
apiVersion: v1
kind: Secret
metadata:
......
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