From 4961040652cfa43444f80a925f348985b5cc6f98 Mon Sep 17 00:00:00 2001 From: Ashish Amarnath Date: Mon, 30 Mar 2020 09:43:58 -0700 Subject: [PATCH] add secrets to kuberesource (#2369) CSI plugin for velero will use this to return secrets as additional resource while backing up CSI objects Signed-off-by: Ashish Amarnath --- pkg/kuberesource/kuberesource.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/kuberesource/kuberesource.go b/pkg/kuberesource/kuberesource.go index c7c0d4b45..a515a70ff 100644 --- a/pkg/kuberesource/kuberesource.go +++ b/pkg/kuberesource/kuberesource.go @@ -30,6 +30,7 @@ var ( PersistentVolumes = schema.GroupResource{Group: "", Resource: "persistentvolumes"} Pods = schema.GroupResource{Group: "", Resource: "pods"} ServiceAccounts = schema.GroupResource{Group: "", Resource: "serviceaccounts"} + Secrets = schema.GroupResource{Group: "", Resource: "secrets"} VolumeSnapshotClasses = schema.GroupResource{Group: "snapshot.storage.k8s.io", Resource: "volumesnapshotclasses"} VolumeSnapshots = schema.GroupResource{Group: "snapshot.storage.k8s.io", Resource: "volumesnapshots"} VolumeSnapshotContents = schema.GroupResource{Group: "snapshot.storage.k8s.io", Resource: "volumesnapshotcontents"}