Skip to content

Commit

Permalink
feat: Support for service annotations in Helm (#903)
Browse files Browse the repository at this point in the history
Closes #902
  • Loading branch information
JoeKer1 authored Oct 2, 2024
1 parent 0b729bf commit 2081b44
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/planka/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.2.8
version: 0.2.9

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "1.22.0"
appVersion: "1.23.0"

dependencies:
- alias: postgresql
Expand Down
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 2081b44

Please sign in to comment.