Skip to content

Instantly share code, notes, and snippets.

@velotiotech
Created June 28, 2020 06:34
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save velotiotech/5dd9298de2c60b5dfa9c35d7ce15db1e to your computer and use it in GitHub Desktop.
Save velotiotech/5dd9298de2c60b5dfa9c35d7ce15db1e to your computer and use it in GitHub Desktop.
apiVersion: constraints.gatekeeper.sh/v1beta1
kind: LBTypeSvcNotAllowed
metadata:
name: deny-lb-type-svc-dev-ns
spec:
match:
kinds:
- apiGroups: [""]
kinds: ["Service"]
namespaces:
- "dev"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment