Skip to content

Commit 81fa35d

Browse files
authored
add custom annotations block to service (#52)
1 parent 9cb0597 commit 81fa35d

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

charts/localstack/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ annotations:
22
category: Infrastructure
33
apiVersion: v2
44
appVersion: latest
5-
version: 0.4.0
5+
version: 0.4.1
66
name: localstack
77
description: LocalStack - a fully functional local AWS cloud stack
88
type: application

charts/localstack/templates/service.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ metadata:
77
{{- include "localstack.labels" . | nindent 4 }}
88
annotations:
99
{{- include "localstack.annotations" . | nindent 4 }}
10+
{{- with .Values.service.annotations }}
11+
{{- tpl (toYaml .) $ | nindent 4 }}
12+
{{- end }}
1013
spec:
1114
type: {{ .Values.service.type }}
1215
{{- if or (eq .Values.service.type "LoadBalancer") (eq .Values.service.type "NodePort") }}

0 commit comments

Comments
 (0)