Skip to content

Instantly share code, notes, and snippets.

@gonfva
Created January 18, 2019 14:41
Show Gist options
  • Select an option

  • Save gonfva/72af1573644ff651a82575d4ce6d1c32 to your computer and use it in GitHub Desktop.

Select an option

Save gonfva/72af1573644ff651a82575d4ce6d1c32 to your computer and use it in GitHub Desktop.
Admission controllers (still not working)
apiVersion: admissionregistration.k8s.io/v1beta1
kind: ValidatingWebhookConfiguration
metadata:
name: pullPolicyMutator
webHooks:
- name: mutator
rules:
- apiGroups:
- ""
apiVersions:
- v1
operations:
- CREATE
resources:
- pods
clientConfig:
service:
namespace: kube-system
name: pullPolicyMutator-svc
caBundle:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment