diff --git a/charts/skooner/Chart.yaml b/charts/skooner/Chart.yaml index a1922d64..3eca5298 100644 --- a/charts/skooner/Chart.yaml +++ b/charts/skooner/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: skooner description: Simple Kubernetes real-time dashboard and management. type: application -version: 0.0.10 +version: 0.0.11 appVersion: "stable" home: https://github.com/christianhuth/helm-charts icon: https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRu8eQrFBosk7yHTiDEwjnVcMRyDD5uIaNXhlZ1m0yiC4H8RP1j0PlBPtgtv0bdH0JwlOE @@ -15,7 +15,7 @@ annotations: artifacthub.io/category: monitoring-logging artifacthub.io/changes: | - kind: changed - description: added support for stable autoscaling api + description: added support for volume mounts artifacthub.io/screenshots: | - title: Overview of the workloads running inside of Kubernetes. url: https://skooner.io/images/k8dash-screen.png diff --git a/charts/skooner/README.md b/charts/skooner/README.md index 6a24045e..41b7c27b 100644 --- a/charts/skooner/README.md +++ b/charts/skooner/README.md @@ -86,6 +86,9 @@ The command removes all the Kubernetes components associated with the chart and | serviceAccount.create | bool | `true` | Specifies whether a service account should be created | | serviceAccount.name | string | `""` | The name of the service account to use. If not set and create is true, a name is generated using the fullname template | | tolerations | list | `[]` | Toleration labels for pod assignment | +| volumeMounts | list | `[]` | Container's volume mounts | +| volumes | list | `[]` | Pod's volumes | + Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. diff --git a/charts/skooner/templates/deployment.yaml b/charts/skooner/templates/deployment.yaml index 98ba355b..c8ac186a 100644 --- a/charts/skooner/templates/deployment.yaml +++ b/charts/skooner/templates/deployment.yaml @@ -49,6 +49,10 @@ spec: resources: {{- toYaml . | nindent 12 }} {{- end }} + {{- with .Values.volumeMounts }} + volumeMounts: + {{- toYaml . | nindent 12 }} + {{- end }} {{- if .Values.oidc.enabled }} env: - name: OIDC_URL @@ -77,3 +81,7 @@ spec: tolerations: {{- toYaml . | nindent 8 }} {{- end }} + {{- with .Values.volumes}} + volumes: + {{- toYaml . | nindent 8 }} + {{- end }} diff --git a/charts/skooner/values.schema.json b/charts/skooner/values.schema.json index 34a73d76..b2a4241f 100644 --- a/charts/skooner/values.schema.json +++ b/charts/skooner/values.schema.json @@ -200,6 +200,12 @@ }, "tolerations": { "type": "array" + }, + "volumeMounts": { + "type": "array" + }, + "volumes": { + "type": "array" } } } diff --git a/charts/skooner/values.yaml b/charts/skooner/values.yaml index e6ee3ab6..6f4d35e2 100644 --- a/charts/skooner/values.yaml +++ b/charts/skooner/values.yaml @@ -115,3 +115,9 @@ oidc: clusterRoleBinding: # -- Define which ClusterRole to bind to: cluster-admin, edit, view clusterRole: edit + +# -- Container's volume mounts +volumeMounts: [] + +# -- Pod's volumes +volumes: []