Skip to content

Commit

Permalink
backup + plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
fekad committed Feb 8, 2024
1 parent 9c2c2ab commit 5d55256
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/indico/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v2
version: 0.1.5
version: 0.1.6
name: indico
type: application
description: Indico from CERN
Expand Down
6 changes: 6 additions & 0 deletions charts/indico/templates/app/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ spec:
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
volumes:
{{- with .Values.volumes }}
{{- toYaml . | nindent 8 }}
{{- end }}
- name: config
configMap:
name: "{{ .Release.Name }}-config"
Expand All @@ -44,6 +47,9 @@ spec:
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
volumeMounts:
{{- with .Values.volumeMounts }}
{{- toYaml . | nindent 12 }}
{{- end }}
- name: config
mountPath: /opt/indico/etc/indico.conf
subPath: indico.conf
Expand Down
2 changes: 2 additions & 0 deletions charts/indico/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ data:
STORAGE_BACKENDS = { 'default': 'fs:/opt/indico/archive' }
ATTACHMENT_STORAGE = "default"
PLUGINS = ['themes_fairmat', 'prometheus', 'previewer_jupyter', 'previewer_code']
# Email settings
SMTP_SERVER = ({{ .Values.indico.email.smtp.server | quote }}, {{ .Values.indico.email.smtp.port }})
SMTP_USE_TLS = {{ .Values.indico.email.smtp.tls }}
Expand Down
13 changes: 13 additions & 0 deletions charts/indico/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,19 @@ resources: {}
# cpu: 100m
# memory: 128Mi

# Additional volumes on the output Deployment definition.
volumes: []
# - name: foo
# secret:
# secretName: mysecret
# optional: false

# Additional volumeMounts on the output Deployment definition.
volumeMounts: []
# - name: foo
# mountPath: "/etc/foo"
# readOnly: true

nodeSelector: {}

tolerations: []
Expand Down

0 comments on commit 5d55256

Please sign in to comment.