Skip to content

Commit 0028550

Browse files
authored
Merge pull request #87 from lookcrabs/patch-1
Expose annotations for service
2 parents 4907fb4 + c11734f commit 0028550

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

deploy/k8s/chart/templates/service.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ metadata:
44
labels:
55
{{- include "cortex-tenant.labels" . | nindent 4 }}
66
name: {{ include "cortex-tenant.fullname" . }}
7+
annotations:
8+
{{- toYaml .Values.service.annotations | nindent 4 }}
79
spec:
810
type: {{ .Values.service.type }}
911
ports:

deploy/k8s/chart/values.schema.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,12 @@
6464
"LoadBalancer"
6565
]
6666
},
67+
68+
"annotations": {
69+
"type": "object",
70+
"title": "Annotations",
71+
"description": "Annotations for the service"
72+
},
6773
"port": {
6874
"type": "integer",
6975
"title": "Port",

deploy/k8s/chart/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ image:
1717
# - myRegistryKeySecretName
1818

1919
service:
20+
annotations: {}
2021
# -- The type of service
2122
type: ClusterIP
2223
# -- The port on which the service listens for traffic

0 commit comments

Comments
 (0)