-
Notifications
You must be signed in to change notification settings - Fork 321
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
Add VAP-CEL to K8sPSPFlexVolumes #536
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: Max Smythe <[email protected]>
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
This issue/PR has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions. |
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.
Thanks! LGTM
!has(variables.anyObject.spec.volumes) ? [] : | ||
variables.anyObject.spec.volumes.filter(volume, has(volume.flexVolume)) | ||
- name: allowedFlexVolumeDrivers | ||
expression: variables.params.allowedFlexVolumes.map(volume, volume.driver) |
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.
expression: variables.params.allowedFlexVolumes.map(volume, volume.driver) | |
expression: !has(variables.params.allowedFlexVolumes) ? [] : variables.params.allowedFlexVolumes.map(volume, volume.driver) |
to avoid null pointers
expression: variables.params.allowedFlexVolumes.map(volume, volume.driver) | ||
- name: badFlexVolumeNames | ||
expression: | | ||
variables.flexVolumes.map(volume, |
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.
variables.flexVolumes.map(volume, | |
!has(variables.flexVolumes) ? [] : variables.flexVolumes.map(volume, |
to avoid null pointers
This issue/PR has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions. |
What this PR does / why we need it:
Which issue(s) does this PR fix (optional, using
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when the PR gets merged):Fixes #541
Special notes for your reviewer: