chore(helm): add volumes and volumeMounts chart values (#4714)
This commit is contained in:
parent
b0852ac107
commit
8d420759f8
@ -104,6 +104,8 @@ The following table lists the configurable parameters of the Wiki.js chart and t
|
|||||||
| `affinity` | Affinity settings for wiki.js pod assignment | `{}` |
|
| `affinity` | Affinity settings for wiki.js pod assignment | `{}` |
|
||||||
| `schedulerName` | Name of an alternate scheduler for wiki.js pod | `nil` |
|
| `schedulerName` | Name of an alternate scheduler for wiki.js pod | `nil` |
|
||||||
| `tolerations` | Toleration labels for wiki.jsk pod assignment | `[]` |
|
| `tolerations` | Toleration labels for wiki.jsk pod assignment | `[]` |
|
||||||
|
| `volumeMounts` | Volume mounts for Wiki.js container | `[]` |
|
||||||
|
| `volumes` | Volumes for Wiki.js Pod | `[]` |
|
||||||
| `ingress.enabled` | Enable ingress controller resource | `false` |
|
| `ingress.enabled` | Enable ingress controller resource | `false` |
|
||||||
| `ingress.annotations` | Ingress annotations | `{}` |
|
| `ingress.annotations` | Ingress annotations | `{}` |
|
||||||
| `ingress.hosts` | List of ingress rules | `[{"host": "wiki.local", "paths": ["/"]}]` |
|
| `ingress.hosts` | List of ingress rules | `[{"host": "wiki.local", "paths": ["/"]}]` |
|
||||||
|
@ -63,6 +63,10 @@ spec:
|
|||||||
key: {{ template "wiki.postgresql.secretKey" . }}
|
key: {{ template "wiki.postgresql.secretKey" . }}
|
||||||
- name: HA_ACTIVE
|
- name: HA_ACTIVE
|
||||||
value: {{ .Values.replicaCount | int | le 2 | quote }}
|
value: {{ .Values.replicaCount | int | le 2 | quote }}
|
||||||
|
{{- with .Values.volumeMounts }}
|
||||||
|
volumeMounts:
|
||||||
|
{{- toYaml . | nindent 12 }}
|
||||||
|
{{- end }}
|
||||||
ports:
|
ports:
|
||||||
- name: http
|
- name: http
|
||||||
containerPort: 3000
|
containerPort: 3000
|
||||||
@ -85,3 +89,7 @@ spec:
|
|||||||
tolerations:
|
tolerations:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- with .Values.volumes }}
|
||||||
|
volumes:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
@ -85,6 +85,10 @@ tolerations: []
|
|||||||
|
|
||||||
affinity: {}
|
affinity: {}
|
||||||
|
|
||||||
|
volumeMounts: []
|
||||||
|
|
||||||
|
volumes: []
|
||||||
|
|
||||||
# This will allow us to install locales even without internet access using a initContainer & wikjs "sideloading"
|
# This will allow us to install locales even without internet access using a initContainer & wikjs "sideloading"
|
||||||
sideload:
|
sideload:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
Loading…
Reference in New Issue
Block a user