Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
stackspin
nextcloud
Commits
ea8d0f48
Commit
ea8d0f48
authored
Nov 03, 2021
by
Arie Peterson
Browse files
Allow setting more kubernetes labels and annotations
parent
6dcb1b11
Changes
4
Hide whitespace changes
Inline
Side-by-side
CHANGELOG.md
View file @
ea8d0f48
## [0.5.2] - 2021-11-03
*
Allow setting custom Kubernetes labels and annotations on onlyoffice deployment
and pod.
## [0.5.1] - 2021-11-03
*
Fix mistakes in sociallogin config
...
...
Chart.yaml
View file @
ea8d0f48
...
...
@@ -3,7 +3,7 @@ apiVersion: v2
description
:
|
A helm chart for installing NextCloud and setting up ONLYOFFICE integration
name
:
nextcloud-onlyoffice
version
:
0.5.
1
version
:
0.5.
2
appVersion
:
NC-20.0.11-OO-6.2.2.21
dependencies
:
# https://artifacthub.io/packages/helm/nextcloud/nextcloud
...
...
templates/onlyoffice-deployment.yaml
View file @
ea8d0f48
...
...
@@ -7,6 +7,9 @@ metadata:
helm.sh/chart
:
{{
include "onlyoffice-documentserver.chart" .
}}
app.kubernetes.io/instance
:
{{
.Release.Name
}}
app.kubernetes.io/managed-by
:
{{
.Release.Service
}}
{{
- if .Values.onlyoffice.deploymentLabels
}}
{{
- toYaml .Values.onlyoffice.deploymentLabels | nindent 4
}}
{{
- end
}}
spec
:
replicas
:
{{
.Values.onlyoffice.replicaCount
}}
strategy
:
...
...
@@ -20,6 +23,10 @@ spec:
labels
:
app.kubernetes.io/name
:
{{
include "onlyoffice-documentserver.name" .
}}
app.kubernetes.io/instance
:
{{
.Release.Name
}}
{{
- if .Values.onlyoffice.podLabels
}}
{{
- toYaml .Values.onlyoffice.podLabels | nindent 8
}}
{{
- end
}}
annotations
:
{{
toYaml .Values.onlyoffice.podAnnotations | nindent 8
}}
spec
:
containers
:
-
name
:
{{
.Chart.Name
}}
...
...
values.yaml
View file @
ea8d0f48
...
...
@@ -124,6 +124,13 @@ onlyoffice:
# cpu: 100m
# memory: 128Mi
# Custom labels to add to the onlyoffice documentserver deployment.
deploymentLabels
:
{}
# Custom labels to add to the onlyoffice documentserver pod.
podLabels
:
{}
# Custom annotations to add to the onlyoffice documentserver pod.
podAnnotations
:
{}
nodeSelector
:
{}
tolerations
:
[]
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment