Deploy GitHub Pages
This commit is contained in:
parent
be1fab20d2
commit
9512d17973
69 changed files with 246 additions and 114 deletions
18
examples/openpolicyagent/tests/should-allow-ns-except.yaml
Normal file
18
examples/openpolicyagent/tests/should-allow-ns-except.yaml
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
creationTimestamp: null
|
||||
name: simple
|
||||
namespace: privileged
|
||||
spec:
|
||||
rules:
|
||||
- host: foo1.com
|
||||
http:
|
||||
paths:
|
||||
- backend:
|
||||
service:
|
||||
name: svc1
|
||||
port:
|
||||
number: 8080
|
||||
path: /bar
|
||||
pathType: ImplementationSpecific
|
||||
17
examples/openpolicyagent/tests/should-allow.yaml
Normal file
17
examples/openpolicyagent/tests/should-allow.yaml
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
creationTimestamp: null
|
||||
name: simple
|
||||
spec:
|
||||
rules:
|
||||
- host: foo.com
|
||||
http:
|
||||
paths:
|
||||
- backend:
|
||||
service:
|
||||
name: svc1
|
||||
port:
|
||||
number: 8080
|
||||
path: /bar
|
||||
pathType: Exact
|
||||
17
examples/openpolicyagent/tests/should-deny.yaml
Normal file
17
examples/openpolicyagent/tests/should-deny.yaml
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
creationTimestamp: null
|
||||
name: simple
|
||||
spec:
|
||||
rules:
|
||||
- host: foo2.com
|
||||
http:
|
||||
paths:
|
||||
- backend:
|
||||
service:
|
||||
name: svc1
|
||||
port:
|
||||
number: 8080
|
||||
path: /bar
|
||||
pathType: ImplementationSpecific
|
||||
Loading…
Add table
Add a link
Reference in a new issue