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

encryption: e2e w/ real controllers against real cluster with fake deployer #614

Merged

Conversation

sttts
Copy link
Contributor

@sttts sttts commented Oct 16, 2019

This allows us to run exhaustive e2e tests without the 20min slow-down of the static-pod deployer per key rotation.

@openshift-ci-robot openshift-ci-robot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Oct 16, 2019
@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 16, 2019
@sttts sttts force-pushed the sttts-encryption-integration-test branch from f051870 to 2ea54b3 Compare October 16, 2019 12:41
@sttts sttts force-pushed the sttts-encryption-integration-test branch from 0f0de1b to 530ca73 Compare October 17, 2019 13:31
@sttts sttts changed the title WIP: encryption: e2e w/ real controllers against real cluster with fake deployer encryption: e2e w/ real controllers against real cluster with fake deployer Oct 17, 2019
@openshift-ci-robot openshift-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Oct 17, 2019
@sttts
Copy link
Contributor Author

sttts commented Oct 17, 2019

Unrelated flakes.

/retest

@sttts
Copy link
Contributor Author

sttts commented Oct 17, 2019

Infra.
/retest

test/e2e/encryption_quick_test.go Show resolved Hide resolved
eventRecorder := events.NewLoggingEventRecorder(component)
deployer := NewInstantDeployer(stopCh, kubeInformers, kubeClient.CoreV1(), fmt.Sprintf("encryption-config-%s", component))

controllers, err := encryption.NewControllers(
Copy link
Contributor

Choose a reason for hiding this comment

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

Can the following set up influence the real ka-o working in a cluster? I think that at least both controllers will watch the same secrets. Note that in the future encryption will be on by default.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

the component is different (=> different secrets), and I use another operator config and fake APIServer config, for that reason to separate it.

test/e2e/encryption_quick_test.go Show resolved Hide resolved
test/e2e/encryption_quick_test.go Outdated Show resolved Hide resolved
test/e2e/encryption_quick_test.go Outdated Show resolved Hide resolved
test/e2e/encryption_quick_test.go Outdated Show resolved Hide resolved
@sttts sttts force-pushed the sttts-encryption-integration-test branch from 530ca73 to 33c8413 Compare October 18, 2019 10:28
@p0lyn0mial
Copy link
Contributor

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Oct 18, 2019
@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: p0lyn0mial, sttts

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-merge-robot openshift-merge-robot merged commit c7686b6 into openshift:master Oct 18, 2019
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. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants