Skip to content

Commit

Permalink
feat(chart): Support Service Annotations
Browse files Browse the repository at this point in the history
Support service annotations which can be helpful when running planka in
a cloud provider
  • Loading branch information
JOE-PC\JoeKe authored and JoeKer1 committed Oct 1, 2024
1 parent 0b729bf commit 96943b9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions charts/planka/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ metadata:
name: {{ include "planka.fullname" . }}
labels:
{{- include "planka.labels" . | nindent 4 }}
{{- with .Values.service.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
type: {{ .Values.service.type }}
ports:
Expand Down
1 change: 1 addition & 0 deletions charts/planka/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ securityContext: {}
# runAsUser: 1000

service:
annotations: {}
type: ClusterIP
port: 1337
## @param service.containerPort Planka HTTP container port
Expand Down

0 comments on commit 96943b9

Please sign in to comment.