Skip to content

Commit

Permalink
Merge pull request #33 from dominikkaminski/feat/add-extra-mounts
Browse files Browse the repository at this point in the history
feat(openproject): Add extraVolumes and extraVolumeMounts option
  • Loading branch information
gsautner authored Jun 25, 2024
2 parents f183324 + 5b2d05a commit 7ca9544
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/xwiki/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
description: XWiki is a free wiki software platform written in Java with a design emphasis on extensibility. XWiki is an enterprise wiki. It includes WYSIWYG editing, OpenDocument based document import/export, semantic annotations and tagging, and advanced permissions management.
name: xwiki
version: 1.3.1-Beta.0
version: 1.3.1-Beta.1
type: application
keywords:
- xwiki
Expand Down
6 changes: 6 additions & 0 deletions charts/xwiki/templates/xwiki.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,9 @@ spec:
mountPath: /usr/local/xwiki/data
- name: configmaps
mountPath: /configmaps
{{- if .Values.extraVolumeMounts }}
{{- .Values.extraVolumeMounts | toYaml | nindent 12 }}
{{- end }}
{{- if .Values.securityContext.enabled }}
securityContext: {{- omit .Values.securityContext "enabled" | toYaml | nindent 8 }}
{{- end }}
Expand All @@ -183,6 +186,9 @@ spec:
{{- end }}
{{- end }}
volumes:
{{- if .Values.extraVolumes }}
{{- .Values.extraVolumes | toYaml | nindent 8 }}
{{- end }}
- name: configmaps
configMap:
name: {{ include "xwiki.initScripts" . }}
Expand Down
6 changes: 6 additions & 0 deletions charts/xwiki/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@ extraEnvVars: []
# - name: FOO
# value: "bar"

# Optionally specify an extra list of additional volumes.
extraVolumes: []

# Optionally specify an extra list of additional volumeMounts.
extraVolumeMounts: []

# Enable to choose witch kind of workload will be used: (true) StatefulSet or (false) for Deployment
workloadStateful: true

Expand Down

0 comments on commit 7ca9544

Please sign in to comment.