api: make v2beta2 storage version

Signed-off-by: Hidde Beydals <hidde@hhh.computer>
This commit is contained in:
Hidde Beydals 2023-06-16 21:54:33 +02:00
parent 76f62ffc47
commit deb0b14e43
No known key found for this signature in database
GPG Key ID: 979F380FC2341744
6 changed files with 2603 additions and 5 deletions

View File

@ -92,7 +92,7 @@ manifests: controller-gen
# Generate API reference documentation
api-docs: gen-crd-api-reference-docs
$(GEN_CRD_API_REFERENCE_DOCS) -api-dir=./api/v2beta1 -config=./hack/api-docs/config.json -template-dir=./hack/api-docs/template -out-file=./docs/api/v2beta1/helm.md
$(GEN_CRD_API_REFERENCE_DOCS) -api-dir=./api/v2beta2 -config=./hack/api-docs/config.json -template-dir=./hack/api-docs/template -out-file=./docs/api/v2beta2/helm.md
# Run go mod tidy
tidy:

View File

@ -7,5 +7,5 @@ resources:
- group: helm
kind: HelmRelease
version: v2beta2
storageVersion: v2beta1
storageVersion: v2beta2
version: "2"

View File

@ -1017,7 +1017,6 @@ const (
// +genclient:Namespaced
// +kubebuilder:object:root=true
// +kubebuilder:resource:shortName=hr
// +kubebuilder:storageversion
// +kubebuilder:subresource:status
// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp",description=""
// +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type==\"Ready\")].status",description=""

View File

@ -1013,6 +1013,7 @@ const (
// +genclient:Namespaced
// +kubebuilder:object:root=true
// +kubebuilder:resource:shortName=hr
// +kubebuilder:storageversion
// +kubebuilder:subresource:status
// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp",description=""
// +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type==\"Ready\")].status",description=""

View File

@ -919,7 +919,7 @@ spec:
type: object
type: object
served: true
storage: true
storage: false
subresources:
status: {}
- additionalPrinterColumns:
@ -2003,6 +2003,6 @@ spec:
type: object
type: object
served: true
storage: false
storage: true
subresources:
status: {}

2598
docs/api/v2beta2/helm.md Normal file

File diff suppressed because it is too large Load Diff