actualized for kubespray version 2.28.0
This commit is contained in:
@@ -1,6 +0,0 @@
|
||||
# See the OWNERS docs at https://go.k8s.io/owners
|
||||
|
||||
approvers:
|
||||
reviewers:
|
||||
- alijahnas
|
||||
- luckySB
|
||||
@@ -9,7 +9,7 @@
|
||||
loop_control:
|
||||
loop_var: delegate_host_to_write_cacert
|
||||
when:
|
||||
- inventory_hostname in groups['k8s_cluster']
|
||||
- ('k8s_cluster' in group_names)
|
||||
- cinder_cacert is defined
|
||||
- cinder_cacert | length > 0
|
||||
|
||||
|
||||
@@ -100,7 +100,7 @@ spec:
|
||||
- name: socket-dir
|
||||
mountPath: /var/lib/csi/sockets/pluginproxy/
|
||||
imagePullSecrets:
|
||||
- name: regcred
|
||||
- name: upcloud
|
||||
volumes:
|
||||
- name: socket-dir
|
||||
emptyDir: {}
|
||||
|
||||
@@ -77,7 +77,7 @@ spec:
|
||||
- name: device-dir
|
||||
mountPath: /dev
|
||||
imagePullSecrets:
|
||||
- name: regcred
|
||||
- name: upcloud
|
||||
volumes:
|
||||
- name: registration-dir
|
||||
hostPath:
|
||||
|
||||
@@ -4,14 +4,14 @@ external_vsphere_insecure: "true"
|
||||
external_vsphere_kubernetes_cluster_id: "kubernetes-cluster-id"
|
||||
external_vsphere_version: "7.0u1"
|
||||
|
||||
vsphere_syncer_image_tag: "v3.1.0"
|
||||
vsphere_syncer_image_tag: "v3.3.1"
|
||||
vsphere_csi_attacher_image_tag: "v4.3.0"
|
||||
vsphere_csi_controller: "v3.1.0"
|
||||
vsphere_csi_controller: "v3.3.1"
|
||||
vsphere_csi_liveness_probe_image_tag: "v2.10.0"
|
||||
vsphere_csi_provisioner_image_tag: "v3.5.0"
|
||||
vsphere_csi_snapshotter_image_tag: "v6.2.2"
|
||||
vsphere_csi_node_driver_registrar_image_tag: "v2.8.0"
|
||||
vsphere_csi_driver_image_tag: "v3.1.0"
|
||||
vsphere_csi_driver_image_tag: "v3.3.1"
|
||||
vsphere_csi_resizer_tag: "v1.8.0"
|
||||
|
||||
# Set to kube-system for backward compatibility, should be change to vmware-system-csi on the long run
|
||||
|
||||
@@ -19,12 +19,10 @@ data:
|
||||
"multi-vcenter-csi-topology": "true"
|
||||
"csi-internal-generated-cluster-id": "true"
|
||||
"listview-tasks": "true"
|
||||
{% if vsphere_csi_controller is version('v2.7.0', '>=') %}
|
||||
"improved-csi-idempotency": "true"
|
||||
"improved-volume-topology": "true"
|
||||
"use-csinode-id": "true"
|
||||
"list-volumes": "false"
|
||||
{% endif %}
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: internal-feature-states.csi.vsphere.vmware.com
|
||||
|
||||
@@ -99,7 +99,7 @@ spec:
|
||||
name: socket-dir
|
||||
{% endif %}
|
||||
- name: vsphere-csi-controller
|
||||
image: {{ gcr_image_repo }}/cloud-provider-vsphere/csi/release/driver:{{ vsphere_csi_controller }}
|
||||
image: {{ kube_image_repo }}/csi-vsphere/driver:{{ vsphere_csi_controller }}
|
||||
args:
|
||||
- "--fss-name=internal-feature-states.csi.vsphere.vmware.com"
|
||||
- "--fss-namespace={{ vsphere_csi_namespace }}"
|
||||
@@ -168,7 +168,7 @@ spec:
|
||||
- name: socket-dir
|
||||
mountPath: {{ csi_endpoint }}
|
||||
- name: vsphere-syncer
|
||||
image: {{ gcr_image_repo }}/cloud-provider-vsphere/csi/release/syncer:{{ vsphere_syncer_image_tag }}
|
||||
image: {{ kube_image_repo }}/csi-vsphere/syncer:{{ vsphere_syncer_image_tag }}
|
||||
args:
|
||||
- "--leader-election"
|
||||
- "--leader-election-lease-duration=30s"
|
||||
|
||||
@@ -33,11 +33,9 @@ rules:
|
||||
- apiGroups: [""]
|
||||
resources: ["events"]
|
||||
verbs: ["get", "list", "watch", "create", "update", "patch"]
|
||||
{% if vsphere_csi_controller is version('v2.0.0', '>=') %}
|
||||
- apiGroups: ["coordination.k8s.io"]
|
||||
resources: ["leases"]
|
||||
verbs: ["get", "watch", "list", "delete", "update", "create"]
|
||||
{% endif %}
|
||||
- apiGroups: ["storage.k8s.io"]
|
||||
resources: ["storageclasses","csinodes"]
|
||||
verbs: ["get", "list", "watch"]
|
||||
|
||||
@@ -62,7 +62,7 @@ spec:
|
||||
- --mode=kubelet-registration-probe
|
||||
initialDelaySeconds: 3
|
||||
- name: vsphere-csi-node
|
||||
image: {{ gcr_image_repo }}/cloud-provider-vsphere/csi/release/driver:{{ vsphere_csi_driver_image_tag }}
|
||||
image: {{ kube_image_repo }}/csi-vsphere/driver:{{ vsphere_csi_driver_image_tag }}
|
||||
imagePullPolicy: {{ k8s_image_pull_policy }}
|
||||
args:
|
||||
- "--fss-name=internal-feature-states.csi.vsphere.vmware.com"
|
||||
|
||||
Reference in New Issue
Block a user