Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

[all] Add support to ingress networking.k8s.io/v1 & ingressClassName #1409

Merged
merged 14 commits into from Oct 14, 2021

Conversation

framsouza
Copy link
Contributor

@framsouza framsouza commented Oct 11, 2021

This PR adds support to ingress networking.k8s.io/v1 that was added in Kubernetes v1.19.

Fix #1381
Fix #1136

@cla-checker-service
Copy link

cla-checker-service bot commented Oct 11, 2021

💚 CLA has been signed

Copy link
Member

@jmlrt jmlrt left a comment

Choose a reason for hiding this comment

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

Thanks for this PR @framsouza, note that most comment I did for apm-server/templates/ingress.yaml are also valid for the other charts

apm-server/templates/ingress.yaml Show resolved Hide resolved
apm-server/templates/ingress.yaml Outdated Show resolved Hide resolved
apm-server/templates/ingress.yaml Show resolved Hide resolved
apm-server/templates/ingress.yaml Show resolved Hide resolved
apm-server/templates/ingress.yaml Show resolved Hide resolved
elasticsearch/values.yaml Outdated Show resolved Hide resolved
elasticsearch/values.yaml Outdated Show resolved Hide resolved
kibana/values.yaml Outdated Show resolved Hide resolved
kibana/values.yaml Show resolved Hide resolved
@jmlrt
Copy link
Member

jmlrt commented Oct 12, 2021

Following #1410 merge, we don't need to support anymore K8S 1.18, so we may avoid using semverCompare in several places. However, we still need to find a way to ensure some kind of backward compatibility for the upgrade when using the ingress backend syntax with serviceName and servicePort.

@jmlrt jmlrt merged commit 57aa59a into elastic:main Oct 14, 2021
@framsouza framsouza deleted the master branch October 14, 2021 09:35
@jmlrt jmlrt added v7.16.1 and removed v7.16.0 labels Dec 13, 2021
jmlrt pushed a commit to jmlrt/helm-charts that referenced this pull request Dec 14, 2021
…lastic#1409)

* Adding support to Ingress networking.k8s.io/v1

* Adjusting ES service name

* Removing ingress typo & adjusting python test

* Adjusting python tests to use the new ingress version

* fixing conflict

* Adding support to kubernetes ingress v1 & ClassName

* Adding reformatted files

* fixing conflict

* Adding ClassName & Pathtype on ingress settings

* Performing syntax adjustments and removing comments
jmlrt pushed a commit to jmlrt/helm-charts that referenced this pull request Dec 14, 2021
…lastic#1409)

* Adding support to Ingress networking.k8s.io/v1

* Adjusting ES service name

* Removing ingress typo & adjusting python test

* Adjusting python tests to use the new ingress version

* fixing conflict

* Adding support to kubernetes ingress v1 & ClassName

* Adding reformatted files

* fixing conflict

* Adding ClassName & Pathtype on ingress settings

* Performing syntax adjustments and removing comments
jmlrt added a commit to jmlrt/helm-charts that referenced this pull request Dec 14, 2021
jmlrt added a commit that referenced this pull request Dec 14, 2021
jmlrt added a commit to jmlrt/helm-charts that referenced this pull request Dec 14, 2021
jmlrt added a commit to jmlrt/helm-charts that referenced this pull request Dec 14, 2021
jmlrt added a commit that referenced this pull request Dec 14, 2021
…1409) (#1478)

* Adding support to Ingress networking.k8s.io/v1

* Adjusting ES service name

* Removing ingress typo & adjusting python test

* Adjusting python tests to use the new ingress version

* fixing conflict

* Adding support to kubernetes ingress v1 & ClassName

* Adding reformatted files

* fixing conflict

* Adding ClassName & Pathtype on ingress settings

* Performing syntax adjustments and removing comments

Co-authored-by: framsouza <francismara.souza@elastic.co>
jmlrt added a commit that referenced this pull request Dec 14, 2021
…1409) (#1479)

* Adding support to Ingress networking.k8s.io/v1

* Adjusting ES service name

* Removing ingress typo & adjusting python test

* Adjusting python tests to use the new ingress version

* fixing conflict

* Adding support to kubernetes ingress v1 & ClassName

* Adding reformatted files

* fixing conflict

* Adding ClassName & Pathtype on ingress settings

* Performing syntax adjustments and removing comments

Co-authored-by: framsouza <francismara.souza@elastic.co>
jmlrt added a commit that referenced this pull request Dec 14, 2021
jmlrt added a commit that referenced this pull request Dec 14, 2021
@jmlrt jmlrt mentioned this pull request Dec 14, 2021
@jmlrt jmlrt mentioned this pull request Mar 8, 2022
@jmlrt jmlrt mentioned this pull request Apr 21, 2022
This was referenced Sep 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add ingressClassName field to ingress manifest ingress networking.k8s.io/v1beta1 is deprecated
2 participants