Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

services should be created if ingress is disabled #43

Open
raffaelespazzoli opened this issue Aug 22, 2024 · 0 comments · Fixed by #52
Open

services should be created if ingress is disabled #43

raffaelespazzoli opened this issue Aug 22, 2024 · 0 comments · Fixed by #52
Labels
enhancement New feature or request

Comments

@raffaelespazzoli
Copy link

this allows for manual use of different ingresses.
In particular the way ingress is designed here does not work for OCP. It would be nice to have support for OCP.
This would fix the issue for OCP (but the services are needed):

kind: Route
apiVersion: route.openshift.io/v1
metadata:
  name: velero-ui
spec:
  host: velero.apps.${CLUSTER_BASE_DOMAIN}
  path: /
  to:
    kind: Service
    name: velero-ui-vui-ui
    weight: 100
  port:
    targetPort: velero-ui
  tls:
    termination: edge
    insecureEdgeTerminationPolicy: Redirect
  wildcardPolicy: None
---
kind: Route
apiVersion: route.openshift.io/v1
metadata:
  name: velero-api
spec:
  host: velero.apps.${CLUSTER_BASE_DOMAIN}
  path: /api
  to:
    kind: Service
    name: velero-ui-vui-api
    weight: 100
  port:
    targetPort: 8001
  tls:
    termination: edge
    insecureEdgeTerminationPolicy: Redirect
  wildcardPolicy: None  
---
kind: Route
apiVersion: route.openshift.io/v1
metadata:
  name: velero-ws
spec:
  host: velero.apps.${CLUSTER_BASE_DOMAIN}
  path: /ws
  to:
    kind: Service
    name: velero-ui-vui-api
    weight: 100
  port:
    targetPort: 8001
  tls:
    termination: edge
    insecureEdgeTerminationPolicy: Redirect
  wildcardPolicy: None
@davideserio davideserio added the enhancement New feature or request label Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants