Skip to content

Commit

Permalink
Move istio ingress configuration to the top of the CR file
Browse files Browse the repository at this point in the history
  • Loading branch information
ading1977 committed Mar 2, 2020
1 parent ed213b5 commit 4a90c0b
Showing 1 changed file with 49 additions and 47 deletions.
96 changes: 49 additions & 47 deletions deploy/crds/charts_v1alpha1_lemur_cr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,55 @@ spec:
vcenter:
enabled: false

# Istio ingress configuration
istioingress:
enabled: true
routes:
- match:
- uri:
prefix: /grafana
route:
- destination:
host: grafana.lemur.svc.cluster.local
port:
number: 3000
- match:
- uri:
prefix: /vmturbo/remoteMediation
rewrite:
uri: /remoteMediation
route:
- destination:
host: topology-processor.lemur.svc.cluster.local
port:
number: 8080
- match:
- uri:
prefix: /kiali
route:
- destination:
host: kiali.istio-system.svc.cluster.local
port:
number: 20001
- match:
- uri:
prefix: /jaeger
route:
- destination:
host: tracing.istio-system.svc.cluster.local
port:
number: 80
- match:
- uri:
prefix: /influxdb/query
rewrite:
uri: /query
route:
- destination:
host: influxdb.lemur.svc.cluster.local
port:
number: 8086

# Lemur service configurations and resource limits
api:
image:
Expand Down Expand Up @@ -203,53 +252,6 @@ spec:
nginxingress:
enabled: false
istioingress:
enabled: true
routes:
- match:
- uri:
prefix: /grafana
route:
- destination:
host: grafana.lemur.svc.cluster.local
port:
number: 3000
- match:
- uri:
prefix: /vmturbo/remoteMediation
rewrite:
uri: /remoteMediation
route:
- destination:
host: topology-processor.lemur.svc.cluster.local
port:
number: 8080
- match:
- uri:
prefix: /kiali
route:
- destination:
host: kiali.istio-system.svc.cluster.local
port:
number: 20001
- match:
- uri:
prefix: /jaeger
route:
- destination:
host: tracing.istio-system.svc.cluster.local
port:
number: 80
- match:
- uri:
prefix: /influxdb/query
rewrite:
uri: /query
route:
- destination:
host: influxdb.lemur.svc.cluster.local
port:
number: 8086
platform:
enabled: true
control:
Expand Down

0 comments on commit 4a90c0b

Please sign in to comment.