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

Support pathType field in the Ingress resource #1080

Merged
merged 8 commits into from
Aug 7, 2020
Merged

Conversation

LorcanMcVeigh
Copy link
Contributor

Proposed changes

Implement v1 k8s 1.18 ingress changes

  • update API in codebase
  • add exact path matching & document exact, prefix and implementationSpecific path matching
  • wildcard host domain names

Checklist

Before creating a PR, run through this checklist and mark each as complete.

  • I have read the CONTRIBUTING doc
  • I have added tests that prove my fix is effective or that my feature works
  • I have checked that all unit tests pass after adding my changes
  • I have updated necessary documentation
  • I have rebased my branch onto master
  • I will ensure my PR is targeting the master branch and pulling from my branch from my own fork

@lucacome
Copy link
Member

Should we change all the other examples in the docs that have extensions/v1beta1?

Copy link
Contributor

@pleshakov pleshakov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@LorcanMcVeigh please see my suggestions.

internal/configs/ingress.go Outdated Show resolved Hide resolved
internal/configs/ingress.go Outdated Show resolved Hide resolved
Copy link
Contributor

@pleshakov pleshakov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@LorcanMcVeigh please see comments/suggestion for the new code

deployments/rbac/rbac.yaml Outdated Show resolved Hide resolved
deployments/rbac/rbac.yaml Outdated Show resolved Hide resolved
deployments/helm-chart/templates/rbac.yaml Show resolved Hide resolved
internal/configs/ingress.go Outdated Show resolved Hide resolved
internal/configs/ingress.go Outdated Show resolved Hide resolved
internal/configs/ingress_test.go Outdated Show resolved Hide resolved
internal/configs/ingress_test.go Outdated Show resolved Hide resolved
{
pathType: v1beta1.PathType(""),
path: "/path/to/resource",
expected: "/path/to/resource",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you add a case when pathType is nil ? this case is possible

Copy link
Contributor

@pleshakov pleshakov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@LorcanMcVeigh LorcanMcVeigh merged commit 00618a6 into master Aug 7, 2020
@pleshakov pleshakov mentioned this pull request Oct 13, 2020
5 tasks
@Dean-Coakley Dean-Coakley changed the title Implement ingress changes Support pathType field in the Ingress resource Oct 14, 2020
@Dean-Coakley Dean-Coakley deleted the ingress-changes branch October 14, 2020 11:02
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.

4 participants