-
Notifications
You must be signed in to change notification settings - Fork 1
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
Runtime device #46
Runtime device #46
Conversation
Can I suggest we rather pass through only
My suggestion is
|
@marcelldls I asked Max to use the approach you used for hostMounts etc. I agree that this opens up clashes as you can override the whole podSpec, but I also did not want to release a new ec-helm-charts each time we needed a new podSpec item. In my head the model is that we provide opinionated templating for the fields that most IOCs will make use of, but leave customisation capabilities reasonably open. I'm not strongly attached to this model and @marcelldls helm skills are much more fresh that mine so I'll go with what you vote for. @MaxHerbs to do the schema as Marcell requests, you want to refer out to the K8S manifest schema that you are duplicating e.g. see "resources": just above your addition to the template. |
@gilesknap I agree with your model just not the full customisation being exposed in ioc-instance I believe being explicit about what we configure for most of our applications will make it easier to on board the majority that are not familiar with k8s. For full customisation, we can of-course just create own chart in the beamline repo. |
I've made the changed but haven't tested it. The beamline is in use today so follow up when I've verified it. |
OK, lets go with that then. @MaxHerbs please can you switch to @marcelldls' suggestion above and update the schema to reflect that change. (I'm not sure that calling out to the K8S schema would work for a single field - but if it does I guess you will get the correct K8S description of the field and formatting restrictions for the string) |
@MaxHerbs The schema would look as follows:
|
Thanks! LGTM |
Thanks both, merging ... |
@MaxHerbs you can do the honours and release this as 4.1.3. Do it from this page https://github.com/epics-containers/ec-helm-charts/releases
|
Added runtimedevice and schema description