Skip to content

Commit ca8ae45

Browse files
committed
fix: gateway annotations on metadata
1 parent d8eb2e8 commit ca8ae45

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ maintainers:
1010
1111
url: https://opencloud.eu
1212
type: application
13-
version: 0.1.0
13+
version: 0.1.1
1414
# renovate: datasource=docker depName=opencloudeu/opencloud-rolling
1515
appVersion: latest
1616
kubeVersion: ""

templates/gateway/gateway.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,17 @@ metadata:
66
namespace: {{ .Values.httpRoute.gateway.namespace | default .Release.Namespace }}
77
labels:
88
{{- include "opencloud.labels" . | nindent 4 }}
9+
{{- with .Values.httpRoute.gateway.annotations }}
10+
annotations:
11+
{{- toYaml . | nindent 4 }}
12+
{{- end }}
913
spec:
1014
gatewayClassName: {{ .Values.httpRoute.gateway.className }}
1115
infrastructure:
16+
{{- with .Values.httpRoute.gateway.infrastructure.annotations }}
1217
annotations:
13-
{{- with .Values.httpRoute.gateway.annotations }}
14-
{{- toYaml . | nindent 6 }}
15-
{{- end }}
18+
{{- toYaml . | nindent 4 }}
19+
{{- end }}
1620
listeners:
1721
- name: opencloud-https
1822
protocol: HTTPS

values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -519,3 +519,6 @@ httpRoute:
519519
namespace: ""
520520
# Gateway annotations
521521
annotations:
522+
# Gateway annotations
523+
infrastructure:
524+
annotations:

0 commit comments

Comments
 (0)