You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
765 B
40 lines
765 B
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
kind: Kustomization
|
|
namespace: auth
|
|
|
|
resources:
|
|
- ../../base
|
|
- virtual-service.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
|
|
|