Skip to content

Instantly share code, notes, and snippets.

@akash-gautam
Last active May 18, 2020 08:28
Show Gist options
  • Save akash-gautam/f8766c3dc486e11b15b8b60eee0eb49f to your computer and use it in GitHub Desktop.
Save akash-gautam/f8766c3dc486e11b15b8b60eee0eb49f 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