Skip to content
This repository was archived by the owner on Feb 22, 2022. It is now read-only.

[stable/chaoskube] Support K8S older then 1.9 - #7195

Merged
k8s-ci-robot merged 3 commits into
helm:masterfrom
shaikatz:support-old-k8s
Aug 20, 2018
Merged

k8s-ci-robot merged 3 commits into
helm:masterfrom
shaikatz:support-old-k8s

Conversation

@shaikatz

Copy link
Copy Markdown
Contributor

Add support for API versions for older k8s in the deployment file.

@k8s-ci-robot

Copy link
Copy Markdown
Contributor

Thanks for your pull request. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

📝 Please follow instructions at https://git.k8s.io/community/CLA.md#the-contributor-license-agreement to sign the CLA.

It may take a couple minutes for the CLA signature to be fully registered; after that, please reply here with a new comment and we'll verify. Thanks.


Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@k8s-ci-robot k8s-ci-robot added the cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. label Aug 15, 2018
@k8s-ci-robot
k8s-ci-robot requested review from lachie83 and linki August 15, 2018 14:18
@k8s-ci-robot k8s-ci-robot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Aug 15, 2018
@shaikatz

Copy link
Copy Markdown
Contributor Author

/assign @linki

@linki

linki commented Aug 15, 2018

Copy link
Copy Markdown
Contributor

Could you sign the CLA @shaikatz?

@linki

linki commented Aug 15, 2018

Copy link
Copy Markdown
Contributor

/ok-to-test

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. labels Aug 15, 2018
@shaikatz

Copy link
Copy Markdown
Contributor Author

@linki I had some issues signing the CLA, it's ready now :)

@@ -1,4 +1,8 @@
{{- if semverCompare "^1.9-0" .Capabilities.KubeVersion.GitVersion }}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Is it better to use capabilities in https://github.com/helm/helm/blob/master/docs/chart_template_guide/builtin_objects.md: "Capabilities.APIVersions.Has $version indicates whether a version (batch/v1) is enabled on the cluster."

@shaikatz

Copy link
Copy Markdown
Contributor Author

@davidkarlsen Cool method, wasn't familiar with that.

@linki

linki commented Aug 20, 2018

Copy link
Copy Markdown
Contributor

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Aug 20, 2018
@k8s-ci-robot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: linki, shaikatz

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 20, 2018
@k8s-ci-robot
k8s-ci-robot merged commit dd294af into helm:master Aug 20, 2018
aba182 pushed a commit to aba182/charts that referenced this pull request Sep 7, 2018
* Support K8S older then 1.9

* Use APIVersion

* Go the other direction

Signed-off-by: aba182 <[email protected]>
aba182 pushed a commit to aba182/charts that referenced this pull request Sep 7, 2018
* Support K8S older then 1.9

* Use APIVersion

* Go the other direction

Signed-off-by: aba182 <[email protected]>
Jnig pushed a commit to Jnig/charts that referenced this pull request Nov 13, 2018
* Support K8S older then 1.9

* Use APIVersion

* Go the other direction

Signed-off-by: Jakob Niggel <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants