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

Update to latest nephio-controllers, nephio-workload-cluster packages #78

Merged
merged 5 commits into from
Jun 12, 2023

Conversation

johnbelamaric
Copy link
Member

No description provided.

@nephio-prow nephio-prow bot added the approved label Jun 11, 2023
@johnbelamaric johnbelamaric changed the title Some conviences for users Update to latest nephio-controllers, nephio-workload-cluster packages Jun 11, 2023
@johnbelamaric
Copy link
Member Author

Also adds some little conveniences for the e2e VM user.

@@ -13,7 +13,7 @@
name: kpt
loop:
- {pkg: porch-dev, version: porch-dev/v2, namespaces: [porch-fn-system, porch-system]}
- {pkg: nephio-controllers, version: nephio-controllers/v4, namespaces: [nephio-system]}
- {pkg: nephio-controllers, version: nephio-controllers/v5, namespaces: [nephio-system]}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is there a way to pull this version info instead of hardcoding it here? It can be done in a later PR hopefully

Copy link
Member Author

Choose a reason for hiding this comment

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

Well, if we do that then we don't have a repeatable deployment. But agreed, this needs rework in R2 or R1++ to be simpler.

What I can do for now is force-push tags to move v5 to a new commit if I need another change. That doesn't go through our review process...

@@ -26,7 +26,7 @@ source "${LIBDIR}/k8s.sh"

kubeconfig="$HOME/.kube/config"

workload_cluster_pkg_rev=$(kpt alpha rpkg get --name nephio-workload-cluster --revision v7 -o jsonpath='{.metadata.name}')
workload_cluster_pkg_rev=$(kpt alpha rpkg get --name nephio-workload-cluster --revision v8 -o jsonpath='{.metadata.name}')
Copy link
Collaborator

Choose a reason for hiding this comment

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

You may already be thinking about pulling this value for version automatically instead of this being hard coded, right?
Maybe a good idea for others to look into this who are wanting to contribute?

Copy link
Collaborator

@vjayaramrh vjayaramrh left a comment

Choose a reason for hiding this comment

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

Reviewed the code, did not test it out though.
/lgtm

@nephio-prow
Copy link
Contributor

nephio-prow bot commented Jun 12, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: johnbelamaric, vjayaramrh

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@nephio-prow nephio-prow bot merged commit 873dbf8 into nephio-project:main Jun 12, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants