diff --git a/deploy/bundle_post_1_25.yaml b/deploy/bundle_post_1_25.yaml index 8d2677b5e..a50304341 100644 --- a/deploy/bundle_post_1_25.yaml +++ b/deploy/bundle_post_1_25.yaml @@ -146,6 +146,12 @@ rules: - watch - update - patch + - apiGroups: + - snapshot.storage.k8s.io + resources: + - volumesnapshotclasses + verbs: + - create - apiGroups: - snapshot.storage.k8s.io resources: @@ -230,6 +236,8 @@ rules: - tridentprovisioners/status # Required to update Tprov's status section - tridentorchestrators # Required for Torc - tridentorchestrators/status # Required to update Torc's status section + - tridentconfigurators # Required for tconf + - tridentconfigurators/status # Required to update tconf's status section verbs: - get - list diff --git a/deploy/bundle_pre_1_25.yaml b/deploy/bundle_pre_1_25.yaml index e11812a5a..01393f264 100644 --- a/deploy/bundle_pre_1_25.yaml +++ b/deploy/bundle_pre_1_25.yaml @@ -146,6 +146,12 @@ rules: - watch - update - patch + - apiGroups: + - snapshot.storage.k8s.io + resources: + - volumesnapshotclasses + verbs: + - create - apiGroups: - snapshot.storage.k8s.io resources: @@ -230,6 +236,8 @@ rules: - tridentprovisioners/status # Required to update Tprov's status section - tridentorchestrators # Required for Torc - tridentorchestrators/status # Required to update Torc's status section + - tridentconfigurators # Required for tconf + - tridentconfigurators/status # Required to update tconf's status section verbs: - get - list diff --git a/deploy/clusterrole_post_1_25.yaml b/deploy/clusterrole_post_1_25.yaml index bb50ba652..ab4007efd 100644 --- a/deploy/clusterrole_post_1_25.yaml +++ b/deploy/clusterrole_post_1_25.yaml @@ -138,6 +138,12 @@ rules: - watch - update - patch + - apiGroups: + - snapshot.storage.k8s.io + resources: + - volumesnapshotclasses + verbs: + - create - apiGroups: - snapshot.storage.k8s.io resources: @@ -222,6 +228,8 @@ rules: - tridentprovisioners/status # Required to update Tprov's status section - tridentorchestrators # Required for Torc - tridentorchestrators/status # Required to update Torc's status section + - tridentconfigurators # Required for tconf + - tridentconfigurators/status # Required to update tconf's status section verbs: - get - list diff --git a/deploy/clusterrole_pre_1_25.yaml b/deploy/clusterrole_pre_1_25.yaml index dea95508c..56b70ffee 100644 --- a/deploy/clusterrole_pre_1_25.yaml +++ b/deploy/clusterrole_pre_1_25.yaml @@ -138,6 +138,12 @@ rules: - watch - update - patch + - apiGroups: + - snapshot.storage.k8s.io + resources: + - volumesnapshotclasses + verbs: + - create - apiGroups: - snapshot.storage.k8s.io resources: @@ -222,6 +228,8 @@ rules: - tridentprovisioners/status # Required to update Tprov's status section - tridentorchestrators # Required for Torc - tridentorchestrators/status # Required to update Torc's status section + - tridentconfigurators # Required for tconf + - tridentconfigurators/status # Required to update tconf's status section verbs: - get - list diff --git a/deploy/crds/trident.netapp.io_tridentconfigurators_crd.yaml b/deploy/crds/trident.netapp.io_tridentconfigurators_crd.yaml new file mode 100644 index 000000000..a998a6354 --- /dev/null +++ b/deploy/crds/trident.netapp.io_tridentconfigurators_crd.yaml @@ -0,0 +1,54 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + name: tridentconfigurators.trident.netapp.io +spec: + group: trident.netapp.io + versions: + - name: v1 + served: true + storage: true + schema: + openAPIV3Schema: + type: object + x-kubernetes-preserve-unknown-fields: true + subresources: + status: {} + additionalPrinterColumns: + - name: Phase + type: string + description: The backend config phase + priority: 0 + jsonPath: .status.phase + - name: Status + type: string + description: The result of the last operation + priority: 0 + jsonPath: .status.lastOperationStatus + - name: Cloud Provider + type: string + description: The name of cloud provider + priority: 0 + jsonPath: .status.cloudProvider + - name: Storage Driver + type: string + description: The storage driver type + priority: 1 + jsonPath: .spec.storageDriverName + - name: Deletion Policy + type: string + description: The deletion policy + priority: 1 + jsonPath: .status.deletionPolicy + scope: Cluster + names: + plural: tridentconfigurators + singular: tridentconfigurator + kind: TridentConfigurator + shortNames: + - tconf + - tconfigurator + categories: + - trident + - trident-internal + - trident-external