fix iam admission webhook (#2008)

Signed-off-by: hongming <talonwan@yunify.com>
This commit is contained in:
hongming
2020-04-14 00:15:18 +08:00
committed by GitHub
parent 864b244cc3
commit bb9e12be3d
4 changed files with 37 additions and 13 deletions

View File

@@ -1,5 +1,3 @@
---
apiVersion: admissionregistration.k8s.io/v1beta1
kind: MutatingWebhookConfiguration
metadata:
@@ -53,3 +51,19 @@ webhooks:
- UPDATE
resources:
- users
---
apiVersion: v1
kind: Service
metadata:
name: webhook-service
namespace: kubesphere-system
spec:
ports:
- port: 443
targetPort: 443
selector:
app: ks-controller-manager
tier: backend