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

Upgrade operator-sdk #982

Merged
merged 10 commits into from
Jul 19, 2022
Merged

Conversation

yuriolisa
Copy link
Contributor

Signed-off-by: Yuri Sa yurimsa@gmail.com
Resolver #972

Signed-off-by: Yuri Sa <yurimsa@gmail.com>
@yuriolisa yuriolisa requested a review from a team July 14, 2022 19:01
Signed-off-by: Yuri Sa <yurimsa@gmail.com>
Signed-off-by: Yuri Sa <yurimsa@gmail.com>
Signed-off-by: Yuri Sa <yurimsa@gmail.com>
Signed-off-by: Yuri Sa <yurimsa@gmail.com>
Signed-off-by: Yuri Sa <yurimsa@gmail.com>
@yuriolisa
Copy link
Contributor Author

@pavolloffay, @jpkrohling, could you please take a look?

@pavolloffay pavolloffay changed the title Upgrading operator-sdk Upgrade operator-sdk Jul 15, 2022
@pavolloffay
Copy link
Member

The scorecard images need to be upgraded as well

Signed-off-by: Yuri Sa <yurimsa@gmail.com>
@yuriolisa
Copy link
Contributor Author

The scorecard images need to be upgraded as well

The scorecard images need to be upgraded as well

I've changed them.

Makefile Outdated Show resolved Hide resolved
Makefile Outdated
$(call go-get-tool,$(KUSTOMIZE),sigs.k8s.io/kustomize/kustomize/v3,v3.8.7)
kustomize: $(KUSTOMIZE) ## Download kustomize locally if necessary.
$(KUSTOMIZE): $(LOCALBIN)
curl -s $(KUSTOMIZE_INSTALL_SCRIPT) | bash -s -- $(subst v,,$(KUSTOMIZE_VERSION)) $(LOCALBIN)
Copy link
Member

Choose a reason for hiding this comment

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

is there another way of doing this without bash | curl? I myself frown upon this, as I would have to inspect the script before running this make target, instead of just looking at the Makefile

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've followed the upgrade recommendations of operator-sdk; most likely, they are not so effective.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've rolled back to use the previous way with the v4 of kustomize.

config/manager/kustomization.yaml Outdated Show resolved Hide resolved
Signed-off-by: Yuri Sa <yurimsa@gmail.com>
Signed-off-by: Yuri Sa <yurimsa@gmail.com>
Signed-off-by: Yuri Sa <yurimsa@gmail.com>
@jpkrohling jpkrohling merged commit f8c2849 into open-telemetry:main Jul 19, 2022
ItielOlenick pushed a commit to ItielOlenick/opentelemetry-operator that referenced this pull request May 1, 2024
* Upgrading operator-sdk

Signed-off-by: Yuri Sa <yurimsa@gmail.com>

* Upgrading operator-sdk

Signed-off-by: Yuri Sa <yurimsa@gmail.com>

* Upgrading operator-sdk

Signed-off-by: Yuri Sa <yurimsa@gmail.com>

* Changing api docs

Signed-off-by: Yuri Sa <yurimsa@gmail.com>

* Changing annotations

Signed-off-by: Yuri Sa <yurimsa@gmail.com>

* Changing annotations

Signed-off-by: Yuri Sa <yurimsa@gmail.com>

* Upgrading scorecard version

Signed-off-by: Yuri Sa <yurimsa@gmail.com>

* Removing curl-bash commands and kustomization file changes

Signed-off-by: Yuri Sa <yurimsa@gmail.com>

* Removing curl-bash commands and kustomization file changes

Signed-off-by: Yuri Sa <yurimsa@gmail.com>

* Adding kube-rbac-proxy changes

Signed-off-by: Yuri Sa <yurimsa@gmail.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.

3 participants