-
Notifications
You must be signed in to change notification settings - Fork 321
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Default to excluding system ns's from injection (#726)
* Default to excluding system ns's from injection kube-system is excluded because it's unlikely users will want to provision Connect pods in that namespace and also because we don't want to block pods being provisioned there if our webhook injector is down. local-path-storage is excluded because this ns is used by kind to provision PVCs and if ACLs are enabled then the install gets into a deadlock where: - PVC can't be provisioned because Kind needs to create a Pod - Pod can't be created because injector webhook needs to be up - injector webhook can't come up until its got an ACL token - ACL token can't be provisioned because Consul server isn't up - Consul server can't be started because it doesn't have a PVC NOTE: This matching is only supported in Kube 1.21+ where they've added these labels to namespaces automatically now.
- Loading branch information
Showing
3 changed files
with
15 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters