Skip to content

Commit ca3cedf

Browse files
committedDec 8, 2023
Added service annotations to default
1 parent 0e02c36 commit ca3cedf

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed
 

‎charts/default/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 0.1.0
18+
version: 0.2.0
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to

‎charts/default/templates/service.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ metadata:
44
name: {{ include "default.fullname" . }}
55
labels:
66
{{- include "default.labels" . | nindent 4 }}
7+
{{- with .Values.service.annotations }}
8+
annotations:
9+
{{- toYaml . | nindent 4 }}
10+
{{- end }}
711
spec:
812
type: {{ .Values.service.type }}
913
ports:

‎charts/default/values.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ securityContext: {}
3737
# runAsUser: 1000
3838

3939
service:
40+
annotations: {}
4041
type: ClusterIP
4142
port: 80
4243

0 commit comments

Comments
 (0)
Please sign in to comment.