fix wehbhook error

Signed-off-by: xin.li <xin.li@daocloud.io>
This commit is contained in:
xin.li 2022-05-01 16:51:14 +08:00
parent 46dacea897
commit 649a212f4f
1 changed files with 3 additions and 3 deletions

View File

@ -44,7 +44,7 @@ In this case, you will use Gatekeeper v3.7.2. Related deployment files are from
- v1 - v1
- v1beta1 - v1beta1
clientConfig: clientConfig:
#Change the clientconfig from service type to url type cause wehbhook config and service are not in the same cluster. #Change the clientconfig from service type to url type cause webhook config and service are not in the same cluster.
url: https://gatekeeper-webhook-service.gatekeeper-system.svc:443/v1/mutate url: https://gatekeeper-webhook-service.gatekeeper-system.svc:443/v1/mutate
failurePolicy: Ignore failurePolicy: Ignore
matchPolicy: Exact matchPolicy: Exact
@ -77,7 +77,7 @@ In this case, you will use Gatekeeper v3.7.2. Related deployment files are from
- v1 - v1
- v1beta1 - v1beta1
clientConfig: clientConfig:
#Change the clientconfig from service type to url type cause wehbhook config and service are not in the same cluster. #Change the clientconfig from service type to url type cause webhook config and service are not in the same cluster.
url: https://gatekeeper-webhook-service.gatekeeper-system.svc:443/v1/admit url: https://gatekeeper-webhook-service.gatekeeper-system.svc:443/v1/admit
failurePolicy: Ignore failurePolicy: Ignore
matchPolicy: Exact matchPolicy: Exact
@ -102,7 +102,7 @@ In this case, you will use Gatekeeper v3.7.2. Related deployment files are from
- v1 - v1
- v1beta1 - v1beta1
clientConfig: clientConfig:
#Change the clientconfig from service type to url type cause wehbhook config and service are not in the same cluster. #Change the clientconfig from service type to url type cause webhook config and service are not in the same cluster.
url: https://gatekeeper-webhook-service.gatekeeper-system.svc:443/v1/admitlabel url: https://gatekeeper-webhook-service.gatekeeper-system.svc:443/v1/admitlabel
failurePolicy: Fail failurePolicy: Fail
matchPolicy: Exact matchPolicy: Exact