Skip to content

Commit 3fd34c0

Browse files
committed
Add annotations for service in helm chart to support lb annotations
1 parent f8e2fcd commit 3fd34c0

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

charts/pgcat/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ maintainers:
55
- name: PostgresML
66
77
appVersion: "1.3.0"
8-
version: 0.2.5
8+
version: 0.3.0

charts/pgcat/templates/service.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ metadata:
44
name: {{ include "pgcat.fullname" . }}
55
labels:
66
{{- include "pgcat.labels" . | nindent 4 }}
7+
{{- with .Values.service.annotations }}
8+
annotations:
9+
{{- toYaml . | nindent 4 }}
10+
{{- end }}
711
spec:
812
type: {{ .Values.service.type }}
913
ports:

charts/pgcat/values.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ containerSecurityContext: {}
8888
## @param service.type PgCat service type
8989
## @param service.port PgCat service port
9090
service:
91+
annotations: {}
9192
type: ClusterIP
9293
port: 6432
9394

0 commit comments

Comments
 (0)