mirror of
https://github.com/outbackdingo/proxmox-cloud-controller-manager.git
synced 2026-01-27 10:20:13 +00:00
feat(chart): extra envs values
Add extraEnvs option in helm chart. Signed-off-by: Serge Logvinov <serge.logvinov@sinextra.dev>
This commit is contained in:
@@ -16,7 +16,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.2.11
|
version: 0.2.12
|
||||||
# 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
|
||||||
# follow Semantic Versioning. They should reflect the version the application is using.
|
# follow Semantic Versioning. They should reflect the version the application is using.
|
||||||
|
|||||||
@@ -7,12 +7,16 @@ affinity:
|
|||||||
nodeAffinity:
|
nodeAffinity:
|
||||||
requiredDuringSchedulingIgnoredDuringExecution:
|
requiredDuringSchedulingIgnoredDuringExecution:
|
||||||
nodeSelectorTerms:
|
nodeSelectorTerms:
|
||||||
- matchExpressions:
|
- matchExpressions:
|
||||||
- key: node-role.kubernetes.io/control-plane
|
- key: node-role.kubernetes.io/control-plane
|
||||||
operator: Exists
|
operator: Exists
|
||||||
|
|
||||||
logVerbosityLevel: 4
|
logVerbosityLevel: 4
|
||||||
|
|
||||||
|
extraEnvs:
|
||||||
|
- name: KUBERNETES_SERVICE_HOST
|
||||||
|
value: 127.0.0.1
|
||||||
|
|
||||||
enabledControllers:
|
enabledControllers:
|
||||||
- cloud-node
|
- cloud-node
|
||||||
- cloud-node-lifecycle
|
- cloud-node-lifecycle
|
||||||
|
|||||||
@@ -71,6 +71,10 @@ spec:
|
|||||||
{{- with .Values.extraArgs }}
|
{{- with .Values.extraArgs }}
|
||||||
{{- toYaml . | nindent 12 }}
|
{{- toYaml . | nindent 12 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- with .Values.extraEnvs }}
|
||||||
|
env:
|
||||||
|
{{- toYaml . | nindent 12 }}
|
||||||
|
{{- end }}
|
||||||
ports:
|
ports:
|
||||||
- name: metrics
|
- name: metrics
|
||||||
containerPort: 10258
|
containerPort: 10258
|
||||||
|
|||||||
@@ -16,8 +16,15 @@ imagePullSecrets: []
|
|||||||
nameOverride: ""
|
nameOverride: ""
|
||||||
fullnameOverride: ""
|
fullnameOverride: ""
|
||||||
|
|
||||||
|
# -- Any extra environments for talos-cloud-controller-manager
|
||||||
|
extraEnvs:
|
||||||
|
[]
|
||||||
|
# - name: KUBERNETES_SERVICE_HOST
|
||||||
|
# value: 127.0.0.1
|
||||||
|
|
||||||
# -- Any extra arguments for talos-cloud-controller-manager
|
# -- Any extra arguments for talos-cloud-controller-manager
|
||||||
extraArgs: []
|
extraArgs:
|
||||||
|
[]
|
||||||
# - --cluster-name=kubernetes
|
# - --cluster-name=kubernetes
|
||||||
|
|
||||||
# -- List of controllers should be enabled.
|
# -- List of controllers should be enabled.
|
||||||
@@ -42,7 +49,7 @@ existingConfigSecretKey: config.yaml
|
|||||||
config:
|
config:
|
||||||
features:
|
features:
|
||||||
# specify provider: proxmox if you are using capmox (cluster api provider for proxmox)
|
# specify provider: proxmox if you are using capmox (cluster api provider for proxmox)
|
||||||
provider: 'default'
|
provider: "default"
|
||||||
clusters: []
|
clusters: []
|
||||||
# - url: https://cluster-api-1.exmple.com:8006/api2/json
|
# - url: https://cluster-api-1.exmple.com:8006/api2/json
|
||||||
# insecure: false
|
# insecure: false
|
||||||
@@ -66,7 +73,8 @@ priorityClassName: system-cluster-critical
|
|||||||
|
|
||||||
# -- Add additional init containers to the CCM pods.
|
# -- Add additional init containers to the CCM pods.
|
||||||
# ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
|
# ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
|
||||||
initContainers: []
|
initContainers:
|
||||||
|
[]
|
||||||
# - name: loadbalancer
|
# - name: loadbalancer
|
||||||
# restartPolicy: Always
|
# restartPolicy: Always
|
||||||
# image: ghcr.io/sergelogvinov/haproxy:2.8.3-alpine3.18
|
# image: ghcr.io/sergelogvinov/haproxy:2.8.3-alpine3.18
|
||||||
@@ -89,7 +97,8 @@ initContainers: []
|
|||||||
|
|
||||||
# -- hostAliases Deployment pod host aliases
|
# -- hostAliases Deployment pod host aliases
|
||||||
# ref: https://kubernetes.io/docs/tasks/network/customize-hosts-file-for-pods/
|
# ref: https://kubernetes.io/docs/tasks/network/customize-hosts-file-for-pods/
|
||||||
hostAliases: []
|
hostAliases:
|
||||||
|
[]
|
||||||
# - ip: 127.0.0.1
|
# - ip: 127.0.0.1
|
||||||
# hostnames:
|
# hostnames:
|
||||||
# - proxmox.domain.com
|
# - proxmox.domain.com
|
||||||
@@ -113,7 +122,7 @@ securityContext:
|
|||||||
allowPrivilegeEscalation: false
|
allowPrivilegeEscalation: false
|
||||||
capabilities:
|
capabilities:
|
||||||
drop:
|
drop:
|
||||||
- ALL
|
- ALL
|
||||||
seccompProfile:
|
seccompProfile:
|
||||||
type: RuntimeDefault
|
type: RuntimeDefault
|
||||||
|
|
||||||
@@ -145,7 +154,8 @@ updateStrategy:
|
|||||||
|
|
||||||
# -- Node labels for data pods assignment.
|
# -- Node labels for data pods assignment.
|
||||||
# ref: https://kubernetes.io/docs/user-guide/node-selection/
|
# ref: https://kubernetes.io/docs/user-guide/node-selection/
|
||||||
nodeSelector: {}
|
nodeSelector:
|
||||||
|
{}
|
||||||
# node-role.kubernetes.io/control-plane: ""
|
# node-role.kubernetes.io/control-plane: ""
|
||||||
|
|
||||||
# -- Tolerations for data pods assignment.
|
# -- Tolerations for data pods assignment.
|
||||||
|
|||||||
Reference in New Issue
Block a user