Skip to content

Commit 3aff6a0

Browse files
authored
Merge pull request #103 from stefanprodan/flux-v2.5.0
Update Flux to v2.5.0
2 parents 5cc61a4 + 94f8730 commit 3aff6a0

File tree

13 files changed

+340
-434
lines changed

13 files changed

+340
-434
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# flux-aio
22

3-
[![flux](https://img.shields.io/badge/flux-v2.4.0-9cf)](https://fluxcd.io)
3+
[![flux](https://img.shields.io/badge/flux-v2.5.0-9cf)](https://fluxcd.io)
44
[![test](https://github.com/stefanprodan/flux-aio/workflows/test/badge.svg)](https://github.com/stefanprodan/flux-aio/actions)
55
[![license](https://img.shields.io/github/license/stefanprodan/flux-aio.svg)](https://github.com/stefanprodan/flux-aio/blob/main/LICENSE)
66
[![release](https://img.shields.io/github/release/stefanprodan/flux-aio/all.svg)](https://github.com/stefanprodan/flux-aio/releases)
@@ -18,7 +18,7 @@ This distribution is optimized for running [Flux](https://fluxcd.io) on:
1818
- Serverless clusters for cost optimisation (EKS Fargate)
1919

2020
The versioning of this distribution follows semver with the following format:
21-
`<flux version>-<distribution release number>`, e.g. `2.4.0-0`.
21+
`<flux version>-<distribution release number>`, e.g. `2.5.0-0`.
2222

2323
## Documentation
2424

modules/flux-aio/templates/crds.cue

Lines changed: 114 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -668,9 +668,12 @@ customresourcedefinition: "alerts.notification.toolkit.fluxcd.io": {
668668
type: "object"
669669
}
670670
summary: {
671-
description: "Summary holds a short description of the impact and affected cluster."
672-
maxLength: 255
673-
type: "string"
671+
description: """
672+
Summary holds a short description of the impact and affected cluster.
673+
Deprecated: Use EventMetadata instead.
674+
"""
675+
maxLength: 255
676+
type: "string"
674677
}
675678
suspend: {
676679
description: """
@@ -2005,12 +2008,13 @@ customresourcedefinition: "gitrepositories.source.toolkit.fluxcd.io": {
20052008
}
20062009
provider: {
20072010
description: """
2008-
Provider used for authentication, can be 'azure', 'generic'.
2011+
Provider used for authentication, can be 'azure', 'github', 'generic'.
20092012
When not specified, defaults to 'generic'.
20102013
"""
20112014
enum: [
20122015
"generic",
20132016
"azure",
2017+
"github",
20142018
]
20152019
type: "string"
20162020
}
@@ -5087,6 +5091,13 @@ customresourcedefinition: "helmreleases.helm.toolkit.fluxcd.io": {
50875091
description: """
50885092
DisableSchemaValidation prevents the Helm install action from validating
50895093
the values against the JSON Schema.
5094+
"""
5095+
type: "boolean"
5096+
}
5097+
disableTakeOwnership: {
5098+
description: """
5099+
DisableTakeOwnership disables taking ownership of existing resources
5100+
during the Helm install action. Defaults to false.
50905101
"""
50915102
type: "boolean"
50925103
}
@@ -5604,6 +5615,13 @@ customresourcedefinition: "helmreleases.helm.toolkit.fluxcd.io": {
56045615
description: """
56055616
DisableSchemaValidation prevents the Helm upgrade action from validating
56065617
the values against the JSON Schema.
5618+
"""
5619+
type: "boolean"
5620+
}
5621+
disableTakeOwnership: {
5622+
description: """
5623+
DisableTakeOwnership disables taking ownership of existing resources
5624+
during the Helm upgrade action. Defaults to false.
56075625
"""
56085626
type: "boolean"
56095627
}
@@ -11909,6 +11927,14 @@ customresourcedefinition: "imageupdateautomations.image.toolkit.fluxcd.io": {
1190911927
"""
1191011928
type: "string"
1191111929
}
11930+
messageTemplateValues: {
11931+
additionalProperties: type: "string"
11932+
description: """
11933+
MessageTemplateValues provides additional values to be available to the
11934+
templating rendering.
11935+
"""
11936+
type: "object"
11937+
}
1191211938
signingKey: {
1191311939
description: "SigningKey provides the option to sign commits with a GPG key"
1191411940
properties: secretRef: {
@@ -12370,6 +12396,20 @@ customresourcedefinition: "kustomizations.kustomize.toolkit.fluxcd.io": {
1237012396
required: ["provider"]
1237112397
type: "object"
1237212398
}
12399+
deletionPolicy: {
12400+
description: """
12401+
DeletionPolicy can be used to control garbage collection when this
12402+
Kustomization is deleted. Valid values are ('MirrorPrune', 'Delete',
12403+
'Orphan'). 'MirrorPrune' mirrors the Prune field (orphan if false,
12404+
delete if true). Defaults to 'MirrorPrune'.
12405+
"""
12406+
enum: [
12407+
"MirrorPrune",
12408+
"Delete",
12409+
"Orphan",
12410+
]
12411+
type: "string"
12412+
}
1237312413
dependsOn: {
1237412414
description: """
1237512415
DependsOn may contain a meta.NamespacedObjectReference slice
@@ -12404,6 +12444,54 @@ customresourcedefinition: "kustomizations.kustomize.toolkit.fluxcd.io": {
1240412444
"""
1240512445
type: "boolean"
1240612446
}
12447+
healthCheckExprs: {
12448+
description: """
12449+
HealthCheckExprs is a list of healthcheck expressions for evaluating the
12450+
health of custom resources using Common Expression Language (CEL).
12451+
The expressions are evaluated only when Wait or HealthChecks are specified.
12452+
"""
12453+
items: {
12454+
description: "CustomHealthCheck defines the health check for custom resources."
12455+
properties: {
12456+
apiVersion: {
12457+
description: "APIVersion of the custom resource under evaluation."
12458+
type: "string"
12459+
}
12460+
current: {
12461+
description: """
12462+
Current is the CEL expression that determines if the status
12463+
of the custom resource has reached the desired state.
12464+
"""
12465+
type: "string"
12466+
}
12467+
failed: {
12468+
description: """
12469+
Failed is the CEL expression that determines if the status
12470+
of the custom resource has failed to reach the desired state.
12471+
"""
12472+
type: "string"
12473+
}
12474+
inProgress: {
12475+
description: """
12476+
InProgress is the CEL expression that determines if the status
12477+
of the custom resource has not yet reached the desired state.
12478+
"""
12479+
type: "string"
12480+
}
12481+
kind: {
12482+
description: "Kind of the custom resource under evaluation."
12483+
type: "string"
12484+
}
12485+
}
12486+
required: [
12487+
"apiVersion",
12488+
"current",
12489+
"kind",
12490+
]
12491+
type: "object"
12492+
}
12493+
type: "array"
12494+
}
1240712495
healthChecks: {
1240812496
description: "A list of resources to be included in the health assessment."
1240912497
items: {
@@ -12885,6 +12973,16 @@ customresourcedefinition: "kustomizations.kustomize.toolkit.fluxcd.io": {
1288512973
required: ["entries"]
1288612974
type: "object"
1288712975
}
12976+
lastAppliedOriginRevision: {
12977+
description: """
12978+
The last successfully applied origin revision.
12979+
Equals the origin revision of the applied Artifact from the referenced Source.
12980+
Usually present on the Metadata of the applied Artifact and depends on the
12981+
Source type, e.g. for OCI it's the value associated with the key
12982+
"org.opencontainers.image.revision".
12983+
"""
12984+
type: "string"
12985+
}
1288812986
lastAppliedRevision: {
1288912987
description: """
1289012988
The last successfully applied revision.
@@ -15614,6 +15712,18 @@ customresourcedefinition: "receivers.notification.toolkit.fluxcd.io": {
1561415712
pattern: "^([0-9]+(\\.[0-9]+)?(ms|s|m|h))+$"
1561515713
type: "string"
1561615714
}
15715+
resourceFilter: {
15716+
description: """
15717+
ResourceFilter is a CEL expression expected to return a boolean that is
15718+
evaluated for each resource referenced in the Resources field when a
15719+
webhook is received. If the expression returns false then the controller
15720+
will not request a reconciliation for the resource.
15721+
When the expression is specified the controller will parse it and mark
15722+
the object as terminally failed if the expression is invalid or does not
15723+
return a boolean.
15724+
"""
15725+
type: "string"
15726+
}
1561715727
resources: {
1561815728
description: "A list of resources to be notified about changes."
1561915729
items: {

modules/flux-aio/values.cue

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,26 +3,26 @@
33
package main
44

55
values: {
6-
version: "v2.4.0"
6+
version: "v2.5.0"
77
controllers: {
88
source: image: {
99
repository: "ghcr.io/fluxcd/source-controller"
10-
tag: "v1.4.1"
10+
tag: "v1.5.0"
1111
digest: ""
1212
}
1313
kustomize: image: {
1414
repository: "ghcr.io/fluxcd/kustomize-controller"
15-
tag: "v1.4.0"
15+
tag: "v1.5.0"
1616
digest: ""
1717
}
1818
notification: image: {
1919
repository: "ghcr.io/fluxcd/notification-controller"
20-
tag: "v1.4.0"
20+
tag: "v1.5.0"
2121
digest: ""
2222
}
2323
helm: image: {
2424
repository: "ghcr.io/fluxcd/helm-controller"
25-
tag: "v1.1.0"
25+
tag: "v1.2.0"
2626
digest: ""
2727
}
2828
}

0 commit comments

Comments
 (0)