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

label is vague and create conflicts, renaming to minio-operator #2085

Closed
wants to merge 1 commit into from

Conversation

pjuarezd
Copy link
Member

Fix bug:

for: "/home/runner/work/operator/operator/testing/../testing/dev": Deployment.apps "minio-operator" is invalid: spec.selector: Invalid value: v1.LabelSelector{MatchLabels:map[string]string{"app.kubernetes.io/name":"operator", "name":"minio-operator"}, MatchExpressions:[]v1.LabelSelectorRequirement(nil)}: field is immutable

@cniackz cniackz self-requested a review April 19, 2024 20:12
cniackz
cniackz previously approved these changes Apr 19, 2024
@pjuarezd pjuarezd self-assigned this Apr 19, 2024
@pjuarezd pjuarezd requested review from cesnietor and ravindk89 April 19, 2024 20:14
kubectl-minio/kubectl-minio Outdated Show resolved Hide resolved
@cniackz
Copy link
Contributor

cniackz commented Apr 20, 2024

Tenant Tests On Kind / test-tenant-upgrade (1.21.x, ubuntu-latest) (pull_request) will be fixed in #2087

@ramondeklein
Copy link
Contributor

ramondeklein commented Apr 22, 2024

I checked the repo and we use app.kubernetes.io/name: operator in all bundles, certififed-operators too. I also see app.kubernetes.io/name: operator in some other places in the resources folder and checks for app.kubernetes.io/name=operator in testing/common.sh, so we may want to take a second look at this...

@pjuarezd
Copy link
Member Author

I checked the repo and we use app.kubernetes.io/name: operator in all bundles, certififed-operators too. I also see app.kubernetes.io/name: operator in some other places in the resources folder and checks for app.kubernetes.io/name=operator in testing/common.sh, so we may want to take a second look at this...

Yeah, commonly a kubernetes cluster would have many operators installed and the name (I think) is not a good indicative of what the "app" does if we just called the app "operator" altrough I think we should call it "minio-operator" probably should rename it on all the other places too in this PR.

@ravindk89
Copy link
Contributor

I checked the repo and we use app.kubernetes.io/name: operator in all bundles, certififed-operators too. I also see app.kubernetes.io/name: operator in some other places in the resources folder and checks for app.kubernetes.io/name=operator in testing/common.sh, so we may want to take a second look at this...

Yeah, commonly a kubernetes cluster would have many operators installed and the name (I think) is not a good indicative of what the "app" does if we just called the app "operator" altrough I think we should call it "minio-operator" probably should rename it on all the other places too in this PR.

We're waiting on that work to complete correct?

@pjuarezd
Copy link
Member Author

I checked the repo and we use app.kubernetes.io/name: operator in all bundles, certififed-operators too. I also see app.kubernetes.io/name: operator in some other places in the resources folder and checks for app.kubernetes.io/name=operator in testing/common.sh, so we may want to take a second look at this...

Yeah, commonly a kubernetes cluster would have many operators installed and the name (I think) is not a good indicative of what the "app" does if we just called the app "operator" altrough I think we should call it "minio-operator" probably should rename it on all the other places too in this PR.

We're waiting on that work to complete correct?

yeap, I think I need to update helm chart and tests, WIP

@harshavardhana
Copy link
Member

Tenant Tests On Kind / test-tenant-upgrade (1.21.x, ubuntu-latest) (pull_request) will be fixed in #2087

This test is still failing.

@pjuarezd
Copy link
Member Author

pjuarezd commented May 2, 2024

I checked the repo and we use app.kubernetes.io/name: operator in all bundles, certififed-operators too. I also see app.kubernetes.io/name: operator in some other places in the resources folder and checks for app.kubernetes.io/name=operator in testing/common.sh, so we may want to take a second look at this...

Looked again, changing the identifier from operator to minio-operator is a mayor change in Helm chart, we want to be cautious with this one since could break helm chart upgrades, closing this for now

@pjuarezd pjuarezd closed this May 2, 2024
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.

6 participants