diff --git a/config/certmanager/certificate.yaml b/config/certmanager/certificate.yaml index 16db373..b0f9d53 100644 --- a/config/certmanager/certificate.yaml +++ b/config/certmanager/certificate.yaml @@ -5,11 +5,9 @@ apiVersion: cert-manager.io/v1 kind: Issuer metadata: labels: - app.kubernetes.io/name: certificate - app.kubernetes.io/instance: serving-cert - app.kubernetes.io/component: certificate - app.kubernetes.io/created-by: markdown-view - app.kubernetes.io/part-of: markdown-view + app.kubernetes.io/name: cat-gate + app.kubernetes.io/instance: cat-gate + app.kubernetes.io/component: cat-gate app.kubernetes.io/managed-by: kustomize name: selfsigned-issuer namespace: system @@ -20,11 +18,9 @@ apiVersion: cert-manager.io/v1 kind: Certificate metadata: labels: - app.kubernetes.io/name: certificate - app.kubernetes.io/instance: serving-cert - app.kubernetes.io/component: certificate - app.kubernetes.io/created-by: markdown-view - app.kubernetes.io/part-of: markdown-view + app.kubernetes.io/name: cat-gate + app.kubernetes.io/instance: cat-gate + app.kubernetes.io/component: cat-gate app.kubernetes.io/managed-by: kustomize name: serving-cert # this name should match the one appeared in kustomizeconfig.yaml namespace: system diff --git a/config/default/webhookcainjection_patch.yaml b/config/default/webhookcainjection_patch.yaml index de4172b..aa51a82 100644 --- a/config/default/webhookcainjection_patch.yaml +++ b/config/default/webhookcainjection_patch.yaml @@ -4,11 +4,9 @@ apiVersion: admissionregistration.k8s.io/v1 kind: MutatingWebhookConfiguration metadata: labels: - app.kubernetes.io/name: mutatingwebhookconfiguration - app.kubernetes.io/instance: mutating-webhook-configuration - app.kubernetes.io/component: webhook - app.kubernetes.io/created-by: markdown-view - app.kubernetes.io/part-of: markdown-view + app.kubernetes.io/name: cat-gate + app.kubernetes.io/instance: cat-gate + app.kubernetes.io/component: cat-gate app.kubernetes.io/managed-by: kustomize name: mutating-webhook-configuration annotations: diff --git a/config/manager/manager.yaml b/config/manager/manager.yaml index 9c06d71..1397115 100644 --- a/config/manager/manager.yaml +++ b/config/manager/manager.yaml @@ -3,11 +3,9 @@ kind: Namespace metadata: labels: control-plane: controller-manager - app.kubernetes.io/name: namespace - app.kubernetes.io/instance: system - app.kubernetes.io/component: manager - app.kubernetes.io/created-by: cat-gate - app.kubernetes.io/part-of: cat-gate + app.kubernetes.io/name: cat-gate + app.kubernetes.io/instance: cat-gate + app.kubernetes.io/component: cat-gate app.kubernetes.io/managed-by: kustomize name: system --- @@ -18,11 +16,9 @@ metadata: namespace: system labels: control-plane: controller-manager - app.kubernetes.io/name: deployment - app.kubernetes.io/instance: controller-manager - app.kubernetes.io/component: manager - app.kubernetes.io/created-by: cat-gate - app.kubernetes.io/part-of: cat-gate + app.kubernetes.io/name: cat-gate + app.kubernetes.io/instance: cat-gate + app.kubernetes.io/component: cat-gate app.kubernetes.io/managed-by: kustomize spec: selector: diff --git a/config/prometheus/monitor.yaml b/config/prometheus/monitor.yaml index 1ae85c0..589df5a 100644 --- a/config/prometheus/monitor.yaml +++ b/config/prometheus/monitor.yaml @@ -5,11 +5,9 @@ kind: ServiceMonitor metadata: labels: control-plane: controller-manager - app.kubernetes.io/name: servicemonitor - app.kubernetes.io/instance: controller-manager-metrics-monitor - app.kubernetes.io/component: metrics - app.kubernetes.io/created-by: cat-gate - app.kubernetes.io/part-of: cat-gate + app.kubernetes.io/name: cat-gate + app.kubernetes.io/instance: cat-gate + app.kubernetes.io/component: cat-gate app.kubernetes.io/managed-by: kustomize name: controller-manager-metrics-monitor namespace: system diff --git a/config/rbac/auth_proxy_client_clusterrole.yaml b/config/rbac/auth_proxy_client_clusterrole.yaml index 733e0ee..dbacade 100644 --- a/config/rbac/auth_proxy_client_clusterrole.yaml +++ b/config/rbac/auth_proxy_client_clusterrole.yaml @@ -2,11 +2,9 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: labels: - app.kubernetes.io/name: clusterrole - app.kubernetes.io/instance: metrics-reader - app.kubernetes.io/component: kube-rbac-proxy - app.kubernetes.io/created-by: cat-gate - app.kubernetes.io/part-of: cat-gate + app.kubernetes.io/name: cat-gate + app.kubernetes.io/instance: cat-gate + app.kubernetes.io/component: cat-gate app.kubernetes.io/managed-by: kustomize name: metrics-reader rules: diff --git a/config/rbac/auth_proxy_role.yaml b/config/rbac/auth_proxy_role.yaml index a7f4a1a..e6cdf9e 100644 --- a/config/rbac/auth_proxy_role.yaml +++ b/config/rbac/auth_proxy_role.yaml @@ -2,11 +2,9 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: labels: - app.kubernetes.io/name: clusterrole - app.kubernetes.io/instance: proxy-role - app.kubernetes.io/component: kube-rbac-proxy - app.kubernetes.io/created-by: cat-gate - app.kubernetes.io/part-of: cat-gate + app.kubernetes.io/name: cat-gate + app.kubernetes.io/instance: cat-gate + app.kubernetes.io/component: cat-gate app.kubernetes.io/managed-by: kustomize name: proxy-role rules: diff --git a/config/rbac/auth_proxy_role_binding.yaml b/config/rbac/auth_proxy_role_binding.yaml index 8f82977..34c6b8f 100644 --- a/config/rbac/auth_proxy_role_binding.yaml +++ b/config/rbac/auth_proxy_role_binding.yaml @@ -2,11 +2,9 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: labels: - app.kubernetes.io/name: clusterrolebinding - app.kubernetes.io/instance: proxy-rolebinding - app.kubernetes.io/component: kube-rbac-proxy - app.kubernetes.io/created-by: cat-gate - app.kubernetes.io/part-of: cat-gate + app.kubernetes.io/name: cat-gate + app.kubernetes.io/instance: cat-gate + app.kubernetes.io/component: cat-gate app.kubernetes.io/managed-by: kustomize name: proxy-rolebinding roleRef: diff --git a/config/rbac/auth_proxy_service.yaml b/config/rbac/auth_proxy_service.yaml index 0737778..81b9cc7 100644 --- a/config/rbac/auth_proxy_service.yaml +++ b/config/rbac/auth_proxy_service.yaml @@ -3,11 +3,9 @@ kind: Service metadata: labels: control-plane: controller-manager - app.kubernetes.io/name: service - app.kubernetes.io/instance: controller-manager-metrics-service - app.kubernetes.io/component: kube-rbac-proxy - app.kubernetes.io/created-by: cat-gate - app.kubernetes.io/part-of: cat-gate + app.kubernetes.io/name: cat-gate + app.kubernetes.io/instance: cat-gate + app.kubernetes.io/component: cat-gate app.kubernetes.io/managed-by: kustomize name: controller-manager-metrics-service namespace: system diff --git a/config/rbac/leader_election_role.yaml b/config/rbac/leader_election_role.yaml index 5987060..d020412 100644 --- a/config/rbac/leader_election_role.yaml +++ b/config/rbac/leader_election_role.yaml @@ -3,11 +3,9 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: labels: - app.kubernetes.io/name: role - app.kubernetes.io/instance: leader-election-role - app.kubernetes.io/component: rbac - app.kubernetes.io/created-by: cat-gate - app.kubernetes.io/part-of: cat-gate + app.kubernetes.io/name: cat-gate + app.kubernetes.io/instance: cat-gate + app.kubernetes.io/component: cat-gate app.kubernetes.io/managed-by: kustomize name: leader-election-role rules: diff --git a/config/rbac/leader_election_role_binding.yaml b/config/rbac/leader_election_role_binding.yaml index 7e8e306..342012b 100644 --- a/config/rbac/leader_election_role_binding.yaml +++ b/config/rbac/leader_election_role_binding.yaml @@ -2,11 +2,9 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: labels: - app.kubernetes.io/name: rolebinding - app.kubernetes.io/instance: leader-election-rolebinding - app.kubernetes.io/component: rbac - app.kubernetes.io/created-by: cat-gate - app.kubernetes.io/part-of: cat-gate + app.kubernetes.io/name: cat-gate + app.kubernetes.io/instance: cat-gate + app.kubernetes.io/component: cat-gate app.kubernetes.io/managed-by: kustomize name: leader-election-rolebinding roleRef: diff --git a/config/rbac/role_binding.yaml b/config/rbac/role_binding.yaml index 1c681d7..3bdbe2f 100644 --- a/config/rbac/role_binding.yaml +++ b/config/rbac/role_binding.yaml @@ -2,11 +2,9 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: labels: - app.kubernetes.io/name: clusterrolebinding - app.kubernetes.io/instance: manager-rolebinding - app.kubernetes.io/component: rbac - app.kubernetes.io/created-by: cat-gate - app.kubernetes.io/part-of: cat-gate + app.kubernetes.io/name: cat-gate + app.kubernetes.io/instance: cat-gate + app.kubernetes.io/component: cat-gate app.kubernetes.io/managed-by: kustomize name: manager-rolebinding roleRef: diff --git a/config/rbac/service_account.yaml b/config/rbac/service_account.yaml index 3ea546a..097b40d 100644 --- a/config/rbac/service_account.yaml +++ b/config/rbac/service_account.yaml @@ -2,11 +2,9 @@ apiVersion: v1 kind: ServiceAccount metadata: labels: - app.kubernetes.io/name: serviceaccount - app.kubernetes.io/instance: controller-manager-sa - app.kubernetes.io/component: rbac - app.kubernetes.io/created-by: cat-gate - app.kubernetes.io/part-of: cat-gate + app.kubernetes.io/name: cat-gate + app.kubernetes.io/instance: cat-gate + app.kubernetes.io/component: cat-gate app.kubernetes.io/managed-by: kustomize name: controller-manager namespace: system diff --git a/config/webhook/service.yaml b/config/webhook/service.yaml index 2e5dd33..86d6b8c 100644 --- a/config/webhook/service.yaml +++ b/config/webhook/service.yaml @@ -3,11 +3,9 @@ apiVersion: v1 kind: Service metadata: labels: - app.kubernetes.io/name: service - app.kubernetes.io/instance: webhook-service - app.kubernetes.io/component: webhook - app.kubernetes.io/created-by: cat-gate - app.kubernetes.io/part-of: cat-gate + app.kubernetes.io/name: cat-gate + app.kubernetes.io/instance: cat-gate + app.kubernetes.io/component: cat-gate app.kubernetes.io/managed-by: kustomize name: webhook-service namespace: system