diff --git a/.conform.yaml b/.conform.yaml index 0c31abb..63da61f 100644 --- a/.conform.yaml +++ b/.conform.yaml @@ -27,6 +27,7 @@ policies: scopes: - deps - main + - chart descriptionLength: 72 - type: license spec: diff --git a/charts/proxmox-cloud-controller-manager/Chart.yaml b/charts/proxmox-cloud-controller-manager/Chart.yaml index 84fabc0..3d3cf73 100644 --- a/charts/proxmox-cloud-controller-manager/Chart.yaml +++ b/charts/proxmox-cloud-controller-manager/Chart.yaml @@ -15,7 +15,7 @@ maintainers: # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.7 +version: 0.1.8 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/proxmox-cloud-controller-manager/README.md b/charts/proxmox-cloud-controller-manager/README.md index 949b4dc..2d86f59 100644 --- a/charts/proxmox-cloud-controller-manager/README.md +++ b/charts/proxmox-cloud-controller-manager/README.md @@ -76,6 +76,8 @@ helm upgrade -i --namespace=kube-system -f proxmox-ccm.yaml \ | nodeSelector | object | `{}` | Node labels for data pods assignment. ref: https://kubernetes.io/docs/user-guide/node-selection/ | | tolerations | list | `[{"effect":"NoSchedule","key":"node-role.kubernetes.io/control-plane","operator":"Exists"},{"effect":"NoSchedule","key":"node.cloudprovider.kubernetes.io/uninitialized","operator":"Exists"}]` | Tolerations for data pods assignment. ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ | | affinity | object | `{}` | Affinity for data pods assignment. ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity | +| extraVolumes | list | `[]` | Additional volumes for Pods | +| extraVolumeMounts | list | `[]` | Additional volume mounts for Pods | ---------------------------------------------- Autogenerated from chart metadata using [helm-docs v1.11.2](https://github.com/norwoodj/helm-docs/releases/v1.11.2) diff --git a/charts/proxmox-cloud-controller-manager/templates/deployment.yaml b/charts/proxmox-cloud-controller-manager/templates/deployment.yaml index 10eea71..bf5080a 100644 --- a/charts/proxmox-cloud-controller-manager/templates/deployment.yaml +++ b/charts/proxmox-cloud-controller-manager/templates/deployment.yaml @@ -66,6 +66,9 @@ spec: - name: cloud-config mountPath: /etc/proxmox readOnly: true + {{- with .Values.extraVolumeMounts }} + {{- toYaml . | nindent 12 }} + {{- end }} {{- with .Values.nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }} @@ -100,3 +103,6 @@ spec: secretName: {{ include "proxmox-cloud-controller-manager.fullname" . }} defaultMode: 416 {{- end }} + {{- with .Values.extraVolumes }} + {{- toYaml . | nindent 8 }} + {{- end }} diff --git a/charts/proxmox-cloud-controller-manager/values.yaml b/charts/proxmox-cloud-controller-manager/values.yaml index cf98bef..65fe02c 100644 --- a/charts/proxmox-cloud-controller-manager/values.yaml +++ b/charts/proxmox-cloud-controller-manager/values.yaml @@ -123,3 +123,14 @@ tolerations: # -- Affinity for data pods assignment. # ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity affinity: {} + +# -- Additional volumes for Pods +extraVolumes: [] +# - name: ca +# secret: +# secretName: my-ca +# -- Additional volume mounts for Pods +extraVolumeMounts: [] +# - mountPath: /etc/ssl/certs/ca-certificates.crt +# name: ca +# subPath: ca.crt