From 736bafb3e3e83b763956489408846f5ae483ed47 Mon Sep 17 00:00:00 2001 From: Benjamin Kaplan <58792807+bskaplan@users.noreply.github.com> Date: Thu, 16 May 2024 16:28:49 -0700 Subject: [PATCH] Add nfs support to cloudrun v1 services. (#10244) --- mmv1/products/cloudrun/Service.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/mmv1/products/cloudrun/Service.yaml b/mmv1/products/cloudrun/Service.yaml index 255447328bd4..86114149d106 100644 --- a/mmv1/products/cloudrun/Service.yaml +++ b/mmv1/products/cloudrun/Service.yaml @@ -875,6 +875,28 @@ properties: Driver-specific attributes. The following options are supported for available drivers: * gcsfuse.run.googleapis.com * bucketName: The name of the Cloud Storage Bucket that backs this volume. The Cloud Run Service identity must have access to this bucket. + - !ruby/object:Api::Type::NestedObject + name: nfs + description: |- + A filesystem backed by a Network File System share. This filesystem requires the + run.googleapis.com/execution-environment annotation to be set to "gen2" and + run.googleapis.com/launch-stage set to "BETA" or "ALPHA". + min_version: beta + properties: + - !ruby/object:Api::Type::String + name: server + required: true + description: |- + IP address or hostname of the NFS server + - !ruby/object:Api::Type::String + name: path + required: true + description: |- + Path exported by the NFS server + - !ruby/object:Api::Type::Boolean + name: readOnly + description: |- + If true, mount the NFS volume as read only in all mounts. Defaults to false. - !ruby/object:Api::Type::Enum name: servingState deprecation_message: >-