-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
Description
Currently, the autoinjector service watches deployments and adds proxies to deployments. However, deployments are only created/updated when a user invokes kubectl apply... As we introduce injector config that might be dynamic (i.e. a user may change it at runtime), this means that existing deployments would have no way of using this configuration as the deployments pods are (re-)created.
What if, instead of getting notifications about deployment updates, we watch for Pod creation? I think this will enable the injector to apply configuration on pod creation (i.e. if i delete a pod of an existing deployment, a new pod will be created and get injected anew with config).
Reactions are currently unavailable