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

chore: generate networking.k8s.io/v1 version of Ingress #992

Merged
merged 4 commits into from
Aug 6, 2021
Merged

Conversation

tolusha
Copy link
Contributor

@tolusha tolusha commented Aug 4, 2021

@openshift-ci
Copy link

openshift-ci bot commented Aug 4, 2021

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: mmorhun, tolusha

The full list of commands accepted by this bot can be found 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

Comment on lines +1133 to +1138
- apiGroups:
- networking.k8s.io
resources:
- ingresses
verbs:
- '*'
Copy link
Contributor

Choose a reason for hiding this comment

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

This supercedes the permission above (line 473--482)

Copy link
Contributor Author

@tolusha tolusha Aug 6, 2021

Choose a reason for hiding this comment

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

The first ones are cluster roles another one are just roles.

@@ -28,7 +28,7 @@ import (
"github.com/sirupsen/logrus"
appsv1 "k8s.io/api/apps/v1"
corev1 "k8s.io/api/core/v1"
extv1beta1 "k8s.io/api/extensions/v1beta1"
networking "k8s.io/api/networking/v1"
Copy link
Contributor

Choose a reason for hiding this comment

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

To match the other names

Suggested change
networking "k8s.io/api/networking/v1"
networkingv1 "k8s.io/api/networking/v1"

metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/runtime"
"k8s.io/apimachinery/pkg/types"
"k8s.io/apimachinery/pkg/util/intstr"
"k8s.io/utils/pointer"
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this required?

@tolusha
Copy link
Contributor Author

tolusha commented Aug 4, 2021

/retest

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
@openshift-ci
Copy link

openshift-ci bot commented Aug 5, 2021

New changes are detected. LGTM label has been removed.

@tolusha
Copy link
Contributor Author

tolusha commented Aug 5, 2021

/retest

@openshift-ci
Copy link

openshift-ci bot commented Aug 5, 2021

@tolusha: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Rerun command
ci/prow/v7-stable-to-nightly 102e89d link /test v7-stable-to-nightly

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.

@tolusha tolusha merged commit 2ae826d into main Aug 6, 2021
@tolusha tolusha deleted the 20182 branch August 6, 2021 05:56
@che-bot che-bot added this to the 7.35 milestone Aug 6, 2021
tolusha added a commit that referenced this pull request Aug 6, 2021
* chore: generate networking.k8s.io/v1 version of Ingress

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants