forked from openkruise/kruise
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add webhook configuration into all_in_one (openkruise#50)
* Add webhook configuration into all_in_one, disable leaderelection by default * fix Makefile * update image in all_in_one * update image in all_in_one
- Loading branch information
Showing
18 changed files
with
170 additions
and
1,680 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -152,7 +152,6 @@ spec: | |
required: | ||
- selector | ||
- template | ||
- serviceName | ||
type: object | ||
status: | ||
properties: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
apiVersion: admissionregistration.k8s.io/v1beta1 | ||
kind: MutatingWebhookConfiguration | ||
metadata: | ||
name: kruise-mutating-webhook-configuration | ||
--- | ||
apiVersion: admissionregistration.k8s.io/v1beta1 | ||
kind: ValidatingWebhookConfiguration | ||
metadata: | ||
name: kruise-validating-webhook-configuration | ||
webhooks: | ||
- clientConfig: | ||
service: | ||
name: kruise-webhook-server-service | ||
namespace: kruise-system | ||
path: /validating-create-update-broadcastjob | ||
failurePolicy: Fail | ||
name: validating-create-update-broadcastjob.kruise.io | ||
namespaceSelector: | ||
matchExpressions: | ||
- key: control-plane | ||
operator: DoesNotExist | ||
rules: | ||
- apiGroups: | ||
- apps.kruise.io | ||
apiVersions: | ||
- v1alpha1 | ||
operations: | ||
- CREATE | ||
- UPDATE | ||
resources: | ||
- broadcastjobs | ||
sideEffects: Unknown | ||
- clientConfig: | ||
service: | ||
name: kruise-webhook-server-service | ||
namespace: kruise-system | ||
path: /validating-create-update-sidecarset | ||
failurePolicy: Fail | ||
name: validating-create-update-sidecarset.kruise.io | ||
namespaceSelector: | ||
matchExpressions: | ||
- key: control-plane | ||
operator: DoesNotExist | ||
rules: | ||
- apiGroups: | ||
- apps.kruise.io | ||
apiVersions: | ||
- v1alpha1 | ||
operations: | ||
- CREATE | ||
- UPDATE | ||
resources: | ||
- sidecarsets | ||
sideEffects: Unknown | ||
- clientConfig: | ||
service: | ||
name: kruise-webhook-server-service | ||
namespace: kruise-system | ||
path: /validating-create-update-statefulset | ||
failurePolicy: Fail | ||
name: validating-create-update-statefulset.kruise.io | ||
namespaceSelector: | ||
matchExpressions: | ||
- key: control-plane | ||
operator: DoesNotExist | ||
rules: | ||
- apiGroups: | ||
- apps.kruise.io | ||
apiVersions: | ||
- v1alpha1 | ||
operations: | ||
- CREATE | ||
- UPDATE | ||
resources: | ||
- statefulsets | ||
sideEffects: Unknown |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.