Use apiextension v1
- upgrade from apiextension v1beta1 to v1 - generate yaml manifest for crd intead of applying it at runtime - users will have to apply the manifest with kubectl - kg and kgctl log an error if the crd is not present - now validation should actually work Signed-off-by: leonnicolas <leonloechner@gmx.de>
This commit is contained in:
		
							
								
								
									
										2
									
								
								vendor/k8s.io/apimachinery/pkg/api/resource/quantity_proto.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/k8s.io/apimachinery/pkg/api/resource/quantity_proto.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -166,7 +166,7 @@ func (m *Quantity) Unmarshal(data []byte) error { | ||||
| 			if err != nil { | ||||
| 				return err | ||||
| 			} | ||||
| 			if skippy < 0 { | ||||
| 			if (skippy < 0) || (iNdEx+skippy) < 0 { | ||||
| 				return ErrInvalidLengthGenerated | ||||
| 			} | ||||
| 			if (iNdEx + skippy) > l { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user