Skip to content
This repository has been archived by the owner on Oct 10, 2024. It is now read-only.

Commit

Permalink
Revised the value of label
Browse files Browse the repository at this point in the history
Signed-off-by: zeroalphat <taichi-takemura@cybozu.co.jp>
  • Loading branch information
zeroalphat committed Apr 11, 2024
1 parent 99aea73 commit 0b702c2
Show file tree
Hide file tree
Showing 13 changed files with 45 additions and 75 deletions.
16 changes: 6 additions & 10 deletions config/certmanager/certificate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
8 changes: 3 additions & 5 deletions config/default/webhookcainjection_patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
16 changes: 6 additions & 10 deletions config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
---
Expand All @@ -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:
Expand Down
8 changes: 3 additions & 5 deletions config/prometheus/monitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 3 additions & 5 deletions config/rbac/auth_proxy_client_clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
8 changes: 3 additions & 5 deletions config/rbac/auth_proxy_role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
8 changes: 3 additions & 5 deletions config/rbac/auth_proxy_role_binding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
8 changes: 3 additions & 5 deletions config/rbac/auth_proxy_service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 3 additions & 5 deletions config/rbac/leader_election_role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
8 changes: 3 additions & 5 deletions config/rbac/leader_election_role_binding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
8 changes: 3 additions & 5 deletions config/rbac/role_binding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
8 changes: 3 additions & 5 deletions config/rbac/service_account.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
8 changes: 3 additions & 5 deletions config/webhook/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0b702c2

Please sign in to comment.