You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It turns out that instead of sharing same volumes, files, secrets and ENV vars for each Deployment, we can just create PodPresets for each resource like volume, vars, secrets with selectors that will apply resource sharing with specific containers.
This would help to avoid resource/code duplication and slightly simplify K8s objects.
Admission Controllers is the replacement, however it requires running an additional process in the k8s control plane.
I looked at adding my some of my changes via such an admissions controller, but I don't want to run or maintain such a controller at this point; Instead I opted for direct changes to the helm templates instead.
As this is no longer "low hanging fruit", I'm going to close this.
It turns out that instead of sharing same volumes, files, secrets and ENV vars for each
Deployment
, we can just createPodPresets
for each resource like volume, vars, secrets with selectors that will apply resource sharing with specific containers.This would help to avoid resource/code duplication and slightly simplify K8s objects.
See
The text was updated successfully, but these errors were encountered: