Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9696451
D8363.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
451 B
Subscribers
None
D8363.diff
View Options
diff --git a/swh/templates/graphql/ingress.yaml b/swh/templates/graphql/ingress.yaml
--- a/swh/templates/graphql/ingress.yaml
+++ b/swh/templates/graphql/ingress.yaml
@@ -1,5 +1,4 @@
-{{ if .Values.graphql.enabled -}}
-{{ if .Values.graphql.ingress.enabled -}}
+{{ if and .Values.graphql.enabled .Values.graphql.ingress.enabled -}}
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
@@ -26,4 +25,3 @@
{{- end }}
{{ end }}
-{{ end }}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Aug 17, 8:05 PM (1 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3220179
Attached To
D8363: staging/graphql/ingress: Fix double if instruction
Event Timeline
Log In to Comment