Skip to content
This repository has been archived by the owner on Feb 25, 2023. It is now read-only.

kowl volume values: from strings to arrays #33

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ helm install -f values.yaml kowl cloudhut/kowl
| `nodeSelector` | Node selector used in deployment | `{}` |
| `tolerations` | Tolerations for tainted nodes | `[]` |
| `affinity` | Pod (anti)affinities | `{}` |
| `extraVolumes` | Add additional volumes, e. g. for tls keys | `""` |
| `extraVolumeMounts` | Add additional volumes mounts, e. g. for tls keys | `""` |
| `extraVolumes` | Add additional volumes, e. g. for tls keys | `[]` |
| `extraVolumeMounts` | Add additional volumes mounts, e. g. for tls keys | `[]` |
| `extraEnv` | Additional environment variables for kowl | `""` |
| `extraEnvFrom` | Additional environment variables for kowl mapped from Secret or ConfigMap | `""` |
| `extraContainers` | Add additional containers, e. g. for oauth2-proxy | `{}` |
Expand Down Expand Up @@ -88,8 +88,6 @@ The tpl function allows us to pass string values from values.yaml through the te

* extraEnv
* extraEnvFrom
* extraVolumes
* extraVolumeMounts

### Kowl Config / Mounted secrets

Expand Down
4 changes: 2 additions & 2 deletions kowl/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ spec:
secret:
secretName: {{ include "kowl.secretName" . }}
{{- with .Values.extraVolumes }}
{{- tpl . $ | nindent 8 }}
{{- toYaml . | nindent 8 }}
{{- end }}
containers:
- name: {{ .Chart.Name }}
Expand Down Expand Up @@ -67,7 +67,7 @@ spec:
mountPath: /etc/kowl/secrets
readOnly: true
{{- with .Values.extraVolumeMounts }}
{{- tpl . $ | nindent 12 }}
{{- toYaml . | nindent 12 }}
{{- end }}
ports:
- name: http
Expand Down