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

fix common ingress template #59

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

sillydong
Copy link

ingress:
  enabled: true
  annotations: {
    kubernetes.io/ingress.class: nginx
    # kubernetes.io/tls-acme: "true"
  }
  hosts:
    - host: testhost
      paths:
      - path: /
        pathType: Prefix
        backend:
          serviceName: service-a
          servicePort: 80
      - path: /api
        pathType: Prefix
        backend:
          serviceName: service-b
          servicePort: 80

For ingress configuration like the upper code, we need to parse each path and set up their backend serviceName and servicePort. We can not use app name as serviceName and app service port as servicePort.

@sillydong
Copy link
Author

Hi @nicholaswilde, is there anything I can do? Do i need to modify anything in this PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants