chore(kustomize): validate pods on update

Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com>
This commit is contained in:
Oliver Bähler
2022-12-29 17:49:45 +01:00
committed by Dario Tranchitella
parent 628efbb30f
commit f5cd194c05
4 changed files with 17 additions and 2 deletions
+3 -1
View File
@@ -2794,12 +2794,13 @@ spec:
defaultMode: 420
secretName: capsule-tls
---
apiVersion: capsule.clastix.io/v1alpha1
apiVersion: capsule.clastix.io/v1beta2
kind: CapsuleConfiguration
metadata:
name: capsule-default
namespace: capsule-system
spec:
enableTLSReconciler: true
forceTenantPrefix: false
protectedNamespaceRegex: ""
userGroups:
@@ -2980,6 +2981,7 @@ webhooks:
- v1
operations:
- CREATE
- UPDATE
resources:
- pods
scope: Namespaced
+2 -1
View File
@@ -1,4 +1,4 @@
apiVersion: capsule.clastix.io/v1alpha1
apiVersion: capsule.clastix.io/v1beta2
kind: CapsuleConfiguration
metadata:
name: default
@@ -6,3 +6,4 @@ spec:
userGroups: ["capsule.clastix.io"]
forceTenantPrefix: false
protectedNamespaceRegex: ""
enableTLSReconciler: true
@@ -0,0 +1,11 @@
---
apiVersion: capsule.clastix.io/v1beta2
kind: CapsuleConfiguration
metadata:
name: default
spec:
userGroups: ["capsule.clastix.io"]
forceTenantPrefix: false
protectedNamespaceRegex: ""
enableTLSReconciler: true
+1
View File
@@ -151,6 +151,7 @@ webhooks:
- v1
operations:
- CREATE
- UPDATE
resources:
- pods
sideEffects: None