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 template condition for Arc #973
Conversation
charts/csi-secrets-store-provider-azure/templates/provider-azure-installer.yaml
Outdated
Show resolved
Hide resolved
@@ -22,13 +22,17 @@ spec: | |||
{{- if .Values.linux.podAnnotations}} | |||
{{- toYaml .Values.linux.podAnnotations | nindent 8 }} | |||
{{- end }} | |||
{{- if and .Values.enableArcExtension .Values.arc.enableMonitoring }} |
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.
and
didn't work here?
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.
nope. It also tries to evaluate .Values.arc.enableMonitoring
, which is not in values.yaml. It's in a separate file arc-values.yaml used while releasing ARC extension.
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.
The scan_images
failure should be resolved with #976.
Were you able to repro this? IIRC, in the last PR the order in which and
operands were validated?
Yeah. I remember this. But I also remember when I first implemented this I had the same issue and exactly the same was the implementation to avoid nil pointer. |
2c8e111
to
fc36dbf
Compare
Is this a simple repro when not using an arc cluster? Is there a way we can catch this in CI/repro it with CI so we can validate this fix and ensure we don't hit this again? |
This PR is stale because it has been open 14 days with no activity. Please comment or this will be closed in 7 days. |
fc36dbf
to
f4349b5
Compare
Signed-off-by: Nilekh Chaudhari <1626598+nilekhc@users.noreply.github.com>
f4349b5
to
9e4125f
Compare
I have added a pod annotation in the e2e tests in the helm install. So if there is an issue, CI will give an error. |
/azp run pr-e2e-azure |
Azure Pipelines successfully started running 1 pipeline(s). |
/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: #972
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: