Bump Armada Charts CRD

Change-Id: I1ca6d799d8c5ce5e8dbd5277e5379f21f43150f4
Signed-off-by: Ruslan Aliev <raliev@mirantis.com>
This commit is contained in:
Ruslan Aliev 2024-02-08 15:59:52 -06:00
parent 83ab1e6596
commit 352f8c28ed
2 changed files with 32 additions and 17 deletions

View File

@ -14,7 +14,27 @@ spec:
singular: armadachart
scope: Namespaced
versions:
- name: v1
- additionalPrinterColumns:
- jsonPath: .metadata.creationTimestamp
name: Age
type: date
- jsonPath: .status.conditions[?(@.type=="Ready")].status
name: Ready
type: string
- jsonPath: .status.helmStatus
name: Helm Status
type: string
- jsonPath: .status.waitCompleted
name: Wait Done
type: boolean
- jsonPath: .status.tested
name: Tested
type: boolean
- jsonPath: .status.conditions[?(@.type=="Ready")].message
name: Message
priority: 10
type: string
name: v1
schema:
openAPIV3Schema:
description: ArmadaChart is the Schema for the armadacharts API
@ -196,31 +216,22 @@ spec:
the latest desired state. It is reset after a successful reconciliation.
format: int64
type: integer
helmChart:
description: HelmChart is the namespaced name of the HelmChart resource
created by the controller for the ArmadaChart.
helmStatus:
description: HelmStatus describes the status of helm release
type: string
installFailures:
description: InstallFailures is the install failure count against
the latest desired state. It is reset after a successful reconciliation.
format: int64
type: integer
lastAppliedRevision:
description: LastAppliedRevision is the revision of the last successfully
applied source.
type: string
lastAttemptedRevision:
description: LastAttemptedRevision is the revision of the last reconciliation
attempt.
lastAttemptedChartSource:
description: LastAppliedChartSource is the URL of chart of the last
reconciliation attempt
type: string
lastAttemptedValuesChecksum:
description: LastAttemptedValuesChecksum is the SHA1 checksum of the
description: LastAppliedValuesChecksum is the SHA1 checksum of the
values of the last reconciliation attempt.
type: string
lastReleaseRevision:
description: LastReleaseRevision is the revision of the last successful
Helm release.
type: integer
observedGeneration:
description: ObservedGeneration is the last observed generation.
format: int64
@ -234,6 +245,10 @@ spec:
the latest desired state. It is reset after a successful reconciliation.
format: int64
type: integer
waitCompleted:
description: WaitCompleted is the bool value whether the Helm Release
resources were waited for or not.
type: boolean
type: object
type: object
served: true

View File

@ -202,7 +202,7 @@ func (c *RunCommand) InstallChart(
Namespace: chart.Namespace,
LabelSelector: fmt.Sprintf("%s=%s", armadav1.ArmadaChartLabel,
fmt.Sprintf("%s-%s", c.airManifest.ReleasePrefix, chart.Spec.Release)),
ResourceType: "armadacharts.armada.airshipit.org",
ResourceType: "armadacharts",
Timeout: time.Second * time.Duration(chart.Spec.Wait.Timeout),
Logger: klog.FromContext(context.Background()),
}