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

Sync with main May-9-2022 #34

Merged
merged 46 commits into from
May 9, 2022
Merged

Conversation

nunnatsa
Copy link

@nunnatsa nunnatsa commented May 9, 2022

What this PR does / why we need it:

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

Special notes for your reviewer:

Release notes:

Sync with main May-9-2022

nunnatsa and others added 30 commits March 15, 2022 15:43
Signed-off-by: Nahshon Unna-Tsameret <[email protected]>
Signed-off-by: Nahshon Unna-Tsameret <[email protected]>
Added a new CLI tool to manage the infra cluster. For now, the tool supports two commands:

1. `clusterkubevirtadm create credentials`
   this command creates a namespace, serviceAccount, role and roleBinding in the infra cluster.
2. `clusterkubevirtadm apply credentials`
   this command creates or updatea namespace, serviceAccount, role and roleBinding in the infra cluster.
3. `clusterkubevirtadm get kubeconfig`
   this command generates a kubeconfig file to use the serviceAccount created with the first command.

The build the new tool, use:
* `make clusterkubevirtadm-linux` - for linux application
* `make clusterkubevirtadm-macos` - for macOS application
* `make clusterkubevirtadm-win` - for windows application
* `make clusterkubevirtadm-all` - for all the above + run the unit tests
* `make clusterkubevirtadm-test` - to run the unit tests

Signed-off-by: Nahshon Unna-Tsameret <[email protected]>
Signed-off-by: Nahshon Unna-Tsameret <[email protected]>
Added new CLI named clusterkubevirtadm, to manage the infra cluster
Signed-off-by: Nahshon Unna-Tsameret <[email protected]>
…wners

Add nunnatsa to the approvers list
…irtadm-fix

This PR is a hotfix for the broken CI, it fixes a typo in the e2e workflow
Fix clusterkubevirtadm-linux-amd64 calling from e2e cluster creation workflow
Change clusterkubevirtadm to use --kubeconfig flag
This is not working for now, and fails the E2E test lane.

Signed-off-by: Nahshon Unna-Tsameret <[email protected]>
Restore the E2E test to not use clusterkubevirtadm
The capk user need also permissions for the following resources
In order to create the tenant cluster
* virtualmachineinstances
* secrets
* services
…-role

Add More permissions to clusterkubevirtadm Role
Fix the ginkgo dependencies to match v2
…k-storage-class

Switch to using rook-ceph for e2e storage class
The capk user need also permissions for the following resources
In order to create the tenant cluster
* virtualmachineinstances
* secrets
* services
Signed-off-by: Nahshon Unna-Tsameret <[email protected]>
davidvossel and others added 16 commits April 5, 2022 11:26
refactor: move environment context out of e2e tests logic
…m kubeconfig

This commit changes kubevirtci to behave like the tenant cluster is created on ext infra
This is done in order to test the cluster creation with clusterkubevirtadm limited kubeconfig
This will also allow us to follow another resources would be added in the future to the tenant cluster creation
Notice: added special behavior for kubevirtci, in which the "localhost" IP in the kubeconfig is replaced
with the controlplane VM IP, in order to allow using the kubeconfig inside the cluster
…-kubevirtci

Change "kubevirtci create-cluster" command to use clusterkubevirtadm kubeconfig
…ns-v1

MachineHealthCheck and node remediation integration
- move all e2e code to e2e_test package
- consolidate logic and reduce number of files
- move required args validation to test suite initialization
- extract tenant cluster kubernetes version to env var

Signed-off-by: Alex Gradouski <[email protected]>
…ream_2022-04-20-17-35

auto sync 2022-04-20-17-35
@nunnatsa nunnatsa requested review from nirarg and davidvossel May 9, 2022 09:40
@openshift-ci
Copy link

openshift-ci bot commented May 9, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: nunnatsa

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

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 9, 2022
@openshift-ci
Copy link

openshift-ci bot commented May 9, 2022

@nunnatsa: all tests passed!

Full PR test history. Your PR dashboard.

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.

@nirarg
Copy link

nirarg commented May 9, 2022

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label May 9, 2022
@nunnatsa nunnatsa merged commit dc1e52e into openshift:release-1.0 May 9, 2022
@nunnatsa nunnatsa deleted the sync-main branch May 9, 2022 09:49
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. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants