diff --git a/charts/trino/Chart.yaml b/charts/trino/Chart.yaml index 0f1b59a7..6a453edf 100644 --- a/charts/trino/Chart.yaml +++ b/charts/trino/Chart.yaml @@ -15,6 +15,7 @@ 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.18.0 # This is the version number of the application being deployed. This version number should be diff --git a/charts/trino/README.md b/charts/trino/README.md index 57019345..19443e38 100644 --- a/charts/trino/README.md +++ b/charts/trino/README.md @@ -51,6 +51,7 @@ The following table lists the configurable parameters of the Trino chart and the | `securityContext.runAsGroup` | | `1000` | | `shareProcessNamespace.coordinator` | | `false` | | `shareProcessNamespace.worker` | | `false` | +| `service.annotations` | | `{}` | | `service.type` | | `"ClusterIP"` | | `service.port` | | `8080` | | `auth` | | `{}` | diff --git a/charts/trino/templates/service.yaml b/charts/trino/templates/service.yaml index cfb0b2f3..9510b14d 100644 --- a/charts/trino/templates/service.yaml +++ b/charts/trino/templates/service.yaml @@ -7,6 +7,10 @@ metadata: chart: {{ template "trino.chart" . }} release: {{ .Release.Name }} heritage: {{ .Release.Service }} + {{- with .Values.service.annotations }} + annotations: + {{- toYaml . | nindent 4 }} + {{- end }} spec: type: {{ .Values.service.type }} ports: diff --git a/charts/trino/values.yaml b/charts/trino/values.yaml index c422d495..26ecf646 100644 --- a/charts/trino/values.yaml +++ b/charts/trino/values.yaml @@ -225,6 +225,7 @@ shareProcessNamespace: service: type: ClusterIP port: 8080 + annotations: {} auth: {} # Set username and password