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

Clean up a line in the CI logs #1278

Merged
merged 1 commit into from May 12, 2019

Conversation

consideRatio
Copy link
Member

This value was previously quoted with ", but when chartpress parses this
YAML and writes it back in our CI steps, the following change arise and is
written to the logs which distracted me.

-    hstsIncludeSubdomains: "false"
+    hstsIncludeSubdomains: 'false'

So, by either making this value a boolean or a string with single quote
we get rid of this log entry coming from a git diff. I went with
single quotes for a minimalistic change.

This value was previously quoted with ", but when chartpress parses this
YAML and writes it back, the following change arise:

-     hstsIncludeSubdomains: "false"
+     hstsIncludeSubdomains: 'false'

So, by either making this value a boolean or a string with single quote
we get rid of this log entry coming from a `git diff`. I went with
single quotes for a minimalistic change.
@yuvipanda
Copy link
Collaborator

ty, @consideRatio! It needs to be a quoted value rather than a boolean, since configmap values must be strings.

@yuvipanda yuvipanda merged commit 1158a19 into jupyterhub:master May 12, 2019
@consideRatio
Copy link
Member Author

@yuvipanda ah but I think since the configmap in question adds them it would had worked with boolean values as well, but I like this as it is made clear that this will per parsed as a string in the end.

hsts-include-subdomains: "{{ .Values.proxy.nginx.hstsIncludeSubdomains }}"

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.

None yet

2 participants