You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the fix! This is a correct and worthwhile change.
Assessment
The diff corrects two malformed Go template action delimiters in helm/githubapp/templates/statefulset.yaml: it changes {{ - if .Values.redis }} to {{- if .Values.redis }} and {{ - end }} to {{- end }}.
This is more than a cosmetic indentation fix — it was a blocking bug. The whitespace-trim marker in Go templates must be {{- with the dash immediately adjacent to the braces. With a space ({{ - if ... }}), the parser treats - if as an expression beginning with a unary-minus operator, which is a parse error. As written, helm template / helm install would have failed outright for this chart whenever it was rendered, so the entire Redis env-var block (and the statefulset) could not deploy.
Verification
The corrected {{- if .Values.redis }} / {{- end }} now matches the style used consistently elsewhere in the same file (lines 57, 58, 69, 85, 89).
.Values.redis exists in values.yaml (with secretName, hostKey, portKey), so the guarded block references resolve correctly.
Scope is minimal and self-contained — exactly two lines, no behavioral change beyond fixing the syntax.
Minor suggestions (non-blocking)
Typo in title/branch: 'identation' should be 'indentation'. Harmless, but worth noting for the commit history.
Prevention: consider adding a helm lint / helm template step to CI so malformed template delimiters like this are caught automatically before merge. A single helm template ./helm/githubapp invocation would have surfaced this error.
No bugs, performance, security, or test-coverage concerns for a change of this nature. LGTM.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Submission Checklist for internal contributors
The PR Title
SQPIT-764The PR Description
What's new in this PR?
Issues
Wrong .yaml file syntax identation
Solutions
pushed as
{{ - if ..but should be{{- if ..