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

Include Repo Address in Repository Table #3061

Merged
merged 1 commit into from
Apr 26, 2022
Merged

Conversation

martinmaly
Copy link
Contributor

No description provided.

@martinmaly
Copy link
Contributor Author

This is a bit of an experiment; JsonPath makes it a bit hard to express this so the JsonPath expression seems suboptimal. Not attached to thisone, just an idea how to make the kpt repo get output better.

@@ -42,6 +42,9 @@ spec:
- jsonPath: .status.conditions[?(@.type=='Ready')].status
name: Ready
type: string
- jsonPath: .spec['git','oci']['repo','registry']
Copy link
Contributor Author

@martinmaly martinmaly Apr 26, 2022

Choose a reason for hiding this comment

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

We could change the API and instead of repo and registry for Git and OCI respectively, use Address.

It would create inconsistency with Kptfile design so I would not recommend going that route.

@martinmaly martinmaly merged commit b64ceaf into kptdev:main Apr 26, 2022
@martinmaly martinmaly deleted the repo branch April 26, 2022 18:43
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

2 participants