这是indexloc提供的服务,不要输入任何密码
Skip to content

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.

- 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.

2 participants