Skip to content

Turn Restart Policy string value sets into enums#533

Merged
ezodude merged 5 commits intolabels-to-extensionfrom
es-to-enums-493
May 21, 2021
Merged

Turn Restart Policy string value sets into enums#533
ezodude merged 5 commits intolabels-to-extensionfrom
es-to-enums-493

Conversation

@ezodude
Copy link
Contributor

@ezodude ezodude commented May 20, 2021

Resolves #493

  • Moved Restart Policy to use enums and clarified inference logic.
  • Updated the render phase to use the svc K8s config value directly.
  • Added tests to check the various Restart Policy scenarios.

@ezodude ezodude requested a review from marcinc May 20, 2021 11:35
@ezodude ezodude linked an issue May 20, 2021 that may be closed by this pull request
@ezodude ezodude force-pushed the es-to-enums-493 branch from 23d3547 to 88c36e8 Compare May 20, 2021 12:56
Copy link
Member

@marcinc marcinc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few comments. LGTMO. Also, liking the tweaks and cleanup to the test coverage 👍

@ezodude ezodude requested a review from marcinc May 20, 2021 13:42
- Restart policy deploy value overrides restart value.
- Ensured the rendered restart policy is case sensitive so not to break the generated k8s manifests.
@ezodude ezodude force-pushed the es-to-enums-493 branch from da64f08 to 7deb888 Compare May 21, 2021 08:12
Copy link
Member

@marcinc marcinc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one last comment.

@ezodude ezodude requested a review from marcinc May 21, 2021 08:35
Copy link
Member

@marcinc marcinc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LG

@ezodude ezodude merged commit 6756750 into labels-to-extension May 21, 2021
@ezodude ezodude deleted the es-to-enums-493 branch May 21, 2021 08:48
ezodude added a commit that referenced this pull request Jun 4, 2021
* add extension support (#432)

* add extension support

* add extensions to init (#439)

* kev-449 overlay validation (#451)

* kev-458 Render probe info from extensions (#459)

* Latest from master.

* kev-458 remove label validation (#482)

* kev-458 remove label validation

* Kev 458 cleanup moved extensions (#483)

* kev-458 cleanup moved extensions

* remove unused code

* kev-458 move imagepull labels (#498)

* kev-458 move resource (#499)

* kev-458 move cpu (#500)

* Bug fix - can now use correct workload type during init and render. (#504)

* Extract volume settings into a volumes K8s extension (#502)

* Enable volumes reconciliation for extensions. (#506)

* Render volumes using extension settings (#508)

* Remove volume labels use (#509)

* Moved the autoscale labels to extensions. (#514)

* Move the pod-security labels to extensions. (#516)

* Move the rolling update max surge and service account name to extensions. (#519)

* Move the service labels to extensions (#521)

* Remove services labels use. (#525)

* Turn Restart Policy string value sets into enums (#533)

* Turn Workload Type and Service Type value sets into enums (#534)

* Minify Extensions (#536)

* Set correct livenessProbe success threshold (#548)

* Update the documentation to use extensions instead of labels. (#547)

* Handle ingress with kubernetes cluster defaults (#552)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Turn Restart Policy string value sets into enums

2 participants