-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Closed
Labels
kind/cfpCilium Feature ProposalCilium Feature Proposalkind/featureThis introduces new functionality.This introduces new functionality.
Description
Is your proposed feature related to a problem?
When using the following including label docs to configure the labels, the label io.cilium.k8s.policy.serviceaccount
is not included by default, which will cause the cilium connectivity test
fails and we have to include this label manually.
Describe the feature you'd like
Since cilium generates io.cilium.k8s.policy.serviceaccount
by default all the endpoints as the following output shows, we should also include this label as the default label in the labelfilter pkg like #31178 does since this should be considered as the cilium internal implementation.
root@kind-worker2:/home/cilium# cilium-dbg endpoint list
ENDPOINT POLICY (ingress) POLICY (egress) IDENTITY LABELS (source:key[=value]) IPv6 IPv4 STATUS
ENFORCEMENT ENFORCEMENT
393 Disabled Disabled 1 reserved:host ready
1965 Disabled Disabled 65293 k8s:io.cilium.k8s.namespace.labels.kubernetes.io/metadata.name=kube-system 192.168.1.98 ready
k8s:io.cilium.k8s.policy.cluster=kind-kind
k8s:io.cilium.k8s.policy.serviceaccount=coredns
k8s:io.kubernetes.pod.namespace=kube-system
Metadata
Metadata
Assignees
Labels
kind/cfpCilium Feature ProposalCilium Feature Proposalkind/featureThis introduces new functionality.This introduces new functionality.