Skip to content
Snippets Groups Projects
Commit 752c060b authored by OZGCloud's avatar OZGCloud
Browse files

ozg-5634 disable ingress

parent ca272036
No related branches found
No related tags found
No related merge requests found
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
# unter der Lizenz sind dem Lizenztext zu entnehmen. # unter der Lizenz sind dem Lizenztext zu entnehmen.
# #
{{- if not (.Values.ingress).disabled }}
apiVersion: networking.k8s.io/v1 apiVersion: networking.k8s.io/v1
kind: Ingress kind: Ingress
metadata: metadata:
...@@ -63,3 +64,4 @@ spec: ...@@ -63,3 +64,4 @@ spec:
secretName: {{ .Values.ozgcloud.bezeichner }}-{{ .Release.Name }}-tls secretName: {{ .Values.ozgcloud.bezeichner }}-{{ .Release.Name }}-tls
{{- end }} {{- end }}
{{- end }} {{- end }}
{{- end }}
\ No newline at end of file
...@@ -70,3 +70,11 @@ tests: ...@@ -70,3 +70,11 @@ tests:
- equal: - equal:
path: metadata.annotations.hello path: metadata.annotations.hello
value: world value: world
- it: should disable ingress
set:
ingress:
disabled: true
asserts:
- hasDocuments:
count: 0
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment