Skip to content

Commit cace14c

Browse files
Merge pull request #365 from StatCan/fix-jwa-authorization-policy
added authorization policy patch for jwa
2 parents 659ddc2 + 391eb55 commit cace14c

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
apiVersion: security.istio.io/v1beta1
2+
kind: AuthorizationPolicy
3+
metadata:
4+
name: jupyter-web-app
5+
spec:
6+
action: ALLOW
7+
rules:
8+
- from:
9+
- source:
10+
principals:
11+
- cluster.local/ns/istio-system/sa/kubeflow-service-account
12+
selector:
13+
matchLabels:
14+
app: jupyter-web-app

kustomize/apps/jupyter-web-app/base/kustomization.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ patchesStrategicMerge:
1010
- cluster-role.yaml
1111
- deployment.yaml
1212
- vs.yaml
13+
- authorizationpolicy.yaml
1314

1415
configMapGenerator:
1516
- files:

0 commit comments

Comments
 (0)