-
Notifications
You must be signed in to change notification settings - Fork 194
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
fix: updates arc ext check #893
Conversation
Signed-off-by: Nilekh Chaudhari <1626598+nilekhc@users.noreply.github.com>
/azp run pr-e2e-azure |
Azure Pipelines successfully started running 1 pipeline(s). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
I am not sure if you could have fixed it as well, by simply swapping the operators in the AND condition instead of having 2 nested IF statements.
Anyway I am not familiar with writing Helm charts 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Helm uses go template and the documentation (https://pkg.go.dev/text/template#hdr-Functions) does confirm that the arguments are evaluated from left to right. So if the first one is false, it should return false as the result is determined.
Could we switch the order like @vittoriocanilli suggested instead of nested ifs?
Signed-off-by: Nilekh Chaudhari <1626598+nilekhc@users.noreply.github.com>
Signed-off-by: Nilekh Chaudhari <1626598+nilekhc@users.noreply.github.com>
👷 Deploy request for secrets-store-csi-driver-provider-azure pending review.Visit the deploys page to approve it
|
That's better. Thanks for the suggestion @vittoriocanilli |
Codecov Report
@@ Coverage Diff @@
## master #893 +/- ##
=======================================
Coverage 59.79% 59.79%
=======================================
Files 7 7
Lines 868 868
=======================================
Hits 519 519
Misses 314 314
Partials 35 35 |
...fest_staging/charts/csi-secrets-store-provider-azure/templates/provider-azure-installer.yaml
Outdated
Show resolved
Hide resolved
...fest_staging/charts/csi-secrets-store-provider-azure/templates/provider-azure-installer.yaml
Show resolved
Hide resolved
Signed-off-by: Nilekh Chaudhari <1626598+nilekhc@users.noreply.github.com>
/azp run pr-e2e-azure |
Azure Pipelines successfully started running 1 pipeline(s). |
Signed-off-by: Nilekh Chaudhari 1626598+nilekhc@users.noreply.github.com
Reason for Change:
Requirements
Issue Fixed:
fixes: #892
Does this change contain code from or inspired by another project?
If "Yes," did you notify that project's maintainers and provide attribution?
Special Notes for Reviewers: