-
Notifications
You must be signed in to change notification settings - Fork 303
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
OCPBUGS-34580: Add TrustedBundles to OAS container #4106
Conversation
Signed-off-by: Juan Manuel Parrilla Madrid <jparrill@redhat.com>
@jparrill: This pull request references Jira Issue OCPBUGS-31446, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. In response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jparrill 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 |
/jira cherrypick OCPBUGS-31446 |
@jparrill: Jira Issue OCPBUGS-31446 has been cloned as Jira Issue OCPBUGS-34579. Will retitle bug to link to clone. In response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
@jparrill: This pull request references Jira Issue OCPBUGS-34579, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. In response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
/jira cherrypick OCPBUGS-34390 |
@jparrill: Jira Issue OCPBUGS-34390 has been cloned as Jira Issue OCPBUGS-34580. Will retitle bug to link to clone. In response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
@jparrill: This pull request references Jira Issue OCPBUGS-34580, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. In response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
/jira refresh |
@jparrill: This pull request references Jira Issue OCPBUGS-34580, which is invalid:
Comment In response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
/cherry-pick release-4.14 |
@jparrill: once the present PR merges, I will cherry-pick it on top of release-4.14 in a new PR and assign it to you. In response to this:
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-sigs/prow repository. |
/lgtm |
/retest |
/retest |
/jira refresh |
@jparrill: This pull request references Jira Issue OCPBUGS-34580, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. In response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
/retest |
1 similar comment
/retest |
/jira refresh |
@jparrill: This pull request references Jira Issue OCPBUGS-34580, which is invalid:
Comment In response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
/jira refresh |
@LiangquanLi930: This pull request references Jira Issue OCPBUGS-34580, which is valid. The bug has been moved to the POST state. 7 validation(s) were run on this bug
Requesting review from QA contact: In response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
/retest |
/test unit |
/test unit |
@jparrill: The following test failed, say
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-sigs/prow repository. I understand the commands that are listed here. |
) | ||
|
||
// Ensure certain deployment fields do not get set | ||
func TestReconcileOpenshiftAPIServerDeploymentNoChanges(t *testing.T) { |
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.
please follow convention for naming TestFuncName, i.e. TestReconcileDeployment()
then no changes should be a test case.
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.
The tests is already in that way in main, I didn't created this. The new one I've included in the PR is TestReconcileOpenshiftAPIServerDeploymentTrustBundle
the other was in the file already and I though that was ok, to keep it in the backport.
func TestReconcileOpenshiftAPIServerDeploymentNoChanges(t *testing.T) { | ||
|
||
imageName := "oapiImage" | ||
// Setup expected values that are universal |
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.
what is this comment for?
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.
inherited, not needed.
imageName := "oapiImage" | ||
// Setup expected values that are universal | ||
|
||
// Setup hypershift hosted control plane. |
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 this comment?
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.
no comments needed in fact, all of them come from main.
additionalTrustBundle *corev1.LocalObjectReference | ||
clusterConf *hyperv1.ClusterConfiguration | ||
}{ | ||
// empty deployment config |
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.
can we have a Name field with the test case name?
g := NewGomegaWithT(t) | ||
expectedTermGraceSeconds := oapiDeployment.Spec.Template.Spec.TerminationGracePeriodSeconds | ||
oapiDeployment.Spec.MinReadySeconds = 60 | ||
expectedMinReadySeconds := oapiDeployment.Spec.MinReadySeconds |
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.
it seems you are carrying oapiDeployment over all test cases loop which would let each test have side effects on each other.
Sending a new PR to avoid conflicts on rebase #4211 |
/jira refresh |
@jparrill: This pull request references Jira Issue OCPBUGS-34580, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. In response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
Manual cherry pick from #4087