@@ -62,6 +62,16 @@ inputs:
6262 type : string
6363 description : |
6464 Path to save the GCP service account key (defaults to a temporary file)
65+ metadata-cache-negative-ttl-secs :
66+ type : string
67+ default : " 5"
68+ description : |
69+ TTL for negative metadata cache entries in seconds
70+ metadata-cache-ttl-secs :
71+ type : string
72+ default : " 60"
73+ description : |
74+ TTL for metadata cache entries in seconds (replaces deprecated stat-cache-ttl and type-cache-ttl)
6575 mount-as-root :
6676 type : boolean
6777 default : false
@@ -72,11 +82,6 @@ inputs:
7282 required : true
7383 description : |
7484 Local directory path where the bucket will be mounted
75- negative-ttl-secs :
76- type : string
77- default : " 5"
78- description : |
79- TTL for negative metadata cache entries in seconds
8085 stat-cache-max-size-mb :
8186 type : string
8287 default : " 32"
@@ -86,11 +91,6 @@ inputs:
8691 type : string
8792 description : |
8893 Directory used for temporary files (defaults to system temp directory)
89- ttl-secs :
90- type : string
91- default : " 60"
92- description : |
93- TTL for metadata cache entries in seconds (replaces deprecated stat-cache-ttl and type-cache-ttl)
9494 uid :
9595 type : string
9696 description : |
@@ -184,8 +184,14 @@ runs:
184184 FLAG_DIR_MODE : ${{ inputs.dir-mode && format('--dir-mode={0}', inputs.dir-mode) || '' }}
185185 FLAG_UID : ${{ inputs.uid && format('--uid={0}', inputs.uid) || '' }}
186186 FLAG_GID : ${{ inputs.gid && format('--gid={0}', inputs.gid) || '' }}
187- FLAG_NEGATIVE_TTL : ${{ inputs.negative-ttl && format('--negative-ttl={0}', inputs.negative-ttl) || '' }}
188- FLAG_TTL_SECS : ${{ inputs.ttl-secs && format('--ttl-secs={0}', inputs.ttl-secs) || '' }}
187+ FLAG_NEGATIVE_TTL : >-
188+ ${{ inputs.metadata-cache-negative-ttl
189+ && format('--metadata-cache-negative-ttl={0}', inputs.metadata-cache-negative-ttl)
190+ || '' }}
191+ FLAG_TTL_SECS : >-
192+ ${{ inputs.metadata-cache-ttl-secs
193+ && format('--metadata-cache-ttl-secs={0}', inputs.metadata-cache-ttl-secs)
194+ || '' }}
189195 FLAG_STAT_CACHE_SIZE : >-
190196 ${{
191197 inputs.stat-cache-max-size-mb
0 commit comments