Created
February 18, 2019 20:39
-
-
Save sbueringer/8b54f6bec5418c3739b490c65353eab3 to your computer and use it in GitHub Desktop.
blog-opa-perf-mutating-webhook-optimized.yaml
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
kind: MutatingWebhookConfiguration | |
apiVersion: admissionregistration.k8s.io/v1beta1 | |
metadata: | |
name: opa | |
webhooks: | |
- name: opa.k8s.io | |
rules: | |
- operations: | |
- CREATE | |
- UPDATE | |
apiVersions: ["*"] | |
apiGroups: | |
- "" | |
resources: | |
- pods | |
- services | |
- namespaces | |
- persistentvolumes | |
- operations: | |
- CREATE | |
- UPDATE | |
apiVersions: ["*"] | |
apiGroups: | |
- apiextensions.k8s.io | |
resources: | |
- customresourcedefinitions |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment