From 2081b44874f2c63959b170f5d22129150a310c4b Mon Sep 17 00:00:00 2001 From: JoeKer1 Date: Wed, 2 Oct 2024 06:30:55 -0400 Subject: [PATCH] feat: Support for service annotations in Helm (#903) Closes #902 --- charts/planka/Chart.yaml | 4 ++-- charts/planka/templates/service.yaml | 4 ++++ charts/planka/values.yaml | 1 + 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/charts/planka/Chart.yaml b/charts/planka/Chart.yaml index 78a961514..1726fb8fc 100644 --- a/charts/planka/Chart.yaml +++ b/charts/planka/Chart.yaml @@ -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 diff --git a/charts/planka/templates/service.yaml b/charts/planka/templates/service.yaml index c7ef2e9d1..bc51f27a3 100644 --- a/charts/planka/templates/service.yaml +++ b/charts/planka/templates/service.yaml @@ -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: diff --git a/charts/planka/values.yaml b/charts/planka/values.yaml index b02c8be89..de9c1bd01 100644 --- a/charts/planka/values.yaml +++ b/charts/planka/values.yaml @@ -54,6 +54,7 @@ securityContext: {} # runAsUser: 1000 service: + annotations: {} type: ClusterIP port: 1337 ## @param service.containerPort Planka HTTP container port