-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
[processor/k8sattribute] run tests on 4 latest k8s version #18767
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' | ||
change_type: enhancement | ||
|
||
# The name of the component, or a single word describing the area of concern, (e.g. filelogreceiver) | ||
component: k8sattributesprocessor | ||
|
||
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). | ||
note: run tests on 4 latest k8s version | ||
|
||
# One or more tracking issues related to the change | ||
issues: [18767] | ||
|
||
# (Optional) One or more lines of additional information to render under the primary note. | ||
# These lines will be padded with 2 spaces and then inserted directly into the document. | ||
# Use pipe (|) for multiline entries. | ||
subtext: |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,9 @@ on: | |
|
||
jobs: | ||
kubernetes-test: | ||
strategy: | ||
matrix: | ||
k8s-version: ["v1.26.0", "v1.25.3", "v1.24.7", "v1.23.13"] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Repo | ||
|
@@ -43,6 +46,9 @@ jobs: | |
uses: helm/chart-testing-action@v2.3.0 | ||
- name: Create kind cluster | ||
uses: helm/kind-action@v1.5.0 | ||
with: | ||
node_image: kindest/node:${{ matrix.k8s-version }} | ||
kubectl_version: ${{ matrix.k8s-version }} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Does it create k8s cluster with this version or just kubectl? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. My bad, this variable only effects the kubectl version, not cluster, I will check other variables. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
- name: Check kind | ||
run: | | ||
kubectl cluster-info --context kind-chart-testing | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to specify the patch version or can be
v1.26
etc?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://github.com/kubernetes-sigs/kind/releases
I got the supported versions in this page, and did not see other version in 1.26 .
I also check the kind official docker hub, only
1.26.0
is available.https://hub.docker.com/r/kindest/node/tags
@dmitryax
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, sounds good. Thanks for confirming