UNPKG

@kubernetes-models/flux-cd

Version:
142 lines (141 loc) 5.61 kB
import { IComGithubFluxcdPkgApisMetaReconcileRequestStatus } from "../../github.com/fluxcd/pkg/apis/meta/ReconcileRequestStatus.js"; import { IIoK8sApimachineryPkgApisMetaV1Condition } from "@kubernetes-models/apimachinery/apis/meta/v1/Condition"; import { IComGithubFluxcdHelmControllerApiV2Snapshots } from "../v2/Snapshots.js"; import { ModelData, Model } from "@kubernetes-models/base"; /** * HelmReleaseStatus defines the observed state of a HelmRelease. */ export interface IHelmReleaseStatus extends IComGithubFluxcdPkgApisMetaReconcileRequestStatus { /** * Conditions holds the conditions for the HelmRelease. */ "conditions"?: Array<IIoK8sApimachineryPkgApisMetaV1Condition>; /** * Failures is the reconciliation failure count against the latest desired * state. It is reset after a successful reconciliation. */ "failures"?: number; /** * HelmChart is the namespaced name of the HelmChart resource created by * the controller for the HelmRelease. */ "helmChart"?: string; /** * History holds the history of Helm releases performed for this HelmRelease * up to the last successfully completed release. * * Note: this field is provisional to the v2beta2 API, and not actively used * by v2beta1 HelmReleases. */ "history"?: IComGithubFluxcdHelmControllerApiV2Snapshots; /** * InstallFailures is the install failure count against the latest desired * state. It is reset after a successful reconciliation. */ "installFailures"?: number; /** * LastAppliedRevision is the revision of the last successfully applied source. */ "lastAppliedRevision"?: string; /** * LastAttemptedConfigDigest is the digest for the config (better known as * "values") of the last reconciliation attempt. * * Note: this field is provisional to the v2beta2 API, and not actively used * by v2beta1 HelmReleases. */ "lastAttemptedConfigDigest"?: string; /** * LastAttemptedGeneration is the last generation the controller attempted * to reconcile. * * Note: this field is provisional to the v2beta2 API, and not actively used * by v2beta1 HelmReleases. */ "lastAttemptedGeneration"?: number; /** * LastAttemptedReleaseAction is the last release action performed for this * HelmRelease. It is used to determine the active remediation strategy. * * Note: this field is provisional to the v2beta2 API, and not actively used * by v2beta1 HelmReleases. */ "lastAttemptedReleaseAction"?: string; /** * LastAttemptedRevision is the revision of the last reconciliation attempt. */ "lastAttemptedRevision"?: string; /** * LastAttemptedValuesChecksum is the SHA1 checksum of the values of the last * reconciliation attempt. */ "lastAttemptedValuesChecksum"?: string; /** * LastHandledForceAt holds the value of the most recent force request * value, so a change of the annotation value can be detected. * * Note: this field is provisional to the v2beta2 API, and not actively used * by v2beta1 HelmReleases. */ "lastHandledForceAt"?: string; /** * LastHandledResetAt holds the value of the most recent reset request * value, so a change of the annotation value can be detected. * * Note: this field is provisional to the v2beta2 API, and not actively used * by v2beta1 HelmReleases. */ "lastHandledResetAt"?: string; /** * LastReleaseRevision is the revision of the last successful Helm release. */ "lastReleaseRevision"?: number; /** * ObservedGeneration is the last observed generation. */ "observedGeneration"?: number; /** * ObservedPostRenderersDigest is the digest for the post-renderers of * the last successful reconciliation attempt. */ "observedPostRenderersDigest"?: string; /** * StorageNamespace is the namespace of the Helm release storage for the * current release. * * Note: this field is provisional to the v2beta2 API, and not actively used * by v2beta1 HelmReleases. */ "storageNamespace"?: string; /** * UpgradeFailures is the upgrade failure count against the latest desired * state. It is reset after a successful reconciliation. */ "upgradeFailures"?: number; } /** * HelmReleaseStatus defines the observed state of a HelmRelease. */ export declare class HelmReleaseStatus extends Model<IHelmReleaseStatus> implements IHelmReleaseStatus { "lastHandledReconcileAt"?: string; "conditions"?: Array<IIoK8sApimachineryPkgApisMetaV1Condition>; "failures"?: number; "helmChart"?: string; "history"?: IComGithubFluxcdHelmControllerApiV2Snapshots; "installFailures"?: number; "lastAppliedRevision"?: string; "lastAttemptedConfigDigest"?: string; "lastAttemptedGeneration"?: number; "lastAttemptedReleaseAction"?: string; "lastAttemptedRevision"?: string; "lastAttemptedValuesChecksum"?: string; "lastHandledForceAt"?: string; "lastHandledResetAt"?: string; "lastReleaseRevision"?: number; "observedGeneration"?: number; "observedPostRenderersDigest"?: string; "storageNamespace"?: string; "upgradeFailures"?: number; constructor(data?: ModelData<IHelmReleaseStatus>); } export type { IHelmReleaseStatus as IComGithubFluxcdHelmControllerApiV2beta1HelmReleaseStatus, HelmReleaseStatus as ComGithubFluxcdHelmControllerApiV2beta1HelmReleaseStatus };