mirror of https://github.com/kubernetes/kops.git
Add labels
This commit is contained in:
parent
981f23964a
commit
98dbfdc11e
|
|
@ -265,6 +265,7 @@ data:
|
||||||
enable-endpoint-routes: "true"
|
enable-endpoint-routes: "true"
|
||||||
auto-create-cilium-node-resource: "true"
|
auto-create-cilium-node-resource: "true"
|
||||||
blacklist-conflicting-routes: "false"
|
blacklist-conflicting-routes: "false"
|
||||||
|
eni-tags: "{{ CloudLabels }}"
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
|
@ -387,6 +388,8 @@ apiVersion: rbac.authorization.k8s.io/v1
|
||||||
kind: ClusterRole
|
kind: ClusterRole
|
||||||
metadata:
|
metadata:
|
||||||
name: cilium
|
name: cilium
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/part-of: cilium
|
||||||
rules:
|
rules:
|
||||||
- apiGroups:
|
- apiGroups:
|
||||||
- networking.k8s.io
|
- networking.k8s.io
|
||||||
|
|
@ -491,6 +494,8 @@ apiVersion: rbac.authorization.k8s.io/v1
|
||||||
kind: ClusterRole
|
kind: ClusterRole
|
||||||
metadata:
|
metadata:
|
||||||
name: cilium-operator
|
name: cilium-operator
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/part-of: cilium
|
||||||
rules:
|
rules:
|
||||||
- apiGroups:
|
- apiGroups:
|
||||||
- ""
|
- ""
|
||||||
|
|
@ -710,6 +715,8 @@ apiVersion: rbac.authorization.k8s.io/v1
|
||||||
kind: ClusterRoleBinding
|
kind: ClusterRoleBinding
|
||||||
metadata:
|
metadata:
|
||||||
name: cilium
|
name: cilium
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/part-of: cilium
|
||||||
roleRef:
|
roleRef:
|
||||||
apiGroup: rbac.authorization.k8s.io
|
apiGroup: rbac.authorization.k8s.io
|
||||||
kind: ClusterRole
|
kind: ClusterRole
|
||||||
|
|
@ -723,6 +730,8 @@ apiVersion: rbac.authorization.k8s.io/v1
|
||||||
kind: ClusterRoleBinding
|
kind: ClusterRoleBinding
|
||||||
metadata:
|
metadata:
|
||||||
name: cilium-operator
|
name: cilium-operator
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/part-of: cilium
|
||||||
roleRef:
|
roleRef:
|
||||||
apiGroup: rbac.authorization.k8s.io
|
apiGroup: rbac.authorization.k8s.io
|
||||||
kind: ClusterRole
|
kind: ClusterRole
|
||||||
|
|
@ -889,6 +898,8 @@ metadata:
|
||||||
namespace: kube-system
|
namespace: kube-system
|
||||||
labels:
|
labels:
|
||||||
k8s-app: hubble-relay
|
k8s-app: hubble-relay
|
||||||
|
app.kubernetes.io/name: hubble-relay
|
||||||
|
app.kubernetes.io/part-of: cilium
|
||||||
spec:
|
spec:
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
selector:
|
selector:
|
||||||
|
|
@ -906,6 +917,8 @@ metadata:
|
||||||
namespace: kube-system
|
namespace: kube-system
|
||||||
labels:
|
labels:
|
||||||
k8s-app: cilium
|
k8s-app: cilium
|
||||||
|
app.kubernetes.io/part-of: cilium
|
||||||
|
app.kubernetes.io/name: cilium-agent
|
||||||
kubernetes.io/cluster-service: "true"
|
kubernetes.io/cluster-service: "true"
|
||||||
spec:
|
spec:
|
||||||
selector:
|
selector:
|
||||||
|
|
@ -930,6 +943,8 @@ spec:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
labels:
|
labels:
|
||||||
k8s-app: cilium
|
k8s-app: cilium
|
||||||
|
app.kubernetes.io/name: cilium-agent
|
||||||
|
app.kubernetes.io/part-of: cilium
|
||||||
kubernetes.io/cluster-service: "true"
|
kubernetes.io/cluster-service: "true"
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
|
|
@ -1068,7 +1083,6 @@ spec:
|
||||||
terminationMessagePolicy: FallbackToLogsOnError
|
terminationMessagePolicy: FallbackToLogsOnError
|
||||||
securityContext:
|
securityContext:
|
||||||
privileged: true
|
privileged: true
|
||||||
terminationMessagePolicy: FallbackToLogsOnError
|
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: bpf-maps
|
- name: bpf-maps
|
||||||
mountPath: /sys/fs/bpf
|
mountPath: /sys/fs/bpf
|
||||||
|
|
@ -1412,6 +1426,8 @@ metadata:
|
||||||
labels:
|
labels:
|
||||||
io.cilium/app: operator
|
io.cilium/app: operator
|
||||||
name: cilium-operator
|
name: cilium-operator
|
||||||
|
app.kubernetes.io/part-of: cilium
|
||||||
|
app.kubernetes.io/name: cilium-operator
|
||||||
name: cilium-operator
|
name: cilium-operator
|
||||||
namespace: kube-system
|
namespace: kube-system
|
||||||
spec:
|
spec:
|
||||||
|
|
@ -1434,6 +1450,8 @@ spec:
|
||||||
labels:
|
labels:
|
||||||
io.cilium/app: operator
|
io.cilium/app: operator
|
||||||
name: cilium-operator
|
name: cilium-operator
|
||||||
|
app.kubernetes.io/part-of: cilium
|
||||||
|
app.kubernetes.io/name: cilium-operator
|
||||||
spec:
|
spec:
|
||||||
nodeSelector: null
|
nodeSelector: null
|
||||||
affinity:
|
affinity:
|
||||||
|
|
@ -1578,6 +1596,8 @@ metadata:
|
||||||
namespace: kube-system
|
namespace: kube-system
|
||||||
labels:
|
labels:
|
||||||
k8s-app: hubble-relay
|
k8s-app: hubble-relay
|
||||||
|
app.kubernetes.io/name: hubble-relay
|
||||||
|
app.kubernetes.io/part-of: cilium
|
||||||
spec:
|
spec:
|
||||||
replicas: 2
|
replicas: 2
|
||||||
selector:
|
selector:
|
||||||
|
|
@ -1591,6 +1611,8 @@ spec:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
k8s-app: hubble-relay
|
k8s-app: hubble-relay
|
||||||
|
app.kubernetes.io/name: hubble-relay
|
||||||
|
app.kubernetes.io/part-of: cilium
|
||||||
spec:
|
spec:
|
||||||
securityContext:
|
securityContext:
|
||||||
fsGroup: 65532
|
fsGroup: 65532
|
||||||
|
|
@ -1697,6 +1719,7 @@ kind: Certificate
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
k8s-app: cilium
|
k8s-app: cilium
|
||||||
|
app.kubernetes.io/part-of: cilium
|
||||||
name: hubble-relay-client-certs
|
name: hubble-relay-client-certs
|
||||||
namespace: kube-system
|
namespace: kube-system
|
||||||
spec:
|
spec:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue