apiVersion: bcc.bd-apaas.com/v1alpha1 kind: IngressRoute metadata: name: {{.Release.Name}} namespace: {{ .Release.Namespace }} spec: entryPoints: - websecure routes: - kind: Rule match: Host(`{{ .Values.global.host }}`) && PathPrefix(`/sms/api`) middlewares: [] priority: 0 services: - kind: Service name: sms-verify-api port: 80 - kind: Rule match: Host(`{{ .Values.global.host }}`) && PathPrefix(`/usma/ui`) middlewares: [] priority: 0 services: - kind: Service name: usma-ui port: 80 - kind: Rule match: Host(`{{ .Values.global.host }}`) && PathPrefix(`/bgfile`) middlewares: [] priority: 0 services: - kind: Service name: file-upload port: 80 - kind: Rule match: Host(`{{ .Values.global.host }}`) && PathPrefix(`/usma/api`) middlewares: [] priority: 0 services: - kind: Service name: usma-api port: 80 - kind: Rule match: Host(`{{ .Values.global.host }}`) && PathPrefix(`/iam/api`) middlewares: [] priority: 0 services: - kind: Service name: usma-login-api port: 80 - kind: Rule match: Host(`{{ .Values.global.host }}`) && PathPrefix(`/usma/login`) middlewares: [] priority: 0 services: - kind: Service name: usma-login port: 80 tls: certResolver: "default" --- apiVersion: bcc.bd-apaas.com/v1alpha1 kind: IngressHost metadata: name: {{.Release.Name}} namespace: {{ .Release.Namespace }} spec: host: {{ .Values.global.host }}