Skip to content

Commit 418da52

Browse files
chore: update Flux CRDs to latest versions (#185)
Co-authored-by: dgunzy <dgunzy@users.noreply.github.com>
1 parent d79b9ba commit 418da52

19 files changed

Lines changed: 710 additions & 1775 deletions

crds/flux-operator-resourcesetinputproviders.crds.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,12 +273,12 @@ spec:
273273
- message: cannot specify spec.certSecretRef when spec.type is one of
274274
Static, AzureDevOps*, AWSCodeCommit*, ACRArtifactTag, ECRArtifactTag
275275
or GARArtifactTag
276-
rule: '!has(self.certSecretRef) || !(self.url == ''Static'' || self.type.startsWith(''AzureDevOps'')
276+
rule: '!has(self.certSecretRef) || !(self.type == ''Static'' || self.type.startsWith(''AzureDevOps'')
277277
|| self.type.startsWith(''AWSCodeCommit'') || (self.type.endsWith(''ArtifactTag'')
278278
&& self.type != ''OCIArtifactTag''))'
279279
- message: cannot specify spec.secretRef when spec.type is one of Static,
280280
AWSCodeCommit*, ACRArtifactTag, ECRArtifactTag or GARArtifactTag
281-
rule: '!has(self.secretRef) || !(self.url == ''Static'' || self.type.startsWith(''AWSCodeCommit'')
281+
rule: '!has(self.secretRef) || !(self.type == ''Static'' || self.type.startsWith(''AWSCodeCommit'')
282282
|| (self.type.endsWith(''ArtifactTag'') && self.type != ''OCIArtifactTag''))'
283283
status:
284284
description: ResourceSetInputProviderStatus defines the observed state

crds/helm-controller.crds.yaml

Lines changed: 41 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
22
kind: CustomResourceDefinition
33
metadata:
44
annotations:
5-
controller-gen.kubebuilder.io/version: v0.19.0
5+
controller-gen.kubebuilder.io/version: v0.21.0
66
name: helmreleases.helm.toolkit.fluxcd.io
77
spec:
88
group: helm.toolkit.fluxcd.io
@@ -243,16 +243,17 @@ spec:
243243
references to HelmRelease resources that must be ready before this HelmRelease
244244
can be reconciled.
245245
items:
246-
description: DependencyReference defines a HelmRelease dependency
247-
on another HelmRelease resource.
246+
description: |-
247+
DependencyReference contains enough information to locate the referenced Kubernetes resource object
248+
and optional CEL expression to assess its readiness.
248249
properties:
249250
name:
250251
description: Name of the referent.
251252
type: string
252253
namespace:
253254
description: |-
254-
Namespace of the referent, defaults to the namespace of the HelmRelease
255-
resource object that contains the reference.
255+
Namespace of the referent, defaults to the namespace of the resource
256+
object that contains the reference.
256257
type: string
257258
readyExpr:
258259
description: |-
@@ -383,7 +384,6 @@ spec:
383384
required:
384385
- apiVersion
385386
- current
386-
- kind
387387
type: object
388388
type: array
389389
install:
@@ -621,6 +621,18 @@ spec:
621621
622622
If not set, it defaults to true.
623623
type: boolean
624+
postRenderStrategy:
625+
description: |-
626+
PostRenderStrategy defines the strategy for sending hooks to post-renderers.
627+
Valid values are 'nohooks' (hooks not sent to post-renderers, Helm 3 behavior),
628+
'combined' (hooks and templates sent together, Helm 4 default), and 'separate'
629+
(hooks and templates sent in separate streams, Helm 4.2 opt-in).
630+
Defaults to 'combined', or 'nohooks' when the UseHelm3Defaults feature gate is enabled.
631+
enum:
632+
- nohooks
633+
- combined
634+
- separate
635+
type: string
624636
postRenderers:
625637
description: |-
626638
PostRenderers holds an array of Helm PostRenderers, which will be applied in order
@@ -906,6 +918,18 @@ spec:
906918
description: Upgrade holds the configuration for Helm upgrade actions
907919
for this HelmRelease.
908920
properties:
921+
chartNameChangeStrategy:
922+
description: |-
923+
ChartNameChangeStrategy defines the strategy to use when a Helm chart name changes.
924+
Valid values are 'Reinstall' or 'InPlaceUpdate'. Defaults to 'Reinstall' if omitted.
925+
926+
Reinstall: Reinstall the Helm release, uninstalling the existing Helm release.
927+
928+
InPlaceUpdate: Update the Helm release in place.
929+
enum:
930+
- InPlaceUpdate
931+
- Reinstall
932+
type: string
909933
cleanupOnFail:
910934
description: |-
911935
CleanupOnFail allows deletion of new resources created during the Helm
@@ -1068,6 +1092,17 @@ spec:
10681092
- Secret
10691093
- ConfigMap
10701094
type: string
1095+
literal:
1096+
description: |-
1097+
Literal marks this ValuesReference as a literal value. When set in
1098+
combination with TargetPath, the referenced value is merged at the target
1099+
path without interpreting Helm's `--set` syntax (commas, brackets, dots,
1100+
equal signs, etc.), mirroring the behavior of `helm --set-literal`. This
1101+
is the only safe way to inject arbitrary file content (config files, JSON
1102+
blobs, multi-line strings containing special characters) through
1103+
`valuesFrom`. Has no effect when TargetPath is empty: in that mode the
1104+
referenced value is always YAML-merged at the root.
1105+
type: boolean
10711106
name:
10721107
description: |-
10731108
Name of the values referent. Should reside in the same namespace as the

0 commit comments

Comments
 (0)