Created
April 3, 2020 16:36
-
-
Save evankanderson/486ab0afc66dfdc0aae7e69b1fbe2053 to your computer and use it in GitHub Desktop.
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
apiGroup: security.knative.dev/v1alpha1 | |
kind: PolicyBinding | |
metadata: | |
name: green-service | |
spec: | |
policy: green-policy | |
targets: | |
- apiGroup: serving.knative.dev/v1 | |
kind: Service | |
selector: | |
matchExpressions: # Matcrh all services except those labelled with access=exposed | |
- {key: access, operator: NotIn, values: [exposed]} | |
- apiGroup: eventing.knative.dev/v1beta1 | |
kind: Broker | |
name: x-broker |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment