Skip to content

Commit 2ac42ad

Browse files
authored
Merge branch 'main' into feat/notify_push
Signed-off-by: Jesse Hitch <jessebot@linux.com>
2 parents 116ac4d + ddf49e9 commit 2ac42ad

3 files changed

Lines changed: 10 additions & 2 deletions

File tree

charts/nextcloud/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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` |

charts/nextcloud/templates/service.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ apiVersion: v1
33
kind: Service
44
metadata:
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" . }}
@@ -17,7 +21,7 @@ spec:
1721
{{- end }}
1822
{{- end }}
1923
{{- with .Values.service.ipFamilies }}
20-
ipFamilies:
24+
ipFamilies:
2125
{{- toYaml . | nindent 4 }}
2226
{{- end }}
2327
{{- with .Values.service.ipFamilyPolicy }}
@@ -34,4 +38,4 @@ spec:
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

charts/nextcloud/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff 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/

0 commit comments

Comments
 (0)