This commit is contained in:
parent
d6672663b0
commit
2be4c03df1
8 changed files with 178 additions and 128 deletions
|
|
@ -1,5 +1,8 @@
|
|||
---
|
||||
# https://github.com/digitalocean/csi-digitalocean
|
||||
- name: Include file list
|
||||
include_vars: "digitalocean.yaml"
|
||||
|
||||
- name: Defined digitalocean-storage state to present
|
||||
set_fact:
|
||||
storage_digitalocean_state: present
|
||||
|
|
@ -33,27 +36,4 @@
|
|||
merge_type: merge
|
||||
resource_definition: "{{ lookup('file', item) | from_yaml }}"
|
||||
with_items:
|
||||
- "digitalocean/volumesnapshotclasses.snapshot.storage.k8s.io-CustomResourceDefinition.yaml"
|
||||
- "digitalocean/volumesnapshotcontents.snapshot.storage.k8s.io-CustomResourceDefinition.yaml"
|
||||
- "digitalocean/volumesnapshots.snapshot.storage.k8s.io-CustomResourceDefinition.yaml"
|
||||
- "digitalocean/dobs.csi.digitalocean.com-CSIDriver.yaml"
|
||||
- "digitalocean/do-block-storage-VolumeSnapshotClass.yaml"
|
||||
- "digitalocean/do-block-storage-StorageClass.yaml"
|
||||
- "digitalocean/csi-do-controller-StatefulSet.yaml"
|
||||
- "digitalocean/csi-do-controller-sa-ServiceAccount.yaml"
|
||||
- "digitalocean/csi-do-provisioner-role-ClusterRole.yaml"
|
||||
- "digitalocean/csi-do-provisioner-binding-ClusterRoleBinding.yaml"
|
||||
- "digitalocean/csi-do-attacher-role-ClusterRole.yaml"
|
||||
- "digitalocean/csi-do-attacher-binding-ClusterRoleBinding.yaml"
|
||||
- "digitalocean/csi-do-snapshotter-role-ClusterRole.yaml"
|
||||
- "digitalocean/csi-do-snapshotter-binding-ClusterRoleBinding.yaml"
|
||||
- "digitalocean/csi-do-resizer-role-ClusterRole.yaml"
|
||||
- "digitalocean/csi-do-resizer-binding-ClusterRoleBinding.yaml"
|
||||
- "digitalocean/csi-do-node-DaemonSet.yaml"
|
||||
- "digitalocean/csi-do-node-sa-ServiceAccount.yaml"
|
||||
- "digitalocean/csi-do-node-driver-registrar-role-ClusterRole.yaml"
|
||||
- "digitalocean/csi-do-node-driver-registrar-binding-ClusterRoleBinding.yaml"
|
||||
- "digitalocean/snapshot-controller-StatefulSet.yaml"
|
||||
- "digitalocean/snapshot-controller-ServiceAccount.yaml"
|
||||
- "digitalocean/snapshot-controller-role-ClusterRole.yaml"
|
||||
- "digitalocean/snapshot-controller-binding-ClusterRoleBinding.yaml"
|
||||
- "{{ storage_digitalocean_files_list }}"
|
||||
|
|
|
|||
|
|
@ -1,5 +1,8 @@
|
|||
---
|
||||
# https://github.com/linode/linode-blockstorage-csi-driver
|
||||
- name: Include file list
|
||||
include_vars: "linode.yaml"
|
||||
|
||||
- name: Defined linode-storage state to present
|
||||
set_fact:
|
||||
storage_linode_state: present
|
||||
|
|
@ -34,21 +37,4 @@
|
|||
merge_type: merge
|
||||
resource_definition: "{{ lookup('file', item) | from_yaml }}"
|
||||
with_items:
|
||||
- "linode/csinodeinfos.csi.storage.k8s.io-CustomResourceDefinition.yaml"
|
||||
- "linode/csidrivers.csi.storage.k8s.io-CustomResourceDefinition.yaml"
|
||||
- "linode/csi-node-sa-ServiceAccount.yaml"
|
||||
- "linode/driver-registrar-role-ClusterRole.yaml"
|
||||
- "linode/driver-registrar-binding-ClusterRoleBinding.yaml"
|
||||
- "linode/csi-controller-sa-ServiceAccount.yaml"
|
||||
- "linode/external-provisioner-role-ClusterRole.yaml"
|
||||
- "linode/csi-controller-provisioner-binding-ClusterRoleBinding.yaml"
|
||||
- "linode/external-attacher-role-ClusterRole.yaml"
|
||||
- "linode/csi-controller-attacher-binding-ClusterRoleBinding.yaml"
|
||||
- "linode/external-snapshotter-role-ClusterRole.yaml"
|
||||
- "linode/csi-controller-snapshotter-binding-ClusterRoleBinding.yaml"
|
||||
- "linode/linodebs.csi.linode.com-CSIDriver.yaml"
|
||||
- "linode/linode-block-storage-StorageClass.yaml"
|
||||
- "linode/linode-block-storage-retain-StorageClass.yaml"
|
||||
- "linode/csi-linode-controller-StatefulSet.yaml"
|
||||
- "linode/csi-linode-node-DaemonSet.yaml"
|
||||
- "linode/get-linode-id-ConfigMap.yaml"
|
||||
- "{{ storage_linode_files_list }}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue