Skip to content

Instantly share code, notes, and snippets.

@velotiotech
Created July 28, 2020 05:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save velotiotech/b2ef192a7be0e68aaef1536a43b24d6d to your computer and use it in GitHub Desktop.
Save velotiotech/b2ef192a7be0e68aaef1536a43b24d6d to your computer and use it in GitHub Desktop.
apiVersion: admissionregistration.k8s.io/v1
kind: MutatingWebhookConfiguration
metadata:
name: mutation-config
webhooks:
- admissionReviewVersions:
- v1beta1
name: mapplication.kb.io
clientConfig:
caBundle: ${CA_BUNDLE}
service:
name: webhook-service
namespace: default
path: /mutate
rules:
- apiGroups:
- apps
- apiVersions:
- v1
resources:
- deployments
sideEffects: None
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment