From 010b228983ea6d2bc8b67af0d7cfd45c5caa3be6 Mon Sep 17 00:00:00 2001 From: digitalocean-engineering Date: Tue, 26 Sep 2023 16:10:26 -0400 Subject: [PATCH] [bot] Updated client based on openapi-6f7c147/clientgen (#202) Co-authored-by: API Engineering --- DO_OPENAPI_COMMIT_SHA.txt | 2 +- src/pydo/aio/operations/_operations.py | 2 +- src/pydo/operations/_operations.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/DO_OPENAPI_COMMIT_SHA.txt b/DO_OPENAPI_COMMIT_SHA.txt index b4fc75b..7f65917 100644 --- a/DO_OPENAPI_COMMIT_SHA.txt +++ b/DO_OPENAPI_COMMIT_SHA.txt @@ -1 +1 @@ -555f840 +6f7c147 diff --git a/src/pydo/aio/operations/_operations.py b/src/pydo/aio/operations/_operations.py index 69f2ef6..09d144f 100644 --- a/src/pydo/aio/operations/_operations.py +++ b/src/pydo/aio/operations/_operations.py @@ -91992,7 +91992,7 @@ async def get_credentials( Clusters supporting token-based authentication may define an expiration by passing a duration in seconds as a query parameter to - ``/v2/kubernetes/clusters/$K8S_CLUSTER_ID/kubeconfig?expiry_seconds=$DURATION_IN_SECONDS``. + ``/v2/kubernetes/clusters/$K8S_CLUSTER_ID/credentials?expiry_seconds=$DURATION_IN_SECONDS``. If not set or 0, then the token will have a 7 day expiry. The query parameter has no impact in certificate-based authentication. diff --git a/src/pydo/operations/_operations.py b/src/pydo/operations/_operations.py index f4602ad..bea0c69 100644 --- a/src/pydo/operations/_operations.py +++ b/src/pydo/operations/_operations.py @@ -98628,7 +98628,7 @@ def get_credentials( Clusters supporting token-based authentication may define an expiration by passing a duration in seconds as a query parameter to - ``/v2/kubernetes/clusters/$K8S_CLUSTER_ID/kubeconfig?expiry_seconds=$DURATION_IN_SECONDS``. + ``/v2/kubernetes/clusters/$K8S_CLUSTER_ID/credentials?expiry_seconds=$DURATION_IN_SECONDS``. If not set or 0, then the token will have a 7 day expiry. The query parameter has no impact in certificate-based authentication.