We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Generating trigger metadata schema according to new declarative scaler configuration, which can be used for validation or other related improvement.
Input: make generate-trigger-metadata-schema [--triggername][--output][--outputfile]
make generate-trigger-metadata-schema [--triggername][--output][--outputfile]
Output: trigger-metadata-schemas.yaml
Trigger metadata example:
- type: kubernetes-workload metadatafields: activationValue: type: string default: "0" podSelector: type: string value: type: string default: "0" - type: activemq metadatafields: activationTargetQueueSize: type: string optional: "true" default: "0" brokerName: type: string optional: "true" corsHeader: type: string optional: "true" destinationName: type: string optional: "true" managementEndpoint: type: string optional: "true" password: type: string passwordFromEnv: type: string restAPITemplate: type: string optional: "true" targetQueueSize: type: string optional: "true" default: "10" username: type: string usernameFromEnv: type: string
No response
Yes
The text was updated successfully, but these errors were encountered:
the tricky part is that technically all metadata fields are string in the CRD definition despite the underlying type. The OpenAPI schema allows setting multiple types for a field, maybe we can leverage that in some way? https://stackoverflow.com/questions/46472543/specifying-multiple-types-for-additionalproperties-through-swagger-openapi
string
We would likely need to change the map[string]string to map[string]any but this theoretically shouldn't be a breaking change.
map[string]string
ap[string]any
Sorry, something went wrong.
No branches or pull requests
Proposal
Generating trigger metadata schema according to new declarative scaler configuration, which can be used for validation or other related improvement.
Input:
make generate-trigger-metadata-schema [--triggername][--output][--outputfile]
Output:
trigger-metadata-schemas.yaml
Trigger metadata example:
Use-Case
No response
Is this a feature you are interested in implementing yourself?
Yes
Anything else?
No response
The text was updated successfully, but these errors were encountered: