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.