-
Notifications
You must be signed in to change notification settings - Fork 39
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
Developer guide #106
base: develop
Are you sure you want to change the base?
Developer guide #106
Conversation
| `default` | Optional. The default value for the parameter. If the does not specify the parameter in their configuration, this value entered as `default` is used. | No | Empty String| | ||
| `type` | Specify the parameter type. Valid parameter types are: `text`, `csv`, `number`, `boolean` | No | `text`| | ||
| `catagory` | Specify the parameter category `config` or `secret`. On UI , the `config` parameters will display in `User Config Parameter` section and `secret` parameters will dislay in `User secrete paramater` section | No | `config`| | ||
| `required` | Specify `true` or `false`. | No | `false`| |
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.
I think it will be better to mention that when the default value for parameter is set, then set required
to false.
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.
I disagree with this. In the UI, if they have a default value they can still delete it. If they delete it and its "supposed" to be required but follows this pattern, they could have an issue without realizing.
STORAGE_CLASS_README.md
Outdated
allowVolumeExpansion: {{ VolumeExpansion }} #false | ||
``` | ||
|
||
We DO NOT use `MustachTemplate` engine to translate the storage class template to actual storage class configuration. Rather, we just replace ` {{ varaibale-name }}` with its value given by the user. The multiple storage classes can be created from the same storage-class-template. The user is allowed to pass the array of storage class parameters to create multiple storage classes. |
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.
Also mention for storage-class template triple mustach {{{ ... }}}
is invalid notation for parameter replacement.
No description provided.