Removed deprecated label kubernetes.io/cluster-service (#5372)

This commit is contained in:
Anshul Sharma 2020-03-30 10:19:53 +02:00 committed by GitHub
parent d439564a7e
commit 79a6b72a13
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
45 changed files with 0 additions and 73 deletions

View file

@ -5,5 +5,4 @@ metadata:
name: coredns name: coredns
namespace: kube-system namespace: kube-system
labels: labels:
kubernetes.io/cluster-service: "true"
addonmanager.kubernetes.io/mode: Reconcile addonmanager.kubernetes.io/mode: Reconcile

View file

@ -6,7 +6,6 @@ metadata:
namespace: kube-system namespace: kube-system
labels: labels:
k8s-app: "kube-dns{{ coredns_ordinal_suffix }}" k8s-app: "kube-dns{{ coredns_ordinal_suffix }}"
kubernetes.io/cluster-service: "true"
addonmanager.kubernetes.io/mode: Reconcile addonmanager.kubernetes.io/mode: Reconcile
kubernetes.io/name: "coredns{{ coredns_ordinal_suffix }}" kubernetes.io/name: "coredns{{ coredns_ordinal_suffix }}"
spec: spec:

View file

@ -6,7 +6,6 @@ metadata:
namespace: kube-system namespace: kube-system
labels: labels:
k8s-app: kube-dns{{ coredns_ordinal_suffix }} k8s-app: kube-dns{{ coredns_ordinal_suffix }}
kubernetes.io/cluster-service: "true"
kubernetes.io/name: "coredns{{ coredns_ordinal_suffix }}" kubernetes.io/name: "coredns{{ coredns_ordinal_suffix }}"
addonmanager.kubernetes.io/mode: Reconcile addonmanager.kubernetes.io/mode: Reconcile
annotations: annotations:

View file

@ -228,7 +228,6 @@ apiVersion: v1
metadata: metadata:
labels: labels:
k8s-app: kubernetes-dashboard k8s-app: kubernetes-dashboard
kubernetes.io/cluster-service: "true"
name: kubernetes-dashboard name: kubernetes-dashboard
namespace: kube-system namespace: kube-system
spec: spec:

View file

@ -20,7 +20,6 @@ metadata:
namespace: kube-system namespace: kube-system
labels: labels:
k8s-app: dns-autoscaler{{ coredns_ordinal_suffix }} k8s-app: dns-autoscaler{{ coredns_ordinal_suffix }}
kubernetes.io/cluster-service: "true"
addonmanager.kubernetes.io/mode: Reconcile addonmanager.kubernetes.io/mode: Reconcile
spec: spec:
selector: selector:

View file

@ -11,7 +11,6 @@ metadata:
apparmor.security.beta.kubernetes.io/allowedProfileNames: 'runtime/default' apparmor.security.beta.kubernetes.io/allowedProfileNames: 'runtime/default'
{% endif %} {% endif %}
labels: labels:
kubernetes.io/cluster-service: 'true'
addonmanager.kubernetes.io/mode: Reconcile addonmanager.kubernetes.io/mode: Reconcile
spec: spec:
privileged: false privileged: false

View file

@ -3,5 +3,3 @@ kind: ServiceAccount
metadata: metadata:
name: netchecker-agent name: netchecker-agent
namespace: {{ netcheck_namespace }} namespace: {{ netcheck_namespace }}
labels:
kubernetes.io/cluster-service: "true"

View file

@ -3,5 +3,3 @@ kind: ServiceAccount
metadata: metadata:
name: netchecker-server name: netchecker-server
namespace: {{ netcheck_namespace }} namespace: {{ netcheck_namespace }}
labels:
kubernetes.io/cluster-service: "true"

View file

@ -5,7 +5,6 @@ metadata:
namespace: kube-system namespace: kube-system
labels: labels:
k8s-app: kube-dns k8s-app: kube-dns
kubernetes.io/cluster-service: "true"
addonmanager.kubernetes.io/mode: Reconcile addonmanager.kubernetes.io/mode: Reconcile
spec: spec:
selector: selector:

View file

@ -4,5 +4,4 @@ metadata:
name: nodelocaldns name: nodelocaldns
namespace: kube-system namespace: kube-system
labels: labels:
kubernetes.io/cluster-service: "true"
addonmanager.kubernetes.io/mode: Reconcile addonmanager.kubernetes.io/mode: Reconcile

View file

@ -9,8 +9,6 @@ apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRole kind: ClusterRole
metadata: metadata:
name: system:cloud-controller-manager name: system:cloud-controller-manager
labels:
kubernetes.io/cluster-service: "true"
rules: rules:
- apiGroups: - apiGroups:
- "" - ""

View file

@ -4,7 +4,6 @@ kind: ClusterRole
metadata: metadata:
name: psp:privileged name: psp:privileged
labels: labels:
kubernetes.io/cluster-service: "true"
addonmanager.kubernetes.io/mode: Reconcile addonmanager.kubernetes.io/mode: Reconcile
rules: rules:
- apiGroups: - apiGroups:
@ -21,7 +20,6 @@ kind: ClusterRole
metadata: metadata:
name: psp:restricted name: psp:restricted
labels: labels:
kubernetes.io/cluster-service: "true"
addonmanager.kubernetes.io/mode: Reconcile addonmanager.kubernetes.io/mode: Reconcile
rules: rules:
- apiGroups: - apiGroups:

View file

@ -40,7 +40,6 @@ metadata:
nodes to mirror pods bound to themselves.' nodes to mirror pods bound to themselves.'
labels: labels:
addonmanager.kubernetes.io/mode: Reconcile addonmanager.kubernetes.io/mode: Reconcile
kubernetes.io/cluster-service: 'true'
roleRef: roleRef:
apiGroup: rbac.authorization.k8s.io apiGroup: rbac.authorization.k8s.io
kind: ClusterRole kind: ClusterRole

View file

@ -11,7 +11,6 @@ metadata:
apparmor.security.beta.kubernetes.io/allowedProfileNames: 'runtime/default' apparmor.security.beta.kubernetes.io/allowedProfileNames: 'runtime/default'
{% endif %} {% endif %}
labels: labels:
kubernetes.io/cluster-service: 'true'
addonmanager.kubernetes.io/mode: Reconcile addonmanager.kubernetes.io/mode: Reconcile
spec: spec:
privileged: false privileged: false
@ -53,7 +52,6 @@ metadata:
annotations: annotations:
seccomp.security.alpha.kubernetes.io/allowedProfileNames: '*' seccomp.security.alpha.kubernetes.io/allowedProfileNames: '*'
labels: labels:
kubernetes.io/cluster-service: "true"
addonmanager.kubernetes.io/mode: Reconcile addonmanager.kubernetes.io/mode: Reconcile
spec: spec:
privileged: true privileged: true

View file

@ -11,7 +11,6 @@ metadata:
apparmor.security.beta.kubernetes.io/allowedProfileNames: 'runtime/default' apparmor.security.beta.kubernetes.io/allowedProfileNames: 'runtime/default'
{% endif %} {% endif %}
labels: labels:
kubernetes.io/cluster-service: 'true'
addonmanager.kubernetes.io/mode: Reconcile addonmanager.kubernetes.io/mode: Reconcile
spec: spec:
privileged: false privileged: false

View file

@ -11,7 +11,6 @@ metadata:
apparmor.security.beta.kubernetes.io/allowedProfileNames: 'runtime/default' apparmor.security.beta.kubernetes.io/allowedProfileNames: 'runtime/default'
{% endif %} {% endif %}
labels: labels:
kubernetes.io/cluster-service: 'true'
addonmanager.kubernetes.io/mode: Reconcile addonmanager.kubernetes.io/mode: Reconcile
spec: spec:
privileged: true privileged: true

View file

@ -11,7 +11,6 @@ metadata:
apparmor.security.beta.kubernetes.io/allowedProfileNames: 'runtime/default' apparmor.security.beta.kubernetes.io/allowedProfileNames: 'runtime/default'
{% endif %} {% endif %}
labels: labels:
kubernetes.io/cluster-service: 'true'
addonmanager.kubernetes.io/mode: Reconcile addonmanager.kubernetes.io/mode: Reconcile
spec: spec:
privileged: true privileged: true

View file

@ -11,7 +11,6 @@ metadata:
apparmor.security.beta.kubernetes.io/allowedProfileNames: 'runtime/default' apparmor.security.beta.kubernetes.io/allowedProfileNames: 'runtime/default'
{% endif %} {% endif %}
labels: labels:
kubernetes.io/cluster-service: 'true'
addonmanager.kubernetes.io/mode: Reconcile addonmanager.kubernetes.io/mode: Reconcile
spec: spec:
privileged: false privileged: false

View file

@ -4,5 +4,3 @@ kind: ServiceAccount
metadata: metadata:
name: tiller name: tiller
namespace: {{ tiller_namespace }} namespace: {{ tiller_namespace }}
labels:
kubernetes.io/cluster-service: "true"

View file

@ -11,7 +11,6 @@ metadata:
apparmor.security.beta.kubernetes.io/allowedProfileNames: 'runtime/default' apparmor.security.beta.kubernetes.io/allowedProfileNames: 'runtime/default'
{% endif %} {% endif %}
labels: labels:
kubernetes.io/cluster-service: 'true'
addonmanager.kubernetes.io/mode: Reconcile addonmanager.kubernetes.io/mode: Reconcile
spec: spec:
privileged: false privileged: false

View file

@ -3,7 +3,6 @@ kind: ClusterRoleBinding
metadata: metadata:
name: metrics-server:system:auth-delegator name: metrics-server:system:auth-delegator
labels: labels:
kubernetes.io/cluster-service: "true"
addonmanager.kubernetes.io/mode: Reconcile addonmanager.kubernetes.io/mode: Reconcile
roleRef: roleRef:
apiGroup: rbac.authorization.k8s.io apiGroup: rbac.authorization.k8s.io

View file

@ -4,7 +4,6 @@ metadata:
name: metrics-server-auth-reader name: metrics-server-auth-reader
namespace: kube-system namespace: kube-system
labels: labels:
kubernetes.io/cluster-service: "true"
addonmanager.kubernetes.io/mode: Reconcile addonmanager.kubernetes.io/mode: Reconcile
roleRef: roleRef:
apiGroup: rbac.authorization.k8s.io apiGroup: rbac.authorization.k8s.io

View file

@ -3,7 +3,6 @@ kind: APIService
metadata: metadata:
name: v1beta1.metrics.k8s.io name: v1beta1.metrics.k8s.io
labels: labels:
kubernetes.io/cluster-service: "true"
addonmanager.kubernetes.io/mode: Reconcile addonmanager.kubernetes.io/mode: Reconcile
spec: spec:
service: service:

View file

@ -5,7 +5,6 @@ metadata:
name: metrics-server-config name: metrics-server-config
namespace: kube-system namespace: kube-system
labels: labels:
kubernetes.io/cluster-service: "true"
addonmanager.kubernetes.io/mode: EnsureExists addonmanager.kubernetes.io/mode: EnsureExists
data: data:
NannyConfiguration: |- NannyConfiguration: |-

View file

@ -6,7 +6,6 @@ metadata:
namespace: kube-system namespace: kube-system
labels: labels:
app.kubernetes.io/name: metrics-server app.kubernetes.io/name: metrics-server
kubernetes.io/cluster-service: "true"
addonmanager.kubernetes.io/mode: Reconcile addonmanager.kubernetes.io/mode: Reconcile
version: {{ metrics_server_version }} version: {{ metrics_server_version }}
spec: spec:

View file

@ -5,5 +5,4 @@ metadata:
name: metrics-server name: metrics-server
namespace: kube-system namespace: kube-system
labels: labels:
kubernetes.io/cluster-service: "true"
addonmanager.kubernetes.io/mode: Reconcile addonmanager.kubernetes.io/mode: Reconcile

View file

@ -5,7 +5,6 @@ metadata:
namespace: kube-system namespace: kube-system
labels: labels:
addonmanager.kubernetes.io/mode: Reconcile addonmanager.kubernetes.io/mode: Reconcile
kubernetes.io/cluster-service: "true"
app.kubernetes.io/name: "metrics-server" app.kubernetes.io/name: "metrics-server"
spec: spec:
selector: selector:

View file

@ -4,7 +4,6 @@ kind: ClusterRoleBinding
metadata: metadata:
name: system:metrics-server name: system:metrics-server
labels: labels:
kubernetes.io/cluster-service: "true"
addonmanager.kubernetes.io/mode: Reconcile addonmanager.kubernetes.io/mode: Reconcile
roleRef: roleRef:
apiGroup: rbac.authorization.k8s.io apiGroup: rbac.authorization.k8s.io

View file

@ -3,7 +3,6 @@ kind: ClusterRole
metadata: metadata:
name: system:metrics-server name: system:metrics-server
labels: labels:
kubernetes.io/cluster-service: "true"
addonmanager.kubernetes.io/mode: Reconcile addonmanager.kubernetes.io/mode: Reconcile
rules: rules:
- apiGroups: - apiGroups:

View file

@ -5,21 +5,18 @@ metadata:
namespace: kube-system namespace: kube-system
labels: labels:
k8s-app: calico-kube-controllers k8s-app: calico-kube-controllers
kubernetes.io/cluster-service: "true"
spec: spec:
replicas: 1 replicas: 1
strategy: strategy:
type: Recreate type: Recreate
selector: selector:
matchLabels: matchLabels:
kubernetes.io/cluster-service: "true"
k8s-app: calico-kube-controllers k8s-app: calico-kube-controllers
template: template:
metadata: metadata:
name: calico-kube-controllers name: calico-kube-controllers
namespace: kube-system namespace: kube-system
labels: labels:
kubernetes.io/cluster-service: "true"
k8s-app: calico-kube-controllers k8s-app: calico-kube-controllers
spec: spec:
nodeSelector: nodeSelector:

View file

@ -4,5 +4,3 @@ kind: ServiceAccount
metadata: metadata:
name: calico-kube-controllers name: calico-kube-controllers
namespace: kube-system namespace: kube-system
labels:
kubernetes.io/cluster-service: "true"

View file

@ -38,8 +38,6 @@ kind: PersistentVolume
apiVersion: v1 apiVersion: v1
metadata: metadata:
name: kube-system-kube-registry-pv name: kube-system-kube-registry-pv
labels:
kubernetes.io/cluster-service: "true"
spec: spec:
{% if pillar.get('cluster_registry_disk_type', '') == 'gce' %} {% if pillar.get('cluster_registry_disk_type', '') == 'gce' %}
capacity: capacity:
@ -81,8 +79,6 @@ apiVersion: v1
metadata: metadata:
name: kube-registry-pvc name: kube-registry-pvc
namespace: kube-system namespace: kube-system
labels:
kubernetes.io/cluster-service: "true"
spec: spec:
accessModes: accessModes:
- ReadWriteOnce - ReadWriteOnce
@ -112,7 +108,6 @@ metadata:
labels: labels:
k8s-app: registry k8s-app: registry
version: v0 version: v0
kubernetes.io/cluster-service: "true"
spec: spec:
replicas: 1 replicas: 1
selector: selector:
@ -123,7 +118,6 @@ spec:
labels: labels:
k8s-app: registry k8s-app: registry
version: v0 version: v0
kubernetes.io/cluster-service: "true"
spec: spec:
containers: containers:
- name: registry - name: registry
@ -165,7 +159,6 @@ metadata:
namespace: kube-system namespace: kube-system
labels: labels:
k8s-app: registry k8s-app: registry
kubernetes.io/cluster-service: "true"
kubernetes.io/name: "KubeRegistry" kubernetes.io/name: "KubeRegistry"
spec: spec:
selector: selector:
@ -193,7 +186,6 @@ metadata:
namespace: kube-system namespace: kube-system
labels: labels:
k8s-app: kube-registry-proxy k8s-app: kube-registry-proxy
kubernetes.io/cluster-service: "true"
version: v0.4 version: v0.4
spec: spec:
template: template:
@ -201,7 +193,6 @@ spec:
labels: labels:
k8s-app: kube-registry-proxy k8s-app: kube-registry-proxy
kubernetes.io/name: "kube-registry-proxy" kubernetes.io/name: "kube-registry-proxy"
kubernetes.io/cluster-service: "true"
version: v0.4 version: v0.4
spec: spec:
containers: containers:

View file

@ -6,7 +6,6 @@ metadata:
namespace: {{ registry_namespace }} namespace: {{ registry_namespace }}
labels: labels:
k8s-app: registry-proxy k8s-app: registry-proxy
kubernetes.io/cluster-service: "true"
version: v{{ registry_proxy_image_tag }} version: v{{ registry_proxy_image_tag }}
spec: spec:
selector: selector:
@ -18,7 +17,6 @@ spec:
labels: labels:
k8s-app: registry-proxy k8s-app: registry-proxy
kubernetes.io/name: "registry-proxy" kubernetes.io/name: "registry-proxy"
kubernetes.io/cluster-service: "true"
version: v{{ registry_proxy_image_tag }} version: v{{ registry_proxy_image_tag }}
spec: spec:
priorityClassName: {% if registry_namespace == 'kube-system' %}system-node-critical{% else %}k8s-cluster-critical{% endif %}{{''}} priorityClassName: {% if registry_namespace == 'kube-system' %}system-node-critical{% else %}k8s-cluster-critical{% endif %}{{''}}

View file

@ -11,7 +11,6 @@ metadata:
apparmor.security.beta.kubernetes.io/allowedProfileNames: 'runtime/default' apparmor.security.beta.kubernetes.io/allowedProfileNames: 'runtime/default'
{% endif %} {% endif %}
labels: labels:
kubernetes.io/cluster-service: 'true'
addonmanager.kubernetes.io/mode: Reconcile addonmanager.kubernetes.io/mode: Reconcile
spec: spec:
privileged: false privileged: false

View file

@ -3,5 +3,3 @@ kind: ServiceAccount
metadata: metadata:
name: registry-proxy name: registry-proxy
namespace: {{ registry_namespace }} namespace: {{ registry_namespace }}
labels:
kubernetes.io/cluster-service: "true"

View file

@ -11,7 +11,6 @@ metadata:
apparmor.security.beta.kubernetes.io/allowedProfileNames: 'runtime/default' apparmor.security.beta.kubernetes.io/allowedProfileNames: 'runtime/default'
{% endif %} {% endif %}
labels: labels:
kubernetes.io/cluster-service: 'true'
addonmanager.kubernetes.io/mode: Reconcile addonmanager.kubernetes.io/mode: Reconcile
spec: spec:
privileged: false privileged: false

View file

@ -5,7 +5,6 @@ metadata:
name: registry-pvc name: registry-pvc
namespace: {{ registry_namespace }} namespace: {{ registry_namespace }}
labels: labels:
kubernetes.io/cluster-service: "true"
addonmanager.kubernetes.io/mode: Reconcile addonmanager.kubernetes.io/mode: Reconcile
spec: spec:
accessModes: accessModes:

View file

@ -7,7 +7,6 @@ metadata:
labels: labels:
k8s-app: registry k8s-app: registry
version: v{{ registry_image_tag }} version: v{{ registry_image_tag }}
kubernetes.io/cluster-service: "true"
addonmanager.kubernetes.io/mode: Reconcile addonmanager.kubernetes.io/mode: Reconcile
spec: spec:
replicas: 1 replicas: 1
@ -20,7 +19,6 @@ spec:
labels: labels:
k8s-app: registry k8s-app: registry
version: v{{ registry_image_tag }} version: v{{ registry_image_tag }}
kubernetes.io/cluster-service: "true"
spec: spec:
priorityClassName: {% if registry_namespace == 'kube-system' %}system-cluster-critical{% else %}k8s-cluster-critical{% endif %}{{''}} priorityClassName: {% if registry_namespace == 'kube-system' %}system-cluster-critical{% else %}k8s-cluster-critical{% endif %}{{''}}
serviceAccountName: registry serviceAccountName: registry

View file

@ -3,5 +3,3 @@ kind: ServiceAccount
metadata: metadata:
name: registry name: registry
namespace: {{ registry_namespace }} namespace: {{ registry_namespace }}
labels:
kubernetes.io/cluster-service: "true"

View file

@ -6,7 +6,6 @@ metadata:
namespace: {{ registry_namespace }} namespace: {{ registry_namespace }}
labels: labels:
k8s-app: registry k8s-app: registry
kubernetes.io/cluster-service: "true"
addonmanager.kubernetes.io/mode: Reconcile addonmanager.kubernetes.io/mode: Reconcile
kubernetes.io/name: "KubeRegistry" kubernetes.io/name: "KubeRegistry"
spec: spec:

View file

@ -4,5 +4,3 @@ kind: ServiceAccount
metadata: metadata:
name: calico-node name: calico-node
namespace: kube-system namespace: kube-system
labels:
kubernetes.io/cluster-service: "true"

View file

@ -4,6 +4,3 @@ kind: ServiceAccount
metadata: metadata:
name: canal name: canal
namespace: kube-system namespace: kube-system
labels:
kubernetes.io/cluster-service: "true"

View file

@ -3,14 +3,12 @@ kind: DaemonSet
metadata: metadata:
labels: labels:
k8s-app: cilium k8s-app: cilium
kubernetes.io/cluster-service: "true"
name: cilium name: cilium
namespace: kube-system namespace: kube-system
spec: spec:
selector: selector:
matchLabels: matchLabels:
k8s-app: cilium k8s-app: cilium
kubernetes.io/cluster-service: "true"
template: template:
metadata: metadata:
annotations: annotations:
@ -26,7 +24,6 @@ spec:
scheduler.alpha.kubernetes.io/tolerations: '[{"key":"dedicated","operator":"Equal","value":"master","effect":"NoSchedule"}]' scheduler.alpha.kubernetes.io/tolerations: '[{"key":"dedicated","operator":"Equal","value":"master","effect":"NoSchedule"}]'
labels: labels:
k8s-app: cilium k8s-app: cilium
kubernetes.io/cluster-service: "true"
spec: spec:
containers: containers:
- args: - args:

View file

@ -3,5 +3,3 @@ kind: ServiceAccount
metadata: metadata:
name: contiv-netmaster name: contiv-netmaster
namespace: kube-system namespace: kube-system
labels:
kubernetes.io/cluster-service: "true"

View file

@ -3,5 +3,3 @@ kind: ServiceAccount
metadata: metadata:
name: contiv-netplugin name: contiv-netplugin
namespace: kube-system namespace: kube-system
labels:
kubernetes.io/cluster-service: "true"