settings finished
This commit is contained in:
parent
ae9ac8edb6
commit
c0eb98d2cc
2 changed files with 9 additions and 25 deletions
1
stages/base/.envs/.proxmox-csi-secret.template
Normal file
1
stages/base/.envs/.proxmox-csi-secret.template
Normal file
|
@ -0,0 +1 @@
|
|||
{{ pw "bf0cc098-bbf1-4254-9133-40024505c093" }}
|
|
@ -1,35 +1,18 @@
|
|||
createNamespace: true
|
||||
|
||||
config:
|
||||
clusters:
|
||||
- url: https://192.168.1.151:8006/api2/json
|
||||
insecure: true
|
||||
token_id: "kubernetes-csi@pve!csi"
|
||||
token_secret: "key"
|
||||
region: cluster-1
|
||||
token_secret: {{ readFile "../.envs/.proxmox-csi-secret" }}
|
||||
region: kc-node0
|
||||
|
||||
# Deploy Node CSI driver only on proxmox nodes
|
||||
node:
|
||||
nodeSelector:
|
||||
# It will work only with Talos CCM, remove it overwise
|
||||
node.cloudprovider.kubernetes.io/platform: nocloud
|
||||
tolerations:
|
||||
- operator: Exists
|
||||
|
||||
# Deploy CSI controller only on control-plane nodes
|
||||
nodeSelector:
|
||||
node-role.kubernetes.io/control-plane: ""
|
||||
tolerations:
|
||||
- key: node-role.kubernetes.io/control-plane
|
||||
effect: NoSchedule
|
||||
|
||||
# Define storage classes
|
||||
# See https://pve.proxmox.com/wiki/Storage
|
||||
storageClass:
|
||||
- name: proxmox-data-xfs
|
||||
storage: data
|
||||
reclaimPolicy: Delete
|
||||
fstype: xfs
|
||||
- name: proxmox-data
|
||||
storage: data
|
||||
storage: hdd-data1
|
||||
reclaimPolicy: Delete
|
||||
fstype: ext4
|
||||
cache: writethrough
|
||||
cache: writethrough
|
||||
annotations:
|
||||
storageclass.kubernetes.io/is-default-class: "true"
|
Loading…
Reference in a new issue