Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bot] kubernetes: fix /credentials endpoint URL: Re-Generated From digitalocean/openapi@6f7c147 #202

Merged
merged 1 commit into from
Sep 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion DO_OPENAPI_COMMIT_SHA.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
555f840
6f7c147
2 changes: 1 addition & 1 deletion src/pydo/aio/operations/_operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion src/pydo/operations/_operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
Loading