Skip to content
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

Revert "Don't quote splitThreshold" #84

Merged
merged 2 commits into from
May 20, 2024
Merged

Revert "Don't quote splitThreshold" #84

merged 2 commits into from
May 20, 2024

Conversation

jcsp
Copy link
Contributor

@jcsp jcsp commented May 20, 2024

Crazy times with YAML & Go...

In #83 I got rid of the | quote because that was a possible cause of an integer getting wrongly formatted.

However, even after https://github.com/neondatabase/aws/pull/1358 changes the input type of splitThreshold to a string, the substitution into kubernetes YAML implicitly turns it back into an integer, and kubernetes requires that all the elements in the commands array be strings (not just things that can be string-ized).

TLDR: to make the splitThreshold work, we just need to add the | quote back. This was tested in https://github.com/neondatabase/aws/pull/1361 by deploying with the earlier version of the helm chart.

@jcsp jcsp merged commit b7bedc4 into main May 20, 2024
3 checks passed
@jcsp jcsp deleted the jcsp/storcon-autosplit branch May 20, 2024 18:55
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