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

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

Merged
merged 3 commits into from Aug 20, 2018
Merged

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

merged 3 commits into from Aug 20, 2018

Conversation

shaikatz
Copy link
Contributor

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

@k8s-ci-robot
Copy link
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.


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 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
Contributor Author

/assign @linki

@linki
Copy link
Contributor

linki commented Aug 15, 2018

Could you sign the CLA @shaikatz?

@linki
Copy link
Contributor

linki commented Aug 15, 2018

/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
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
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
Contributor Author

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

@linki
Copy link
Contributor

linki commented Aug 20, 2018

/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
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

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
marekaf pushed a commit to marekaf/charts that referenced this pull request Sep 4, 2018
* Support K8S older then 1.9

* Use APIVersion

* Go the other direction

Signed-off-by: Marek Bartik <mab@revolgy.com>
Signed-off-by: Marek Bartik <bartimar6@gmail.com>
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 <ajwilhel@gmail.com>
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 <ajwilhel@gmail.com>
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 <info@jakobniggel.de>
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.

None yet

4 participants