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

Update sidecarproxy to use skip certificate validation #181

Merged
merged 14 commits into from
Jul 21, 2022
Merged

Conversation

Sahiba-Gupta
Copy link
Contributor

@Sahiba-Gupta Sahiba-Gupta commented Jul 11, 2022

Description
Authorization insecure related entities are renamed to skip_Certificate_Validation.

The TokenGetter and the StoragePoolCache use the same PowerFlex client which sets a login token behind the scenes if none is already set. The StoragePoolCache does not use the TokenGetter to set a token so sometimes we will see a race condition when the TokenGetter is updating and the StoragePoolCache is used.

The fix is to have the StoragePoolCache use the TokenGetter to set a token before making API calls.

Added an error check in the volumeDeleteHandler and fixed the image scan check (aquasecurity/trivy#2432).

Fixed vulnerability https://nvd.nist.gov/vuln/detail/CVE-2022-21698 by moving the Prometheus client to v1.11.1.

GitHub Issues

List the GitHub issues impacted by this PR:

| GitHub Issue # |
| dell/csm#368 |
| dell/csm#382 |

Checklist:

  • I have performed a self-review of my own code to ensure there are no formatting, vetting, linting, or security issues
  • I have verified that new and existing unit tests pass locally with my changes
  • I have not allowed coverage numbers to degenerate
  • I have maintained at least 90% code coverage
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • Backward compatibility is not broken

How Has This Been Tested?
I have tested it locally for powerflex, powerscale and powermax

@atye
Copy link
Contributor

atye commented Jul 11, 2022

Can one of the admins verify this patch?

@csmbot
Copy link
Collaborator

csmbot commented Jul 11, 2022

test comment

sharmilarama
sharmilarama previously approved these changes Jul 11, 2022
sharmilarama
sharmilarama previously approved these changes Jul 12, 2022
@sharmilarama
Copy link
Collaborator

run e2e test

2 similar comments
@sharmilarama
Copy link
Collaborator

run e2e test

@sharmilarama
Copy link
Collaborator

run e2e test

@sharmilarama
Copy link
Collaborator

Please sign all the commits. Thanks!

@Sahiba-Gupta
Copy link
Contributor Author

run e2e test

@sharmilarama
Copy link
Collaborator

e2e pass

@Sahiba-Gupta
Copy link
Contributor Author

Merging this PR as e2e was successful.

@Sahiba-Gupta Sahiba-Gupta merged commit 1b75bc7 into main Jul 21, 2022
@Sahiba-Gupta Sahiba-Gupta deleted the KRV-1366 branch July 21, 2022 19:57
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.

7 participants