Templates: Deployment: Fixed Deployment.yaml#4380
Templates: Deployment: Fixed Deployment.yaml#4380illume merged 1 commit intokubernetes-sigs:mainfrom
Conversation
There was a problem hiding this comment.
Pull request overview
This PR fixes a Helm templating issue where boolean values for OIDC configuration were not being properly quoted as strings in the deployment manifest. The fix adds the quote filter to ensure environment variables receive string values instead of unquoted boolean values, which would cause YAML parsing issues.
Changes:
- Added
| quotefilter toOIDC_USE_ACCESS_TOKENenvironment variable - Added
| quotefilter toOIDC_USE_PKCEenvironment variable
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Linting error arises due to the fix, I apologize for not running these tests earlier. |
skoeva
left a comment
There was a problem hiding this comment.
there's a command in the CI output to update the templates, you could run that to fix the error
|
I have updated all snapshots, this branch is ready to be merged. |
ac1ce44 to
472df58
Compare
|
This PR passes all tests and is ready to be merged. |
f2d132b to
07f32cf
Compare
|
@skoeva Can you please review this again? :) |
illume
left a comment
There was a problem hiding this comment.
@mudit06mah please check the test failure, and run the test locally?
07f32cf to
ab04a3c
Compare
|
@illume Really Sorry for the overlook from my side! I have changed the tests accordingly and this PR passes all tests now. Really sorry for earlier 🙇 |
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 3 out of 3 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: illume, mudit06mah The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Summary:
Fixes deployment to add quotes to useAccessToken and PKCE
Related Issue:
Fixes #4364
Changes:
{{ | quote }}toOIDC_USE_ACCESS_TOKENandOIDC_USE_PKCE.true) while it should be taken as a string ("true").Steps to Test:
Run:
Inside root folder of headlamp
After that Run:
Runs Successfully (output):
Note: Accidentally closed my previous PR on the same issue, hence creating a new one fixing the issue