Skip to content

Commit 775caf4

Browse files
committed
adding annotations support for service
1 parent 0a2ef14 commit 775caf4

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

charts/tibiadata-api-go/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ type: application
2424
# This is the chart version. This version number should be incremented each time you make changes
2525
# to the chart and its templates, including the app version.
2626
# Versions are expected to follow Semantic Versioning (https://semver.org/)
27-
version: 0.1.0
27+
version: 0.1.1
2828

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

charts/tibiadata-api-go/templates/service.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ kind: Service
33
metadata:
44
name: {{ include "tibiadata-api-go.fullname" . }}
55
labels: {{- include "tibiadata-api-go.labels" . | nindent 4 }}
6+
{{- with .Values.service.annotations }}
7+
annotations:
8+
{{- toYaml . | nindent 4 }}
9+
{{- end }}
610
spec:
711
type: {{ .Values.service.type }}
812
ports:

charts/tibiadata-api-go/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ securityContext:
3636
service:
3737
type: ClusterIP
3838
port: 80
39+
annotations: {}
3940

4041
ingress:
4142
enabled: false

0 commit comments

Comments
 (0)