|
@ -59,13 +59,17 @@ spec: |
|
|
{{- end }} |
|
|
{{- end }} |
|
|
{{- if .Values.discourse.enabled }} |
|
|
{{- if .Values.discourse.enabled }} |
|
|
- mountPath: /var/www/discourse/public/assets/ |
|
|
- mountPath: /var/www/discourse/public/assets/ |
|
|
name: {{ include "edemocracia.fullname" . }}-discourse-assets |
|
|
name: {{ include "edemocracia.fullname" . }}-discourse |
|
|
|
|
|
subPath: assets |
|
|
- mountPath: /var/www/discourse/public/javascripts/ |
|
|
- mountPath: /var/www/discourse/public/javascripts/ |
|
|
name: {{ include "edemocracia.fullname" . }}-discourse-js |
|
|
name: {{ include "edemocracia.fullname" . }}-discourse |
|
|
|
|
|
subPath: javascripts |
|
|
- mountPath: /var/www/discourse/public/images/ |
|
|
- mountPath: /var/www/discourse/public/images/ |
|
|
name: {{ include "edemocracia.fullname" . }}-discourse-img |
|
|
name: {{ include "edemocracia.fullname" . }}-discourse |
|
|
|
|
|
subPath: images |
|
|
- mountPath: /var/www/discourse/tmp/stylesheet-cache/ |
|
|
- mountPath: /var/www/discourse/tmp/stylesheet-cache/ |
|
|
name: {{ include "edemocracia.fullname" . }}-discourse-cache |
|
|
name: {{ include "edemocracia.fullname" . }}-discourse |
|
|
|
|
|
subPath: stylesheet-cache |
|
|
{{- end }} |
|
|
{{- end }} |
|
|
restartPolicy: Always |
|
|
restartPolicy: Always |
|
|
serviceAccountName: "" |
|
|
serviceAccountName: "" |
|
@ -84,18 +88,9 @@ spec: |
|
|
claimName: {{ include "edemocracia.fullname" . }}-audiencias |
|
|
claimName: {{ include "edemocracia.fullname" . }}-audiencias |
|
|
{{- end }} |
|
|
{{- end }} |
|
|
{{- if .Values.discourse.enabled }} |
|
|
{{- if .Values.discourse.enabled }} |
|
|
- name: {{ include "edemocracia.fullname" . }}-discourse-assets |
|
|
- name: {{ include "edemocracia.fullname" . }}-discourse |
|
|
persistentVolumeClaim: |
|
|
persistentVolumeClaim: |
|
|
claimName: {{ include "edemocracia.fullname" . }}-discourse-assets |
|
|
claimName: {{ include "edemocracia.fullname" . }}-discourse |
|
|
- name: {{ include "edemocracia.fullname" . }}-discourse-js |
|
|
|
|
|
persistentVolumeClaim: |
|
|
|
|
|
claimName: {{ include "edemocracia.fullname" . }}-discourse-js |
|
|
|
|
|
- name: {{ include "edemocracia.fullname" . }}-discourse-img |
|
|
|
|
|
persistentVolumeClaim: |
|
|
|
|
|
claimName: {{ include "edemocracia.fullname" . }}-discourse-img |
|
|
|
|
|
- name: {{ include "edemocracia.fullname" . }}-discourse-cache |
|
|
|
|
|
persistentVolumeClaim: |
|
|
|
|
|
claimName: {{ include "edemocracia.fullname" . }}-discourse-cache |
|
|
|
|
|
{{- end }} |
|
|
{{- end }} |
|
|
{{- with .Values.nodeSelector }} |
|
|
{{- with .Values.nodeSelector }} |
|
|
nodeSelector: |
|
|
nodeSelector: |
|
|