Skip to content

Ensure that user-specified env vars are ordered deterministically#2411

Merged
deliahu merged 2 commits into
masterfrom
user-env-vars
Dec 29, 2021
Merged

Ensure that user-specified env vars are ordered deterministically#2411
deliahu merged 2 commits into
masterfrom
user-env-vars

Conversation

@deliahu
Copy link
Copy Markdown
Member

@deliahu deliahu commented Dec 29, 2021

This ensures that k8s deployments don't get updated pod template specs unless the env vars actually change (otherwise, replicas will be replaced unnecessarily when env vars are re-ordered nondeterministically)


checklist:

  • run make test and make lint
  • test manually (i.e. build/push all images, restart operator, and re-deploy APIs)

@deliahu deliahu requested a review from RobertLucian December 29, 2021 01:00
@deliahu deliahu merged commit 241565b into master Dec 29, 2021
@deliahu deliahu deleted the user-env-vars branch December 29, 2021 01:08
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.

2 participants