Skip to content

Commit 7357b68

Browse files
Fix dns secret version (#1220)
[static] Signed-off-by: Moritz Kiefer <[email protected]> Co-authored-by: Moritz Kiefer <[email protected]>
1 parent bd0c6c4 commit 7357b68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build-tools/cncluster

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,7 @@ function subcmd_upgrade() {
539539

540540
function _get_gcloud_secret() {
541541
local -r secret_name="$1"
542-
gcloud secrets versions access 1 --secret="$secret_name"
542+
gcloud secrets versions access latest --secret="$secret_name"
543543
}
544544

545545
function _get_service_account_key_id() {

0 commit comments

Comments
 (0)