-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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: Add backend support for input parameters for k8s fields #11622
base: master
Are you sure you want to change the base?
Conversation
This change provides sdk support for the following kubernetes platform fields: * configmap name for configmap as env & volume * secret name for configmap as env & volume * image pull secret name It also adds support for tolerations, node selectors as input json for the entire toleration & node selector spec. We opt for this solution because if a user were to try to use as input parameters individual key value pairs, the input parameter count would increase drastically. The implementation borrows the InputParamSpec from the pipeline spec package. This is copied over instead of imported due to cyclic dependency issues with proto imports and the current project structure. Additionally, pvc_mount is updated to accomodate this new spec, which makes it more in line & consistent with how input parameters are handled elsewhere in the spec. Finally, all old name parameter fields like configmap names, secret names, etc. are deprecated, as the runtime value proto message covers this via it's constant field. Signed-off-by: Humair Khan <[email protected]>
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/hold until is merged: #11621 |
Signed-off-by: Humair Khan <[email protected]>
This change adds driver support for input parameter support for the kubernetes platform spec. Input resolution change is extracted and made more generic so it may be re-used when buildling out the container spec for the k8s config. The json parameters are unmarshalled into their respective k8s struct. Signed-off-by: Humair Khan <[email protected]>
b2531fb
to
2370789
Compare
Description of your changes:
This is the backend support that depends on the following PR: #11621
Input resolution change is extracted and made more generic so it may be re-used when buildling out the container spec
for the k8s config. The json parameters are unmarshalled into their respective k8s struct.
Checklist: