-
Notifications
You must be signed in to change notification settings - Fork 66
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
[WIP] deploy dir values.yaml files for supervisor,concierge as schemas #1680
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1680 +/- ##
=======================================
Coverage 79.21% 79.22%
=======================================
Files 163 163
Lines 15758 15758
=======================================
+ Hits 12483 12484 +1
Misses 2959 2959
+ Partials 316 315 -1 |
74cf895
to
a861bb4
Compare
This seems reasonable. You can run |
#@ Optional." | ||
#@schema/desc image_pull_dockerconfigjson_desc | ||
#@schema/nullable | ||
image_pull_dockerconfigjson: {"auths":{"https://registry.example.com":{"username":"USERNAME","password":"PASSWORD","auth":"BASE64_ENCODED_USERNAME_COLON_PASSWORD"}}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This appears to cause CI/CD issues
#@ Optional." | ||
#@schema/desc image_pull_dockerconfigjson_desc | ||
#@schema/nullable | ||
image_pull_dockerconfigjson: {"auths":{"https://registry.example.com":{"username":"USERNAME","password":"PASSWORD","auth":"BASE64_ENCODED_USERNAME_COLON_PASSWORD"}}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This appears to cause CI/CD issues
Revamping this work, will open a new PR. |
To improve the values.yaml file by enhancing it into a schema (and to prepare for the Carvel package work) the following files are converted:
The
openapi-v3
schema generation can be validated via:./deploy/{supervisor,concierge}/
but not inside the./deploy/{supervisor,concierge}/config
directories askapp
will be confused when deploying as they are not kubernetes resources.The basic template generation can be validated via:
The real test now is:
ytt
againstmain
and this branch forsupervisor
and diff the files. We want the same (or perhaps close, with documented differences) output.ytt
againstmain
and this branch forconcierge
and diff the files. We want the same (or perhaps close, with documented differences) output.Open:
openapi-v3
schema files as well for both supervisor and concierge? It is generally expected to be included in a Package.openapi-v3
generation is done and kept up to date?