mirror of https://git.rancher.io/charts
63 lines
2.0 KiB
YAML
63 lines
2.0 KiB
YAML
apiVersion: resources.cattle.io/v1
|
|
kind: ResourceSet
|
|
metadata:
|
|
name: rancher-resource-set
|
|
resourceSelectors:
|
|
- apiVersion: "v1"
|
|
kindsRegexp: "^namespaces$"
|
|
resourceNameRegexp: "^cattle-|^p-|^c-|^user-|^u-"
|
|
resourceNames:
|
|
- "local"
|
|
- apiVersion: "v1"
|
|
kindsRegexp: "^secrets$"
|
|
namespaceRegexp: "^cattle-|^p-|^c-|^local$|^user-|^u-"
|
|
labelSelectors:
|
|
matchExpressions:
|
|
- key: "owner"
|
|
operator: "NotIn"
|
|
values: ["helm"]
|
|
- apiVersion: "v1"
|
|
kindsRegexp: "^serviceaccounts$"
|
|
namespaceRegexp: "^cattle-|^p-|^c-|^local$|^user-|^u-"
|
|
- apiVersion: "v1"
|
|
kindsRegexp: "^configmaps$"
|
|
namespaces:
|
|
- "cattle-system"
|
|
- apiVersion: "rbac.authorization.k8s.io/v1"
|
|
kindsRegexp: "^roles$|^rolebindings$"
|
|
namespaceRegexp: "^cattle-|^p-|^c-|^local$|^user-|^u-"
|
|
- apiVersion: "rbac.authorization.k8s.io/v1"
|
|
kindsRegexp: "^clusterrolebindings$"
|
|
resourceNameRegexp: "^cattle-|^clusterrolebinding-|^globaladmin-user-|^grb-u-"
|
|
resourceNames:
|
|
- "eks-operator"
|
|
- apiVersion: "rbac.authorization.k8s.io/v1"
|
|
kindsRegexp: "^clusterroles$"
|
|
resourceNameRegexp: "^cattle-|^p-|^c-|^local-|^user-|^u-|^project-|^create-ns$"
|
|
resourceNames:
|
|
- "eks-operator"
|
|
- apiVersion: "apiextensions.k8s.io/v1beta1"
|
|
kindsRegexp: "."
|
|
resourceNameRegexp: "management.cattle.io$|project.cattle.io$|catalog.cattle.io$|eks.cattle.io$|resources.cattle.io$"
|
|
- apiVersion: "management.cattle.io/v3"
|
|
kindsRegexp: "."
|
|
- apiVersion: "project.cattle.io/v3"
|
|
kindsRegexp: "."
|
|
- apiVersion: "catalog.cattle.io/v1"
|
|
kindsRegexp: "^clusterrepos$"
|
|
- apiVersion: "resources.cattle.io/v1"
|
|
kindsRegexp: "^ResourceSet$"
|
|
- apiVersion: "eks.cattle.io/v1"
|
|
kindsRegexp: "."
|
|
- apiVersion: "apps/v1"
|
|
kindsRegexp: "^deployments$"
|
|
resourceNames:
|
|
- "eks-config-operator"
|
|
namespaces:
|
|
- "cattle-system"
|
|
controllerReferences:
|
|
- apiVersion: "apps/v1"
|
|
resource: "deployments"
|
|
name: "rancher"
|
|
namespace: "cattle-system"
|