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

Make Appversion in operator.yaml templatable. #1026

Merged
merged 8 commits into from
Nov 6, 2019
Merged

Make Appversion in operator.yaml templatable. #1026

merged 8 commits into from
Nov 6, 2019

Conversation

sivaramsk
Copy link
Contributor

What this PR does / why we need it:
Make the version and appVersion variables in operator.yaml as a template to statefulset.yaml. This is still a WIP, and creating this PR as I need guidance in completing this.

Fixes #871

@sivaramsk
Copy link
Contributor Author

I modified the first-operator with {{ .AppVersion }} to test this, should I commit that too?? @alenkacz ^

@alenkacz
Copy link
Contributor

alenkacz commented Nov 6, 2019

@sivaramsk oh yeah, that would be lovely, thanks

Copy link
Contributor

@alenkacz alenkacz left a comment

Choose a reason for hiding this comment

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

This looks good 👏 thank you!

A nice addition would be documenting the new variable in here https://github.com/kudobuilder/www/blob/master/content/docs/developing-operators.md#variables-provided-by-kudo

@sivaramsk
Copy link
Contributor Author

Thanks @alenkacz. I will document the changes in that page.

@alenkacz alenkacz merged commit 9fd189a into kudobuilder:master Nov 6, 2019
@alenkacz
Copy link
Contributor

alenkacz commented Nov 6, 2019

Thanks @sivaramsk 🎉

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.

Make version and appVersion from operator.yaml available as magic template variables
2 participants