Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pull latest schemas file from flux 2.2.2 #251

Merged
merged 1 commit into from
Jan 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
210 changes: 208 additions & 2 deletions helm.toolkit.fluxcd.io/helmrelease_v2beta1.json
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,78 @@
},
"type": "array"
},
"driftDetection": {
"description": "DriftDetection holds the configuration for detecting and handling differences between the manifest in the Helm storage and the resources currently existing in the cluster. \n Note: this field is provisional to the v2beta2 API, and not actively used by v2beta1 HelmReleases.",
"properties": {
"ignore": {
"description": "Ignore contains a list of rules for specifying which changes to ignore during diffing.",
"items": {
"description": "IgnoreRule defines a rule to selectively disregard specific changes during the drift detection process.",
"properties": {
"paths": {
"description": "Paths is a list of JSON Pointer (RFC 6901) paths to be excluded from consideration in a Kubernetes object.",
"items": {
"type": "string"
},
"type": "array"
},
"target": {
"description": "Target is a selector for specifying Kubernetes objects to which this rule applies. If Target is not set, the Paths will be ignored for all Kubernetes objects within the manifest of the Helm release.",
"properties": {
"annotationSelector": {
"description": "AnnotationSelector is a string that follows the label selection expression https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api It matches with the resource annotations.",
"type": "string"
},
"group": {
"description": "Group is the API group to select resources from. Together with Version and Kind it is capable of unambiguously identifying and/or selecting resources. https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md",
"type": "string"
},
"kind": {
"description": "Kind of the API Group to select resources from. Together with Group and Version it is capable of unambiguously identifying and/or selecting resources. https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md",
"type": "string"
},
"labelSelector": {
"description": "LabelSelector is a string that follows the label selection expression https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api It matches with the resource labels.",
"type": "string"
},
"name": {
"description": "Name to match resources with.",
"type": "string"
},
"namespace": {
"description": "Namespace to select resources from.",
"type": "string"
},
"version": {
"description": "Version of the API Group to select resources from. Together with Group and Kind it is capable of unambiguously identifying and/or selecting resources. https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md",
"type": "string"
}
},
"type": "object",
"additionalProperties": false
}
},
"required": [
"paths"
],
"type": "object",
"additionalProperties": false
},
"type": "array"
},
"mode": {
"description": "Mode defines how differences should be handled between the Helm manifest and the manifest currently applied to the cluster. If not explicitly set, it defaults to DiffModeDisabled.",
"enum": [
"enabled",
"warn",
"disabled"
],
"type": "string"
}
},
"type": "object",
"additionalProperties": false
},
"install": {
"description": "Install holds the configuration for Helm install actions for this HelmRelease.",
"properties": {
Expand Down Expand Up @@ -249,7 +321,7 @@
"additionalProperties": false
},
"interval": {
"description": "Interval at which to reconcile the Helm release.",
"description": "Interval at which to reconcile the Helm release. This interval is approximate and may be subject to jitter to ensure efficient use of resources.",
"pattern": "^([0-9]+(\\.[0-9]+)?(ms|s|m|h))+$",
"type": "string"
},
Expand Down Expand Up @@ -576,6 +648,16 @@
"uninstall": {
"description": "Uninstall holds the configuration for Helm uninstall actions for this HelmRelease.",
"properties": {
"deletionPropagation": {
"default": "background",
"description": "DeletionPropagation specifies the deletion propagation policy when a Helm uninstall is performed.",
"enum": [
"background",
"foreground",
"orphan"
],
"type": "string"
},
"disableHooks": {
"description": "DisableHooks prevents hooks from running during the Helm rollback action.",
"type": "boolean"
Expand Down Expand Up @@ -801,6 +883,105 @@
"description": "HelmChart is the namespaced name of the HelmChart resource created by the controller for the HelmRelease.",
"type": "string"
},
"history": {
"description": "History holds the history of Helm releases performed for this HelmRelease up to the last successfully completed release. \n Note: this field is provisional to the v2beta2 API, and not actively used by v2beta1 HelmReleases.",
"items": {
"description": "Snapshot captures a point-in-time copy of the status information for a Helm release, as managed by the controller.",
"properties": {
"apiVersion": {
"description": "APIVersion is the API version of the Snapshot. Provisional: when the calculation method of the Digest field is changed, this field will be used to distinguish between the old and new methods.",
"type": "string"
},
"chartName": {
"description": "ChartName is the chart name of the release object in storage.",
"type": "string"
},
"chartVersion": {
"description": "ChartVersion is the chart version of the release object in storage.",
"type": "string"
},
"configDigest": {
"description": "ConfigDigest is the checksum of the config (better known as \"values\") of the release object in storage. It has the format of `<algo>:<checksum>`.",
"type": "string"
},
"deleted": {
"description": "Deleted is when the release was deleted.",
"format": "date-time",
"type": "string"
},
"digest": {
"description": "Digest is the checksum of the release object in storage. It has the format of `<algo>:<checksum>`.",
"type": "string"
},
"firstDeployed": {
"description": "FirstDeployed is when the release was first deployed.",
"format": "date-time",
"type": "string"
},
"lastDeployed": {
"description": "LastDeployed is when the release was last deployed.",
"format": "date-time",
"type": "string"
},
"name": {
"description": "Name is the name of the release.",
"type": "string"
},
"namespace": {
"description": "Namespace is the namespace the release is deployed to.",
"type": "string"
},
"status": {
"description": "Status is the current state of the release.",
"type": "string"
},
"testHooks": {
"additionalProperties": {
"description": "TestHookStatus holds the status information for a test hook as observed to be run by the controller.",
"properties": {
"lastCompleted": {
"description": "LastCompleted is the time the test hook last completed.",
"format": "date-time",
"type": "string"
},
"lastStarted": {
"description": "LastStarted is the time the test hook was last started.",
"format": "date-time",
"type": "string"
},
"phase": {
"description": "Phase the test hook was observed to be in.",
"type": "string"
}
},
"type": "object",
"additionalProperties": false
},
"description": "TestHooks is the list of test hooks for the release as observed to be run by the controller.",
"type": "object"
},
"version": {
"description": "Version is the version of the release object in storage.",
"type": "integer"
}
},
"required": [
"chartName",
"chartVersion",
"configDigest",
"digest",
"firstDeployed",
"lastDeployed",
"name",
"namespace",
"status",
"version"
],
"type": "object",
"additionalProperties": false
},
"type": "array"
},
"installFailures": {
"description": "InstallFailures is the install failure count against the latest desired state. It is reset after a successful reconciliation.",
"format": "int64",
Expand All @@ -810,6 +991,19 @@
"description": "LastAppliedRevision is the revision of the last successfully applied source.",
"type": "string"
},
"lastAttemptedConfigDigest": {
"description": "LastAttemptedConfigDigest is the digest for the config (better known as \"values\") of the last reconciliation attempt. \n Note: this field is provisional to the v2beta2 API, and not actively used by v2beta1 HelmReleases.",
"type": "string"
},
"lastAttemptedGeneration": {
"description": "LastAttemptedGeneration is the last generation the controller attempted to reconcile. \n Note: this field is provisional to the v2beta2 API, and not actively used by v2beta1 HelmReleases.",
"format": "int64",
"type": "integer"
},
"lastAttemptedReleaseAction": {
"description": "LastAttemptedReleaseAction is the last release action performed for this HelmRelease. It is used to determine the active remediation strategy. \n Note: this field is provisional to the v2beta2 API, and not actively used by v2beta1 HelmReleases.",
"type": "string"
},
"lastAttemptedRevision": {
"description": "LastAttemptedRevision is the revision of the last reconciliation attempt.",
"type": "string"
Expand All @@ -818,10 +1012,18 @@
"description": "LastAttemptedValuesChecksum is the SHA1 checksum of the values of the last reconciliation attempt.",
"type": "string"
},
"lastHandledForceAt": {
"description": "LastHandledForceAt holds the value of the most recent force request value, so a change of the annotation value can be detected. \n Note: this field is provisional to the v2beta2 API, and not actively used by v2beta1 HelmReleases.",
"type": "string"
},
"lastHandledReconcileAt": {
"description": "LastHandledReconcileAt holds the value of the most recent reconcile request value, so a change of the annotation value can be detected.",
"type": "string"
},
"lastHandledResetAt": {
"description": "LastHandledResetAt holds the value of the most recent reset request value, so a change of the annotation value can be detected. \n Note: this field is provisional to the v2beta2 API, and not actively used by v2beta1 HelmReleases.",
"type": "string"
},
"lastReleaseRevision": {
"description": "LastReleaseRevision is the revision of the last successful Helm release.",
"type": "integer"
Expand All @@ -831,6 +1033,10 @@
"format": "int64",
"type": "integer"
},
"storageNamespace": {
"description": "StorageNamespace is the namespace of the Helm release storage for the current release. \n Note: this field is provisional to the v2beta2 API, and not actively used by v2beta1 HelmReleases.",
"type": "string"
},
"upgradeFailures": {
"description": "UpgradeFailures is the upgrade failure count against the latest desired state. It is reset after a successful reconciliation.",
"format": "int64",
Expand All @@ -842,4 +1048,4 @@
}
},
"type": "object"
}
}
Loading