From 14052cfc4fe7f0c483384355404493a69c0c52cc Mon Sep 17 00:00:00 2001 From: API Engineering Date: Tue, 26 Sep 2023 18:55:14 +0000 Subject: [PATCH] [bot] Updated client based on openapi-6f7c147/clientgen --- 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 b4fc75b0..7f659175 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 69f2ef64..09d144f7 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 f4602ad4..bea0c691 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.