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 Nginx and Wordpress examples with protocol #1936

Merged
merged 1 commit into from
May 7, 2021

Conversation

phanimarupaka
Copy link
Contributor

This PR is to update nginx and wordpress packages with protocol field so that server-side apply/preview works fine. This change also formats the Kptfile and adds info to all packages.

@phanimarupaka phanimarupaka linked an issue May 7, 2021 that may be closed by this pull request
configMap:
ms-image: mysql
ms-tag: 5.6
- image: gcr.io/kpt-fn/apply-setters:v0.1
Copy link
Contributor

Choose a reason for hiding this comment

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

is the being formatted by fn render? If so, awesome. If not, why not?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's being formatted by live init actually. Most of our commands don't write Kptfile back, live init does. The new yaml version adds indentation for list fields.

render doesn't format Kptfile. I think we should format the Kptfile too as part of render. Will have a separate PR for that.

Copy link
Contributor

Choose a reason for hiding this comment

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

Yep, render should format everything. If you run render first, then live init should never change styling.

@phanimarupaka phanimarupaka merged commit 153b1ce into kptdev:next May 7, 2021
frankfarzan pushed a commit to frankfarzan/kpt that referenced this pull request Jun 3, 2021
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.

Examples packages do not work with server-side apply
2 participants