Skip to content

Commit 4a3cdc1

Browse files
committed
fix(opencloud): syntax of infrastructure
1 parent eea47d1 commit 4a3cdc1

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

templates/gateway/gateway.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,10 @@ metadata:
1212
{{- end }}
1313
spec:
1414
gatewayClassName: {{ .Values.httpRoute.gateway.className }}
15+
{{- with .Values.httpRoute.gateway.infrastructure }}
1516
infrastructure:
16-
{{- with .Values.httpRoute.gateway.infrastructure.annotations }}
17-
annotations:
1817
{{- toYaml . | nindent 4 }}
19-
{{- end }}
18+
{{- end }}
2019
listeners:
2120
- name: opencloud-https
2221
protocol: HTTPS

values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,4 +521,4 @@ httpRoute:
521521
annotations:
522522
# Gateway annotations
523523
infrastructure:
524-
annotations:
524+
annotations: {}

0 commit comments

Comments
 (0)