File tree Expand file tree Collapse file tree 5 files changed +79
-0
lines changed Expand file tree Collapse file tree 5 files changed +79
-0
lines changed Original file line number Diff line number Diff line change 1+ apiVersion : kustomize.config.k8s.io/v1beta1
2+ kind : Kustomization
3+
4+ # Adds namespace to all resources.
5+ namespace : kubeflow
6+
7+ # Labels to add to all resources and selectors.
8+ commonLabels :
9+ app : kserve
10+ app.kubernetes.io/name : kserve
11+
12+ bases :
13+ - ../../default
14+ - web-app-authorization-policy.yaml
15+
16+ patchesStrategicMerge :
17+ - patches/web-app-sidecar.yaml
18+
19+ patchesJson6902 :
20+ - target :
21+ group : networking.istio.io
22+ version : v1beta1
23+ kind : VirtualService
24+ name : kserve-models-web-app
25+ namespace : kserve
26+ path : patches/web-app-vsvc.yaml
27+
28+ generatorOptions :
29+ disableNameSuffixHash : true
30+
31+ # To make namespace for standalone installation kustomizable,
32+ # variabalize ingress gateway, webhook service name and
33+ # kserve namespace in webhook configurations
34+ configMapGenerator :
35+ - name : kserve-models-web-app-config
36+ behavior : replace
37+ literals :
38+ - USERID_HEADER=kubeflow-userid
39+
40+ configurations :
41+ - params.yaml
Original file line number Diff line number Diff line change 1+ commonLabels :
2+ - kind : AuthorizationPolicy
3+ path : spec/selector/matchLabels
4+ create : true
Original file line number Diff line number Diff line change 1+ apiVersion : apps/v1
2+ kind : Deployment
3+ metadata :
4+ name : kserve-models-web-app
5+ namespace : kserve
6+ spec :
7+ template :
8+ metadata :
9+ annotations :
10+ sidecar.istio.io/inject : " true"
Original file line number Diff line number Diff line change 1+ - op : replace
2+ path : /spec/http/0/route/0/destination
3+ value :
4+ host : kserve-models-web-app.kubeflow.svc.cluster.local
5+ port :
6+ number : 80
Original file line number Diff line number Diff line change 1+ apiVersion : security.istio.io/v1beta1
2+ kind : AuthorizationPolicy
3+ metadata :
4+ labels :
5+ kustomize.component : kserve-models-web-app
6+ app.kubernetes.io/component : kserve-models-web-app
7+ name : kserve-models-web-app
8+ spec :
9+ action : ALLOW
10+ selector :
11+ matchLabels :
12+ kustomize.component : kserve-models-web-app
13+ app.kubernetes.io/component : kserve-models-web-app
14+ rules :
15+ - from :
16+ - source :
17+ principals :
18+ - cluster.local/ns/istio-system/sa/istio-ingressgateway-service-account
You can’t perform that action at this time.
0 commit comments