Skip to content
Snippets Groups Projects
Commit 5acdea88 authored by OZGCloud's avatar OZGCloud
Browse files

OZG-6654 clean up

parent 939c2526
No related branches found
No related tags found
No related merge requests found
...@@ -65,7 +65,3 @@ app.kubernetes.io/namespace: {{ include "app.namespace" . }} ...@@ -65,7 +65,3 @@ app.kubernetes.io/namespace: {{ include "app.namespace" . }}
{{- define "app.ssoServerUrl" -}} {{- define "app.ssoServerUrl" -}}
{{- required "sso.serverUrl muss angegeben sein" (.Values.sso).serverUrl -}} {{- required "sso.serverUrl muss angegeben sein" (.Values.sso).serverUrl -}}
{{- end -}} {{- end -}}
{{- define "app.serviceAccountName" -}}
{{ printf "%s" ( (.Values.serviceAccount).name | default "bayernid-proxy-service-account" ) }}
{{- end -}}
\ No newline at end of file
...@@ -126,6 +126,24 @@ tests: ...@@ -126,6 +126,24 @@ tests:
- podSelector: - podSelector:
matchLabels: matchLabels:
component: client2 component: client2
- it: set ingress monitoring namespace rule
set:
networkPolicy:
ssoPublicIp: 51.89.117.53/32
dnsServerNamespace: test-namespace-dns
monitoringNamespace: monitoring
asserts:
- contains:
path: spec.ingress
content:
from:
- namespaceSelector:
matchLabels:
name: "monitoring"
ports:
- protocol: TCP
port: 8081
- it: add ingress rule by values global - it: add ingress rule by values global
set: set:
networkPolicy: networkPolicy:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment