File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -165,6 +165,7 @@ The following table lists the configurable parameters of the nextcloud chart and
165165| ` cronjob.securityContext ` | Optional security context for cron jobs sidecar | ` nil ` |
166166| ` service.type ` | Kubernetes Service type | ` ClusterIP ` |
167167| ` service.loadBalancerIP ` | LoadBalancerIp for service type LoadBalancer | ` "" ` |
168+ | ` service.annotations ` | Annotations for service type | ` {} ` |
168169| ` service.nodePort ` | NodePort for service type NodePort | ` nil ` |
169170| ` service.ipFamilies ` | Set ipFamilies as in k8s service objects | ` nil ` |
170171| ` service.ipFamyPolicy ` | define IP protocol bindings as in k8s service objects | ` nil ` |
Original file line number Diff line number Diff line change @@ -3,6 +3,10 @@ apiVersion: v1
33kind : Service
44metadata :
55 name : {{ template "nextcloud.fullname" . }}
6+ {{- with .Values.service.annotations }}
7+ annotations :
8+ {{- toYaml . | nindent 4 }}
9+ {{- end }}
610 labels :
711 app.kubernetes.io/name : {{ include "nextcloud.name" . }}
812 helm.sh/chart : {{ include "nextcloud.chart" . }}
1721 {{- end }}
1822 {{- end }}
1923 {{- with .Values.service.ipFamilies }}
20- ipFamilies :
24+ ipFamilies :
2125 {{- toYaml . | nindent 4 }}
2226 {{- end }}
2327 {{- with .Values.service.ipFamilyPolicy }}
3438 selector :
3539 app.kubernetes.io/name : {{ include "nextcloud.name" . }}
3640 app.kubernetes.io/instance : {{ .Release.Name }}
37- app.kubernetes.io/component : app
41+ app.kubernetes.io/component : app
Original file line number Diff line number Diff line change @@ -415,6 +415,9 @@ service:
415415 port : 8080
416416 loadBalancerIP : " "
417417 nodePort : nil
418+ annotations : {}
419+ # # Insert your annotations such as below
420+ # test/test: pumuckel
418421
419422# # Enable persistence using Persistent Volume Claims
420423# # ref: http://kubernetes.io/docs/user-guide/persistent-volumes/
You can’t perform that action at this time.
0 commit comments