Update aggregated discovery to v2 fixture
This commit is contained in:
		
							
								
								
									
										2121
									
								
								api/discovery/aggregated_v2.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2121
									
								
								api/discovery/aggregated_v2.json
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							| @@ -103,6 +103,9 @@ kube::log::status "Updating aggregated discovery" | ||||
|  | ||||
| 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" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Jefftree
					Jefftree