Skip to content

Commit 98634b0

Browse files
author
Romain Winieski
authored
CLD-704: add service annotations (#89)
* add service annotation
1 parent de3d564 commit 98634b0

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

charts/templates/service.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ metadata:
55
namespace: {{ .Values.namespace}}
66
labels:
77
{{- include "marklogic.labels" . | nindent 4 }}
8+
annotations: {{- toYaml .Values.service.annotations | nindent 4 }}
89
spec:
910
selector:
1011
{{- include "marklogic.selectorLabels" . | nindent 4 }}

charts/values.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,11 @@ extraContainerPorts: []
101101

102102
# Configure the Service to access Marklogic Clusters
103103
service:
104+
105+
## Service annotations
106+
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
107+
annotations: {}
108+
104109
type: ClusterIP
105110
ports:
106111
- protocol: TCP

0 commit comments

Comments
 (0)