mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-08 03:33:56 +00:00
Remove v2beta1 aggregated discovery from being generated
This commit is contained in:
parent
0ce7f7e25e
commit
8dd2c7de47
File diff suppressed because it is too large
Load Diff
@ -106,9 +106,6 @@ rm -fr "${DISCOVERY_ROOT_DIR}"
|
||||
mkdir -p "${DISCOVERY_ROOT_DIR}"
|
||||
curl -kfsS -H 'Authorization: Bearer dummy_token' -H 'Accept: application/json;g=apidiscovery.k8s.io;v=v2;as=APIGroupDiscoveryList' "https://${API_HOST}:${API_PORT}/apis" | jq -S . > "${DISCOVERY_ROOT_DIR}/aggregated_v2.json"
|
||||
|
||||
# Deprecated, remove before v1.33
|
||||
curl -kfsS -H 'Authorization: Bearer dummy_token' -H 'Accept: application/json;g=apidiscovery.k8s.io;v=v2beta1;as=APIGroupDiscoveryList' "https://${API_HOST}:${API_PORT}/apis" | jq -S . > "${DISCOVERY_ROOT_DIR}/aggregated_v2beta1.json"
|
||||
|
||||
kube::log::status "Updating " "${OPENAPI_ROOT_DIR} for OpenAPI v2"
|
||||
|
||||
rm -f "${OPENAPI_ROOT_DIR}/swagger.json"
|
||||
|
Loading…
Reference in New Issue
Block a user