Skip to content

Commit 74873d5

Browse files
committed
Add annotations to aws-crossplabe hpa and pbd
1 parent 6eef1fa commit 74873d5

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

blueprints/aws-alb-crossplane/gatewayclassblueprint-aws-alb-crossplane.yaml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,9 @@ spec:
184184
namespace: {{ .Gateway.metadata.namespace }}
185185
{{ if .Values.tags }}
186186
annotations:
187-
{{- toYaml .Values.tags | nindent 4 }}
187+
{{ if .Values.tags }}
188+
{{ toYaml .Values.tags | nindent 4 }}
189+
{{ end }}
188190
{{ end }}
189191
spec:
190192
targetGroupARN: {{ (index .Resources.LBTargetGroup 0).status.atProvider.arn }}
@@ -354,6 +356,10 @@ spec:
354356
tv2.dk/gw: {{ .Gateway.metadata.namespace }}-{{ .Gateway.metadata.name }}
355357
name: gw-{{ .Gateway.metadata.namespace }}-{{ .Gateway.metadata.name }}
356358
namespace: {{ .Gateway.metadata.namespace }}
359+
annotations:
360+
{{ if .Values.tags }}
361+
{{ toYaml .Values.tags | nindent 4 }}
362+
{{ end }}
357363
spec:
358364
scaleTargetRef:
359365
apiVersion: apps/v1
@@ -386,6 +392,10 @@ spec:
386392
tv2.dk/gw: {{ .Gateway.metadata.namespace }}-{{ .Gateway.metadata.name }}
387393
name: gw-{{ .Gateway.metadata.namespace }}-{{ .Gateway.metadata.name }}
388394
namespace: {{ .Gateway.metadata.namespace }}
395+
annotations:
396+
{{ if .Values.tags }}
397+
{{ toYaml .Values.tags | nindent 4 }}
398+
{{ end }}
389399
spec:
390400
{{ if get .Values.pdb "minAvailable" }}
391401
minAvailable: {{ .Values.pdb.minAvailable }}

0 commit comments

Comments
 (0)