mirror of
https://github.com/outbackdingo/proxmox-cloud-controller-manager.git
synced 2026-01-27 10:20:13 +00:00
feat(chart): add extraVolumes + extraVolumeMounts
Adds extraVolumes / extraVolumeMounts to the Helm chart. Allows to, for example, mount a custom CA to `/etc/ssl/certs/ca-certificates.crt`, to avoid having to use `insecure: true`. Fixes #65. Signed-off-by: Philipp Born <git@pborn.eu>
This commit is contained in:
@@ -27,6 +27,7 @@ policies:
|
|||||||
scopes:
|
scopes:
|
||||||
- deps
|
- deps
|
||||||
- main
|
- main
|
||||||
|
- chart
|
||||||
descriptionLength: 72
|
descriptionLength: 72
|
||||||
- type: license
|
- type: license
|
||||||
spec:
|
spec:
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ maintainers:
|
|||||||
# This is the chart version. This version number should be incremented each time you make changes
|
# 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.
|
# to the chart and its templates, including the app version.
|
||||||
# Versions are expected to follow Semantic Versioning (https://semver.org/)
|
# 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
|
# 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
|
# incremented each time you make changes to the application. Versions are not expected to
|
||||||
|
|||||||
@@ -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/ |
|
| 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/ |
|
| 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 |
|
| 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)
|
Autogenerated from chart metadata using [helm-docs v1.11.2](https://github.com/norwoodj/helm-docs/releases/v1.11.2)
|
||||||
|
|||||||
@@ -66,6 +66,9 @@ spec:
|
|||||||
- name: cloud-config
|
- name: cloud-config
|
||||||
mountPath: /etc/proxmox
|
mountPath: /etc/proxmox
|
||||||
readOnly: true
|
readOnly: true
|
||||||
|
{{- with .Values.extraVolumeMounts }}
|
||||||
|
{{- toYaml . | nindent 12 }}
|
||||||
|
{{- end }}
|
||||||
{{- with .Values.nodeSelector }}
|
{{- with .Values.nodeSelector }}
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
@@ -100,3 +103,6 @@ spec:
|
|||||||
secretName: {{ include "proxmox-cloud-controller-manager.fullname" . }}
|
secretName: {{ include "proxmox-cloud-controller-manager.fullname" . }}
|
||||||
defaultMode: 416
|
defaultMode: 416
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- with .Values.extraVolumes }}
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
|||||||
@@ -123,3 +123,14 @@ tolerations:
|
|||||||
# -- Affinity for data pods assignment.
|
# -- Affinity for data pods assignment.
|
||||||
# ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
|
# ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
|
||||||
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
|
||||||
|
|||||||
Reference in New Issue
Block a user