UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit 2b9ef163 authored by Cassie Souza's avatar Cassie Souza
Browse files

Specifc networkpolicy update if iam profile used

parent 1e181688
No related branches found
No related tags found
1 merge request!1028833-gitlab-object-storage-use_iam_role
Pipeline #546776 passed with warnings
......@@ -23,11 +23,7 @@ monitoring:
enabled: {{ .Values.monitoring.enabled }}
networkPolicies:
{{- if ne .Values.addons.gitlab.objectStorage.iamProfile "" }}
enabled: false
{{- else }}
enabled: true
{{- end }}
enabled: {{ .Values.networkPolicies.enabled }}
ingressLabels:
{{- $gateway := default "public" .Values.addons.gitlab.ingress.gateway }}
{{- $default := dict "app" (dig "gateways" $gateway "ingressGateway" nil .Values.istio) "istio" nil }}
......@@ -231,4 +227,8 @@ global:
{{- end }}
{{- end }}
{{- if ne .Values.addons.gitlab.objectStorage.iamProfile "" }}
use_iam_profile: true
{{- end }}
{{- end -}}
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