UNCLASSIFIED
Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Platform One
Big Bang
P
Packages
Security Tools
Anchore Enterprise
Commits
8ae6eef6
Commit
8ae6eef6
authored
Apr 02, 2021
by
bhearn7
Browse files
fix helm conditionals
parent
b16fc715
Pipeline
#208652
passed with stages
in 2 minutes and 24 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
2 deletions
+18
-2
chart/templates/bigbang/anchore-vs.yaml
chart/templates/bigbang/anchore-vs.yaml
+18
-2
No files found.
chart/templates/bigbang/anchore-vs.yaml
View file @
8ae6eef6
---
{{
- if and .Values.istio.enabled .Values.anchoreEnterpriseGlobal.enabled .Values.anchoreEnterpriseUi.enabled
}}
{{
- if and .Values.istio.enabled
.Values.istio.ui.enabled
.Values.anchoreEnterpriseGlobal.enabled .Values.anchoreEnterpriseUi.enabled
}}
apiVersion
:
networking.istio.io/v1beta1
kind
:
VirtualService
metadata
:
name
:
anchore-enterprise-ui-service
namespace
:
{{
.Release.Namespace
}}
{{
- if .Values.istio.ui.labels
}}
labels
:
{{
toYaml .Values.istio.ui.labels | indent 4
}}
{{
- end
}}
{{
- if .Values.istio.ui.annotations
}}
annotations
:
{{
toYaml .Values.istio.ui.annotations | indent 4
}}
{{
- end
}}
spec
:
gateways
:
{{
- range .Values.istio.ui.gateways
}}
...
...
@@ -25,12 +33,20 @@ spec:
host
:
{{
.Release.Name
}}
-anchore-engine-enterprise-ui
{{
- end
}}
---
{{
- if .Values.istio.enabled
}}
{{
- if
and
.Values.istio.enabled
.Values.istio.api.enabled
}}
apiVersion
:
networking.istio.io/v1beta1
kind
:
VirtualService
metadata
:
name
:
anchore-engine-api-service
namespace
:
{{
.Release.Namespace
}}
{{
- if .Values.istio.api.labels
}}
labels
:
{{
toYaml .Values.istio.api.labels | indent 4
}}
{{
- end
}}
{{
- if .Values.istio.api.annotations
}}
annotations
:
{{
toYaml .Values.istio.api.annotations | indent 4
}}
{{
- end
}}
spec
:
gateways
:
{{
- range .Values.istio.api.gateways
}}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment