Skip to content
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

Upgraded e2e/apimachinery/aggregator to 1.10 Sample API server #68300

Merged
merged 1 commit into from
Oct 16, 2018

Conversation

yliaog
Copy link
Contributor

@yliaog yliaog commented Sep 5, 2018

What this PR does / why we need it:
Upgraded the e2e test "Should be able to support the 1.10 Sample API Server using the current Aggregator" from 1.7

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #63622

Special notes for your reviewer:

Release note:


@k8s-ci-robot k8s-ci-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. do-not-merge/release-note-label-needed Indicates that a PR should not merge because it's missing one of the release note labels. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. sig/testing Categorizes an issue or PR as relevant to SIG Testing. needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. and removed needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. labels Sep 5, 2018
@yliaog yliaog changed the title Upgraded the test in e2e/apimachinery/aggregator to 1.9 Sample API server Upgraded e2e/apimachinery/aggregator to 1.9 Sample API server Sep 5, 2018
@yliaog
Copy link
Contributor Author

yliaog commented Sep 5, 2018

/sig api-machinery

@k8s-ci-robot k8s-ci-robot added the sig/api-machinery Categorizes an issue or PR as relevant to SIG API Machinery. label Sep 5, 2018
@dims
Copy link
Member

dims commented Sep 6, 2018

/hold

@yliaog how can the sample-apiserver image be kubernetes 1.9 based? the Dockerfile still has not been updated! did someone push a image without a change being merged in k/k repository?

https://github.com/kubernetes/kubernetes/blob/master/test/images/sample-apiserver/Dockerfile#L26

@k8s-ci-robot k8s-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Sep 6, 2018
@fedebongio
Copy link
Contributor

@dims yes, that's my fault - I've generated and uploaded the image while I was working on upgrading the test, the yliao took over, but the image was uploaded. I'll fix it soon.

@fedebongio
Copy link
Contributor

That said, we also discussed having a test for 1.9, another one for 1.10, and so on for at least the -2 versions we support by policy. So in your opinion, which version should be in the master docker file?

@dims
Copy link
Member

dims commented Sep 6, 2018

@fedebongio i am good whatever you all come up with :) (logically the image name should probably have version number of k/ and the docker file should probably start from 1.0 and get bumped when the image gets updated.)

@fedebongio
Copy link
Contributor

/assign @fedebongio

@k8s-ci-robot
Copy link
Contributor

@fedebongio: GitHub didn't allow me to assign the following users: fedebongio.

Note that only kubernetes members and repo collaborators can be assigned.
For more information please see the contributor guide

In response to this:

/assign @fedebongio

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.

@ixdy
Copy link
Member

ixdy commented Sep 11, 2018

1.9 is about to become unsupported once 1.12 is released. should we be targeting something newer?

@fedebongio
Copy link
Contributor

I think the ideal is to have a test for the 3 supported versions that we support for policy. And yes, this is taking so long, that by the time we merge this one, will be deprecated (will always be better than 1.7...).

@fedebongio
Copy link
Contributor

Submitting #68545

@yliaog
Copy link
Contributor Author

yliaog commented Sep 21, 2018

/cc @cheftako

@yliaog yliaog changed the title Upgraded e2e/apimachinery/aggregator to 1.9 Sample API server Upgraded e2e/apimachinery/aggregator to 1.10 Sample API server Sep 28, 2018
@spiffxp
Copy link
Member

spiffxp commented Oct 4, 2018

/retest

@yliaog
Copy link
Contributor Author

yliaog commented Oct 8, 2018

Depend on #69239

@yliaog
Copy link
Contributor Author

yliaog commented Oct 15, 2018

after some in-depth investigations, it turns out the 1.10 sample-apiserver would need the following rbac permissions (in addition to the system:auth-delegator role). I'm updating the PR to add these.

================================
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: sample-apiserver
rules:

  • apiGroups:
    • admissionregistration.k8s.io
      resources:
    • '*'
      verbs:
    • list
  • apiGroups:
    • ''
      resources:
    • namespaces
      verbs:
    • list

@k8s-ci-robot k8s-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Oct 15, 2018
@yliaog
Copy link
Contributor Author

yliaog commented Oct 15, 2018

/retest

1 similar comment
@yliaog
Copy link
Contributor Author

yliaog commented Oct 15, 2018

/retest

Copy link
Member

@cheftako cheftako left a comment

Choose a reason for hiding this comment

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

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Oct 16, 2018
@yliaog
Copy link
Contributor Author

yliaog commented Oct 16, 2018

/remove hold

@yliaog
Copy link
Contributor Author

yliaog commented Oct 16, 2018

/hold cancel

@k8s-ci-robot k8s-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Oct 16, 2018
@cheftako
Copy link
Member

/approve

@janetkuo janetkuo self-assigned this Oct 16, 2018
@janetkuo
Copy link
Member

/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cheftako, janetkuo, yliaog

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 Oct 16, 2018
@yliaog
Copy link
Contributor Author

yliaog commented Oct 16, 2018

/retest

1 similar comment
@yliaog
Copy link
Contributor Author

yliaog commented Oct 16, 2018

/retest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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 "Looks good to me", indicates that a PR is ready to be merged. release-note-none Denotes a PR that doesn't merit a release note. sig/api-machinery Categorizes an issue or PR as relevant to SIG API Machinery. sig/testing Categorizes an issue or PR as relevant to SIG Testing. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
8 participants