Skip to content

feat: [netapp] Add Squash Mode to Export Policy#6905

Merged
sofisl merged 2 commits intomainfrom
owl-bot-copy-packages-google-cloud-netapp
Nov 21, 2025
Merged

feat: [netapp] Add Squash Mode to Export Policy#6905
sofisl merged 2 commits intomainfrom
owl-bot-copy-packages-google-cloud-netapp

Conversation

@gcf-owl-bot
Copy link
Copy Markdown
Contributor

@gcf-owl-bot gcf-owl-bot Bot commented Nov 20, 2025

  • Regenerate this pull request now.

This change introduces squash mode options to the export policy rules. Squash mode determines how user and group IDs are mapped for NFS volume access.

The following squash modes are added:

  • NO_ROOT_SQUASH Root user retains full access.
  • ROOT_SQUASH Root user is mapped to the anonymous user ID.
  • ALL_SQUASH All users are mapped to the anonymous user ID.

A new field anon_uid is also added to specify the anonymous user ID when ALL_SQUASH is used.
The squash_mode field takes precedence over the existing has_root_access field, which will be deprecated in the future.

PiperOrigin-RevId: 834629780

Source-Link: googleapis/googleapis@0a299a2

Source-Link: https://github.com/googleapis/googleapis-gen/commit/41aa97c360400099e52e4505e42ee063123560d9
Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLW5ldGFwcC8uT3dsQm90LnlhbWwiLCJoIjoiNDFhYTk3YzM2MDQwMDA5OWU1MmU0NTA1ZTQyZWUwNjMxMjM1NjBkOSJ9

This change introduces squash mode options to the export policy rules. Squash mode determines how user and group IDs are mapped for NFS volume access.

The following squash modes are added:

*   **NO_ROOT_SQUASH** Root user retains full access.
*   **ROOT_SQUASH** Root user is mapped to the anonymous user ID.
*   **ALL_SQUASH** All users are mapped to the anonymous user ID.

A new field anon_uid is also added to specify the anonymous user ID when ALL_SQUASH is used.
The squash_mode field takes precedence over the existing has_root_access field, which will be deprecated in the future.

PiperOrigin-RevId: 834629780

Source-Link: googleapis/googleapis@0a299a2

Source-Link: googleapis/googleapis-gen@41aa97c
Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLW5ldGFwcC8uT3dsQm90LnlhbWwiLCJoIjoiNDFhYTk3YzM2MDQwMDA5OWU1MmU0NTA1ZTQyZWUwNjMxMjM1NjBkOSJ9
@dpebot
Copy link
Copy Markdown
Collaborator

dpebot commented Nov 20, 2025

/gcbrun

@gcf-owl-bot gcf-owl-bot Bot marked this pull request as ready for review November 20, 2025 10:27
@gcf-owl-bot gcf-owl-bot Bot requested a review from a team November 20, 2025 10:27
@dpebot
Copy link
Copy Markdown
Collaborator

dpebot commented Nov 20, 2025

/gcbrun

@sofisl sofisl merged commit e77b12e into main Nov 21, 2025
11 checks passed
@sofisl sofisl deleted the owl-bot-copy-packages-google-cloud-netapp branch November 21, 2025 23:12
@release-please release-please Bot mentioned this pull request Nov 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants