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

OADP-3189: do not remove labels from OADP namespace #1274

Conversation

mateusoliveira43
Copy link
Contributor

@mateusoliveira43 mateusoliveira43 commented Jan 17, 2024

Description

Instead of adding/patching PSA labels to OADP namespace, controller manager would remove all labels, and then add PSA labels to OADP namespace. This PR fixes this behavior.

How to test

From master branch and this PR branch, create a namespace and check its labels

oc get namespace <name> --show-labels

Add some custom labels, for example

oc label ns <name> app.kubernetes.io/instance=in-cluster-oadp-operator
oc label ns <name> mateus=hi
oc label ns <name> day=today

Run OADP_TEST_NAMESPACE=<name> make deploy-olm and check the namespace's labels again. In master branch some labels should have been removed. In this PR branch, no labels should have been removed (and only pod-security.kubernetes.io/... labels should have been modified).

@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Jan 17, 2024
@openshift-ci-robot
Copy link

openshift-ci-robot commented Jan 17, 2024

@mateusoliveira43: This pull request references OADP-3189 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the bug to target the "4.16.0" version, but no target version was set.

In response to this:

Description

Instead of adding/patching PSA labels to OADP namespace, controller manager would remove all labels, and then add PSA labels to OADP namespace. This PR fixes this behavior.

How to test

From master branch and this PR branch, create a namespace and check its labels

oc get namespace <name> --show-labels

Add some custom labels, for example

oc label ns <name> app.kubernetes.io/instance=in-cluster-oadp-operator
oc label ns <name> mateus=hi
oc label ns <name> day=today

Run make deploy-olm and check the namespace's labels again. In master branch some labels should have been removed. In this PR brnach, no labels should have been removed (and only pod-security.kubernetes.io/... labels should have been modified).

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.

@openshift-ci-robot
Copy link

openshift-ci-robot commented Jan 17, 2024

@mateusoliveira43: This pull request references OADP-3189 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the bug to target the "4.16.0" version, but no target version was set.

In response to this:

Description

Instead of adding/patching PSA labels to OADP namespace, controller manager would remove all labels, and then add PSA labels to OADP namespace. This PR fixes this behavior.

How to test

From master branch and this PR branch, create a namespace and check its labels

oc get namespace <name> --show-labels

Add some custom labels, for example

oc label ns <name> app.kubernetes.io/instance=in-cluster-oadp-operator
oc label ns <name> mateus=hi
oc label ns <name> day=today

Run OADP_TEST_NAMESPACE=<name> make deploy-olm and check the namespace's labels again. In master branch some labels should have been removed. In this PR branch, no labels should have been removed (and only pod-security.kubernetes.io/... labels should have been modified).

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.

kaovilai
kaovilai previously approved these changes Jan 17, 2024
@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 17, 2024
main.go Outdated Show resolved Hide resolved
@openshift-ci openshift-ci bot removed the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 18, 2024
main.go Outdated Show resolved Hide resolved
@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 19, 2024
Signed-off-by: Mateus Oliveira <msouzaol@redhat.com>
Signed-off-by: Mateus Oliveira <msouzaol@redhat.com>
Signed-off-by: Mateus Oliveira <msouzaol@redhat.com>
@mateusoliveira43 mateusoliveira43 force-pushed the fix/do-not-remove-labels-from-namespace branch from 2495f47 to 29956c0 Compare January 27, 2024 14:01
@shubham-pampattiwar
Copy link
Member

/cherry-pick oadp-1.3

@openshift-cherrypick-robot
Copy link
Contributor

@shubham-pampattiwar: once the present PR merges, I will cherry-pick it on top of oadp-1.3 in a new PR and assign it to you.

In response to this:

/cherry-pick oadp-1.3

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.

main.go Outdated Show resolved Hide resolved
@weshayutin
Copy link
Contributor

@kaovilai please review

@kaovilai
Copy link
Member

@weshayutin I had already reviewed here waiting on changes/discussions.

@weshayutin
Copy link
Contributor

@weshayutin I had already reviewed here waiting on changes/discussions.

ah.. thank you @kaovilai

Copy link
Member

@kaovilai kaovilai left a comment

Choose a reason for hiding this comment

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

per #1274 (comment)
Requesting that we use patch to avoid update race conditions

Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
@openshift-ci openshift-ci bot removed the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 14, 2024
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>

operatorNamespace, err := clientset.CoreV1().Namespaces().Get(context.TODO(), watchNamespaceName, metav1.GetOptions{})
Copy link
Member

Choose a reason for hiding this comment

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

One get call eliminated :D

kaovilai
kaovilai previously approved these changes Feb 15, 2024
@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 15, 2024
@kaovilai
Copy link
Member

/hold

CI unit tests are running only main_test file tests

ref: https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/test-platform-results/pr-logs/pull/openshift_oadp-operator/1274/pull-ci-openshift-oadp-operator-master-unit-test/1758193370645139456/artifacts/unit-test/unit/build-log.txt

KUBEBUILDER_ASSETS="/alabama/.local/share/kubebuilder-envtest/k8s/1.21.4-linux-amd64" go test -mod=mod  -coverprofile cover.out

running locally, all unit test are run

example output

KUBEBUILDER_ASSETS="/path/kubebuilder-envtest/k8s/1.21.4-linux-amd64" go test -mod=mod github.com/openshift/oadp-operator github.com/openshift/oadp-operator/api/v1alpha1 github.com/openshift/oadp-operator/controllers github.com/openshift/oadp-operator/pkg/bucket github.com/openshift/oadp-operator/pkg/client github.com/openshift/oadp-operator/pkg/common github.com/openshift/oadp-operator/pkg/credentials github.com/openshift/oadp-operator/pkg/klog github.com/openshift/oadp-operator/pkg/velero/client github.com/openshift/oadp-operator/pkg/velero/server -coverprofile cover.out

any ideas why command does not work in CI?

We are running unit tests via this image

build_root:
  image_stream_tag:
    name: builder
    namespace: ocp
    tag: rhel-8-golang-1.20-openshift-4.14
  1. login to ci registry, app.ci cluster
  2. after oc registry login from 1. above run
❯ docker run --platform linux/amd64 -w $PWD -v $PWD:$PWD -it registry.ci.openshift.org/ocp/builder:rhel-8-golang-1.20-openshift-4.14 \
 sh -c "go list ./... | grep -v /tests/e2e"
TL;DR, go list doesn't work currently (click to expand) ``` Go compliance shim [12] [][]: Forcing GOTOOLCHAIN=local Go compliance shim [12] [][]: assessment: CGO_ENABLED=1 Go compliance shim [12] [][]: assessment: dynamic linking Go compliance shim [12] [][]: EXEMPT: 0 Go compliance shim [12] [][]: not exempt: FORCE_CGO_ENABLED="1" FORCE_DYNAMIC="1" FORCE_OPENSSL="1" FORCE_FOD_MODE="1" Go compliance shim [12] [][]: setting GOEXPERIMENT=strictfipsruntime

Go compliance shim [12] [][]: final command line arguments: "list" "./..."

Go compliance shim [12] [][]: invoking real go binary
go: inconsistent vendoring in /Users/tiger/oadp-operator:
github.com/aws/aws-sdk-go@v1.44.253: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/go-logr/logr@v1.2.4: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/google/uuid@v1.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/kubernetes-csi/external-snapshotter/client/v4@v4.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/onsi/ginkgo@v1.16.5: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/onsi/ginkgo/v2@v2.11.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/onsi/gomega@v1.27.8: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/openshift/api@v0.0.0-20230213134911-7ba313770556: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/operator-framework/api@v0.10.7: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/operator-framework/operator-lib@v0.9.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring@v0.51.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/sirupsen/logrus@v1.9.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
k8s.io/api@v0.25.6: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
k8s.io/apiextensions-apiserver@v0.24.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
k8s.io/apimachinery@v0.25.6: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
k8s.io/client-go@v0.25.6: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
k8s.io/utils@v0.0.0-20220728103510-ee6ede2d64ed: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
sigs.k8s.io/controller-runtime@v0.12.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/deckarep/golang-set/v2@v2.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/google/go-cmp@v0.5.9: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/vmware-tanzu/velero@v1.12.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
sigs.k8s.io/yaml@v1.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
cloud.google.com/go@v0.110.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
cloud.google.com/go/compute@v1.19.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
cloud.google.com/go/compute/metadata@v0.2.3: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
cloud.google.com/go/iam@v0.13.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
cloud.google.com/go/storage@v1.30.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/Azure/azure-sdk-for-go@v67.2.0+incompatible: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/Azure/azure-sdk-for-go/sdk/azcore@v0.21.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/Azure/azure-sdk-for-go/sdk/internal@v0.8.3: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/Azure/azure-sdk-for-go/sdk/storage/azblob@v0.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/Azure/go-autorest@v14.2.0+incompatible: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/Azure/go-autorest/autorest@v0.11.27: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/Azure/go-autorest/autorest/adal@v0.9.20: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/Azure/go-autorest/autorest/azure/auth@v0.5.8: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/Azure/go-autorest/autorest/azure/cli@v0.4.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/Azure/go-autorest/autorest/date@v0.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/Azure/go-autorest/autorest/to@v0.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/Azure/go-autorest/autorest/validation@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/Azure/go-autorest/logger@v0.2.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/Azure/go-autorest/tracing@v0.6.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/beorn7/perks@v1.0.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/blang/semver/v4@v4.0.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/bombsimon/logrusr/v3@v3.0.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/cespare/xxhash/v2@v2.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/chmduquesne/rollinghash@v4.0.0+incompatible: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/davecgh/go-spew@v1.1.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/dimchansky/utfbom@v1.1.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/dustin/go-humanize@v1.0.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/edsrzf/mmap-go@v1.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/emicklei/go-restful/v3@v3.10.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/evanphx/json-patch@v5.6.0+incompatible: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/fatih/color@v1.15.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/frankban/quicktest@v1.14.3: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/fsnotify/fsnotify@v1.6.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/go-logr/stdr@v1.2.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/go-logr/zapr@v1.2.3: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/go-openapi/jsonpointer@v0.19.6: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/go-openapi/jsonreference@v0.20.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/go-openapi/swag@v0.22.3: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/go-task/slim-sprig@v0.0.0-20230315185526-52ccab3ef572: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/gobwas/glob@v0.2.3: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/gofrs/flock@v0.8.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/gogo/protobuf@v1.3.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/golang-jwt/jwt/v4@v4.5.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/golang/groupcache@v0.0.0-20210331224755-41bb18bfe9da: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/golang/protobuf@v1.5.3: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/google/gnostic@v0.6.9: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/google/gofuzz@v1.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/google/pprof@v0.0.0-20230705174524-200ffdc848b8: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/google/s2a-go@v0.1.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/googleapis/enterprise-certificate-proxy@v0.2.3: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/googleapis/gax-go/v2@v2.8.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/hashicorp/go-hclog@v1.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/hashicorp/go-plugin@v1.4.3: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/hashicorp/yamux@v0.0.0-20180604194846-3520598351bb: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/imdario/mergo@v0.3.13: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/inconshreveable/mousetrap@v1.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/jmespath/go-jmespath@v0.4.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/joho/godotenv@v1.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/josharian/intern@v1.0.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/json-iterator/go@v1.1.12: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/klauspost/compress@v1.16.5: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/klauspost/cpuid/v2@v2.2.4: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/klauspost/pgzip@v1.2.5: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/klauspost/reedsolomon@v1.11.7: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/kopia/kopia@v0.13.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/liggitt/tabwriter@v0.0.0-20181228230101-89fcab3d43de: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/mailru/easyjson@v0.7.7: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/mattn/go-colorable@v0.1.13: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/mattn/go-isatty@v0.0.17: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/matttproud/golang_protobuf_extensions@v1.0.4: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/minio/md5-simd@v1.1.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/minio/minio-go/v7@v7.0.52: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/minio/sha256-simd@v1.0.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/mitchellh/go-homedir@v1.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/mitchellh/go-testing-interface@v1.0.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/moby/spdystream@v0.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/modern-go/concurrent@v0.0.0-20180306012644-bacd9c7ef1dd: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/modern-go/reflect2@v1.0.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/munnerz/goautoneg@v0.0.0-20191010083416-a7dc8b61c822: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/natefinch/atomic@v1.0.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/nxadm/tail@v1.4.8: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/oklog/run@v1.0.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/pierrec/lz4@v2.6.1+incompatible: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/pkg/errors@v0.9.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/prometheus/client_golang@v1.15.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/prometheus/client_model@v0.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/prometheus/common@v0.42.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/prometheus/procfs@v0.9.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/robfig/cron@v1.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/rs/xid@v1.4.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/spf13/cobra@v1.6.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/spf13/pflag@v1.0.5: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/zeebo/blake3@v0.2.3: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
go.opencensus.io@v0.24.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
go.opentelemetry.io/otel@v1.19.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
go.opentelemetry.io/otel/metric@v1.19.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
go.opentelemetry.io/otel/trace@v1.19.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
go.uber.org/atomic@v1.10.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
go.uber.org/multierr@v1.11.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
go.uber.org/zap@v1.24.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
golang.org/x/crypto@v0.14.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
golang.org/x/exp@v0.0.0-20230213192124-5e25df0256eb: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
golang.org/x/net@v0.17.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
golang.org/x/oauth2@v0.7.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
golang.org/x/sync@v0.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
golang.org/x/sys@v0.13.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
golang.org/x/term@v0.13.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
golang.org/x/text@v0.13.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
golang.org/x/time@v0.3.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
golang.org/x/tools@v0.11.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
golang.org/x/xerrors@v0.0.0-20220907171357-04be3eba64a2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
gomodules.xyz/jsonpatch/v2@v2.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
google.golang.org/api@v0.120.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
google.golang.org/appengine@v1.6.7: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
google.golang.org/genproto@v0.0.0-20230410155749-daa745c078e1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
google.golang.org/grpc@v1.54.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
google.golang.org/protobuf@v1.30.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
gopkg.in/inf.v0@v0.9.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
gopkg.in/ini.v1@v1.67.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
gopkg.in/tomb.v1@v1.0.0-20141024135613-dd632973f1e7: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
gopkg.in/yaml.v2@v2.4.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
gopkg.in/yaml.v3@v3.0.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
k8s.io/cli-runtime@v0.24.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
k8s.io/component-base@v0.24.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
k8s.io/klog/v2@v2.90.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
k8s.io/kube-aggregator@v0.19.12: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
k8s.io/kube-openapi@v0.0.0-20220803162953-67bda5d908f1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
sigs.k8s.io/json@v0.0.0-20220713155537-f223a00ba0e2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
sigs.k8s.io/structured-merge-diff/v4@v4.2.3: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/vmware-tanzu/velero: is replaced in go.mod, but not marked as replaced in vendor/modules.txt

    To ignore the vendor directory, use -mod=readonly or -mod=mod.
    To sync the vendor directory, run:
            go mod vendor

Go compliance shim [12] [][]: Exited with: 1

</details>
3. 

Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
@kaovilai kaovilai force-pushed the fix/do-not-remove-labels-from-namespace branch from f6ff5c0 to 7eb4820 Compare February 16, 2024 02:46
@kaovilai
Copy link
Member

Should work now :)

@kaovilai
Copy link
Member

/retest

1 similar comment
@kaovilai
Copy link
Member

/retest

@mateusoliveira43
Copy link
Contributor Author

/unhold

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Feb 16, 2024
@kaovilai
Copy link
Member

/retest

@kaovilai
Copy link
Member

this failed datamover test only

shouldn't be related
/override ci/prow/4.12-e2e-test-azure

Copy link

openshift-ci bot commented Feb 16, 2024

@kaovilai: Overrode contexts on behalf of kaovilai: ci/prow/4.12-e2e-test-azure

In response to this:

this failed datamover test only

shouldn't be related
/override ci/prow/4.12-e2e-test-azure

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.

@weshayutin
Copy link
Contributor

ran through the negative test on head.. recreated
ran through w/ the patch and it WFM https://termbin.com/9e5g
/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Feb 19, 2024
@openshift-ci-robot
Copy link

/retest-required

Remaining retests: 0 against base HEAD 91e1aac and 2 for PR HEAD 7eb4820 in total

Copy link

openshift-ci bot commented Feb 20, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: kaovilai, mateusoliveira43, shubham-pampattiwar

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:
  • OWNERS [kaovilai,mateusoliveira43,shubham-pampattiwar]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@mateusoliveira43
Copy link
Contributor Author

/retest

@shubham-pampattiwar
Copy link
Member

/test 4.12-e2e-test-aws

@kaovilai
Copy link
Member

/override ci/prow/4.12-e2e-test-aws

Copy link

openshift-ci bot commented Feb 20, 2024

@kaovilai: Overrode contexts on behalf of kaovilai: ci/prow/4.12-e2e-test-aws

In response to this:

/override ci/prow/4.12-e2e-test-aws

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.

@openshift-merge-bot openshift-merge-bot bot merged commit 7dded4c into openshift:master Feb 20, 2024
16 checks passed
Copy link

openshift-ci bot commented Feb 20, 2024

@mateusoliveira43: 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.

@openshift-cherrypick-robot
Copy link
Contributor

@shubham-pampattiwar: new pull request created: #1339

In response to this:

/cherry-pick oadp-1.3

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.

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. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants