Skip to content
This repository was archived by the owner on Dec 21, 2023. It is now read-only.

WIP: Check K8S version to be < 1.19 before installing ingress resource#180

Closed
warber wants to merge 25 commits intomasterfrom
feature/177/enhanced-configure-istio-script
Closed

WIP: Check K8S version to be < 1.19 before installing ingress resource#180
warber wants to merge 25 commits intomasterfrom
feature/177/enhanced-configure-istio-script

Conversation

@warber
Copy link
Copy Markdown
Contributor

@warber warber commented Jun 18, 2021

This PR checks the Kubernetes minor version before installing the K8S ingress resource for istio.
If it is <19, it will install the ingress using api version networking.k8s.io/v1beta1 (as v1 is not supported for these versions) otherwise it will use networking.k8s.io/v1 (as v1beta1 will be removed from beginning with 1.22`)

The solution is not optimal:

  • requires jq (jsonpath seems not to be supported by kubectl version 😞 )
  • only considers minor version (which is for the moment kind of OK)

Signed-off-by: warber bernd.warmuth@dynatrace.com

bacherfl and others added 25 commits March 24, 2021 09:41
Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
Signed-off-by: Christian Kreuzberger <christian.kreuzberger@dynatrace.com>
Signed-off-by: Christian Kreuzberger <christian.kreuzberger@dynatrace.com>
…diation

Signed-off-by: Christian Kreuzberger <christian.kreuzberger@dynatrace.com>
Signed-off-by: Christian Kreuzberger <christian.kreuzberger@dynatrace.com>
…script

#157 Improve output of configure-istio.sh script
Signed-off-by: Christian Kreuzberger <christian.kreuzberger@dynatrace.com>
#165 Added SLO file for dynatrace self healing example
Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
Signed-off-by: Christian Kreuzberger <christian.kreuzberger@dynatrace.com>
Signed-off-by: TannerGabriel <gabrieltanner.code@gmail.com>
Update istio ingress API version
Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
…ith v1 k8s networking api

Signed-off-by: warber <bernd.warmuth@dynatrace.com>
…ew-api-version

updated ingress manifest in configure-istio.sh
Signed-off-by: warber <bernd.warmuth@dynatrace.com>
@warber warber marked this pull request as draft June 18, 2021 06:18
@warber warber changed the title Check K8S version to be < 1.19 before installing ingress resource WIP: Check K8S version to be < 1.19 before installing ingress resource Jun 18, 2021
@DavidPHirsch
Copy link
Copy Markdown
Member

outdated

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants