Page MenuHomeElementl

Update Scheduler helm schema to use enum types
ClosedPublic

Authored by rexledesma on Oct 27 2020, 5:52 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jun 1, 12:18 PM
Unknown Object (File)
Mon, May 29, 10:40 AM
Unknown Object (File)
Mon, May 15, 2:52 PM
Unknown Object (File)
Sun, May 14, 12:36 PM
Unknown Object (File)
Thu, May 11, 11:39 PM
Unknown Object (File)
Thu, May 11, 10:16 PM
Unknown Object (File)
Thu, May 11, 8:31 AM
Unknown Object (File)
Thu, May 11, 8:30 AM
Subscribers
None

Details

Summary

Depends on D5748

As the title, enumify the helm scheduler values, rather
than relying on a boolean toggle.

Test Plan

bk/helm lint
integration

Diff Detail

Repository
R1 dagster
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

rexledesma retitled this revision from [3/n] Add schema for scheduler to [2/n] Add helm schema for Scheduler configuration.Oct 28 2020, 12:20 AM
rexledesma edited the summary of this revision. (Show Details)
rexledesma retitled this revision from [2/n] Add helm schema for Scheduler configuration to [2/n] Add helm schema validation for Scheduler configuration.Oct 28 2020, 1:28 AM
rexledesma added inline comments.
python_modules/automation/automation/helm/schema/scheduler.py
38 ↗(On Diff #24677)

support for conditional schemas isn't first class in pydantic so we'll have to override the schema here (https://github.com/samuelcolvin/pydantic/issues/529)

alangenfeld added inline comments.
helm/dagster/templates/configmap-instance.yaml
12–13

this is a breaking change right? do we want to do that ahead of 0.10.0?

python_modules/automation/automation/helm/schema/scheduler.py
38 ↗(On Diff #24677)

maybe leave this is a comment in the code

separate out breaking changes from things we can schema-tize without breaking

This revision now requires changes to proceed.Oct 29 2020, 6:29 PM

Will wait until cherry pick mode to land this - removing reviewers for now

This revision now requires review to proceed.Nov 2 2020, 7:35 PM

necro

resurrect from the dead

make sure to document all the breaking changes in changes.md and migration.md

rexledesma retitled this revision from [2/n] Add helm schema validation for Scheduler configuration to Update Scheduler helm schema to use enum types.Jan 6 2021, 5:01 AM
rexledesma edited the summary of this revision. (Show Details)
rexledesma added a child revision: Restricted Differential Revision.Jan 8 2021, 4:54 PM
alangenfeld added inline comments.
helm/dagster/templates/configmap-instance.yaml
17–18

probably a custom option too just to be safe that takes module class and config?

This revision is now accepted and ready to land.Jan 8 2021, 7:31 PM