Add VAP-CEL to K8sPSPFlexVolumes#536
Add VAP-CEL to K8sPSPFlexVolumes#536maxsmythe wants to merge 4 commits intoopen-policy-agent:masterfrom
Conversation
Signed-off-by: Max Smythe <smythe@google.com>
|
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. |
| !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.
| 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.
| 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. |
|
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. |
|
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. |
|
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. |
|
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. |
|
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. |
|
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. |
|
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. |
|
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: