update kubeflow dip-catalog
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
apiVersion: security.istio.io/v1beta1
|
||||
kind: AuthorizationPolicy
|
||||
metadata:
|
||||
name: central-dashboard
|
||||
spec:
|
||||
action: ALLOW
|
||||
rules:
|
||||
- from:
|
||||
- source:
|
||||
principals:
|
||||
- cluster.local/ns/istio-system/sa/istio-ingressgateway-service-account
|
||||
selector:
|
||||
matchLabels:
|
||||
app: centraldashboard
|
||||
@@ -0,0 +1,49 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../../base
|
||||
- virtual-service.yaml
|
||||
- authorizationpolicy.yaml
|
||||
namespace: kubeflow
|
||||
replacements:
|
||||
- source:
|
||||
fieldPath: metadata.namespace
|
||||
kind: Service
|
||||
name: centraldashboard
|
||||
version: v1
|
||||
targets:
|
||||
- fieldPaths:
|
||||
- spec.http.0.route.0.destination.host
|
||||
options:
|
||||
delimiter: .
|
||||
index: 1
|
||||
select:
|
||||
group: networking.istio.io
|
||||
kind: VirtualService
|
||||
name: centraldashboard
|
||||
version: v1alpha3
|
||||
- source:
|
||||
fieldPath: data.CD_CLUSTER_DOMAIN
|
||||
kind: ConfigMap
|
||||
name: centraldashboard-parameters
|
||||
version: v1
|
||||
targets:
|
||||
- fieldPaths:
|
||||
- spec.http.0.route.0.destination.host
|
||||
options:
|
||||
delimiter: .
|
||||
index: 3
|
||||
select:
|
||||
group: networking.istio.io
|
||||
kind: VirtualService
|
||||
name: centraldashboard
|
||||
version: v1alpha3
|
||||
configurations:
|
||||
- params.yaml
|
||||
labels:
|
||||
- includeSelectors: true
|
||||
pairs:
|
||||
app: centraldashboard
|
||||
app.kubernetes.io/component: centraldashboard
|
||||
app.kubernetes.io/name: centraldashboard
|
||||
kustomize.component: centraldashboard
|
||||
@@ -0,0 +1,3 @@
|
||||
varReference:
|
||||
- path: spec/http/route/destination/host
|
||||
kind: VirtualService
|
||||
@@ -0,0 +1,20 @@
|
||||
apiVersion: networking.istio.io/v1alpha3
|
||||
kind: VirtualService
|
||||
metadata:
|
||||
name: centraldashboard
|
||||
spec:
|
||||
gateways:
|
||||
- kubeflow-gateway
|
||||
hosts:
|
||||
- '*'
|
||||
http:
|
||||
- match:
|
||||
- uri:
|
||||
prefix: /
|
||||
rewrite:
|
||||
uri: /
|
||||
route:
|
||||
- destination:
|
||||
host: centraldashboard.CD_NAMESPACE_PLACEHOLDER.svc.CD_CLUSTER_DOMAIN_PLACEHOLDER
|
||||
port:
|
||||
number: 80
|
||||
Reference in New Issue
Block a user