disable injecting unnecessary variables allowing access to k8s API

This commit is contained in:
Paweł Krupa (paulfantom)
2022-02-04 14:08:52 +01:00
parent f51e9b14e9
commit 3429bc77a4
8 changed files with 12 additions and 0 deletions

View File

@@ -131,6 +131,7 @@ function(params)
spec+: {
template+: {
spec+: {
automountServiceAccountToken: true,
containers: std.map(function(c) c {
securityContext+: {
capabilities: { drop: ['ALL'] },