update kubeflow dip-catalog
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: auth
|
||||
|
||||
resources:
|
||||
- ../../base
|
||||
- virtual-service.yaml
|
||||
|
||||
configurations:
|
||||
- params.yaml
|
||||
|
||||
replacements:
|
||||
- source:
|
||||
version: v1
|
||||
kind: Service
|
||||
name: dex
|
||||
fieldPath: metadata.name
|
||||
targets:
|
||||
- fieldPaths:
|
||||
- spec.http.0.route.0.destination.host
|
||||
options:
|
||||
delimiter: .
|
||||
select:
|
||||
version: v1alpha3
|
||||
group: networking.istio.io
|
||||
kind: VirtualService
|
||||
name: dex
|
||||
- source:
|
||||
fieldPath: metadata.namespace
|
||||
kind: Service
|
||||
name: dex
|
||||
version: v1
|
||||
targets:
|
||||
- fieldPaths:
|
||||
- spec.http.0.route.0.destination.host
|
||||
options:
|
||||
delimiter: .
|
||||
index: 1
|
||||
select:
|
||||
version: v1alpha3
|
||||
group: networking.istio.io
|
||||
kind: VirtualService
|
||||
name: dex
|
||||
@@ -0,0 +1,3 @@
|
||||
varReference:
|
||||
- path: spec/http/route/destination/host
|
||||
kind: VirtualService
|
||||
@@ -0,0 +1,22 @@
|
||||
# This config is gated on kiali upgrade to 0.21 from 0.16 in istio 1.1.6:
|
||||
# https://github.com/kiali/kiali/issues/1154
|
||||
# https://github.com/istio/istio/issues/11131
|
||||
|
||||
apiVersion: networking.istio.io/v1alpha3
|
||||
kind: VirtualService
|
||||
metadata:
|
||||
name: dex
|
||||
spec:
|
||||
gateways:
|
||||
- kubeflow/kubeflow-gateway
|
||||
hosts:
|
||||
- '*'
|
||||
http:
|
||||
- match:
|
||||
- uri:
|
||||
prefix: /dex/
|
||||
route:
|
||||
- destination:
|
||||
host: $(DEX_SERVICE).$(DEX_NAMESPACE).svc.cluster.local
|
||||
port:
|
||||
number: 5556
|
||||
@@ -0,0 +1,30 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: dex
|
||||
data:
|
||||
config.yaml: |
|
||||
issuer: http://dex.auth.svc.cluster.local:5556/dex
|
||||
storage:
|
||||
type: kubernetes
|
||||
config:
|
||||
inCluster: true
|
||||
web:
|
||||
http: 0.0.0.0:5556
|
||||
logger:
|
||||
level: "debug"
|
||||
format: text
|
||||
oauth2:
|
||||
skipApprovalScreen: true
|
||||
enablePasswordDB: true
|
||||
staticPasswords:
|
||||
- email: user@example.com
|
||||
hashFromEnv: DEX_USER_PASSWORD
|
||||
username: user
|
||||
userID: "15841185641784"
|
||||
staticClients:
|
||||
# https://github.com/dexidp/dex/pull/1664
|
||||
- idEnv: OIDC_CLIENT_ID
|
||||
redirectURIs: ["/oauth2/callback"]
|
||||
name: 'Dex Login Application'
|
||||
secretEnv: OIDC_CLIENT_SECRET
|
||||
@@ -0,0 +1,14 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
resources:
|
||||
- ../istio
|
||||
|
||||
patches:
|
||||
- path: config-map.yaml
|
||||
target:
|
||||
version: v1
|
||||
kind: ConfigMap
|
||||
name: dex
|
||||
namespace: auth
|
||||
|
||||
Reference in New Issue
Block a user