- apiVersion: "v1" kindsRegexp: "^namespaces$" resourceNameRegexp: "^fleet-|^cluster-fleet-" - apiVersion: "v1" kindsRegexp: "^secrets$" namespaceRegexp: "^fleet-|^cluster-fleet-" labelSelectors: matchExpressions: - key: "owner" operator: "NotIn" values: ["helm"] - key: "fleet.cattle.io/managed" operator: "In" values: ["true"] - apiVersion: "v1" kindsRegexp: "^serviceaccounts$" namespaceRegexp: "^fleet-|^cluster-fleet-" - apiVersion: "v1" kindsRegexp: "^configmaps$" namespaceRegexp: "^fleet-|^cluster-fleet-" - apiVersion: "rbac.authorization.k8s.io/v1" kindsRegexp: "^roles$|^rolebindings$" namespaceRegexp: "^fleet-|^cluster-fleet-" - apiVersion: "rbac.authorization.k8s.io/v1" kindsRegexp: "^clusterrolebindings$" resourceNameRegexp: "^fleet-|^gitjob-" - apiVersion: "rbac.authorization.k8s.io/v1" kindsRegexp: "^clusterroles$" resourceNameRegexp: "^fleet-" resourceNames: - "gitjob" - apiVersion: "apiextensions.k8s.io/v1beta1" kindsRegexp: "." resourceNameRegexp: "fleet.cattle.io$|gitjob.cattle.io$" - apiVersion: "fleet.cattle.io/v1alpha1" kindsRegexp: "." - apiVersion: "gitjob.cattle.io/v1" kindsRegexp: "." - apiVersion: "apps/v1" kindsRegexp: "^deployments$" namespaceRegexp: "^fleet-|^cluster-fleet-" resourceNameRegexp: "^fleet-" resourceNames: - "gitjob" - apiVersion: "apps/v1" kindsRegexp: "^services$" namespaceRegexp: "^fleet-|^cluster-fleet-" resourceNames: - "gitjob"