From c7f9bde3fc651b158a84705ce1a62530520e6a88 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Tue, 27 Oct 2026 02:02:39 +0000 Subject: [PATCH] Update dependency fluxcd/flux2 to v2.10.0 --- cluster/flux-system/gotk-components.yaml | 755 ++++++++++++++++++++--- 1 file changed, 660 insertions(+), 95 deletions(-) diff --git a/cluster/flux-system/gotk-components.yaml b/cluster/flux-system/gotk-components.yaml index 4d8dde4..ceaad8c 100644 --- a/cluster/flux-system/gotk-components.yaml +++ b/cluster/flux-system/gotk-components.yaml @@ -1,6 +1,6 @@ --- # This manifest was generated by flux. DO NOT EDIT. -# Flux Version: v2.9.6 +# Flux Version: v2.10.0 # Components: source-controller,kustomize-controller,helm-controller,notification-controller apiVersion: v1 kind: Namespace @@ -8,7 +8,7 @@ metadata: labels: app.kubernetes.io/instance: flux-system app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v2.9.6 + app.kubernetes.io/version: v2.10.0 pod-security.kubernetes.io/warn: restricted pod-security.kubernetes.io/warn-version: latest name: flux-system @@ -19,7 +19,7 @@ metadata: labels: app.kubernetes.io/instance: flux-system app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v2.9.6 + app.kubernetes.io/version: v2.10.0 name: allow-egress namespace: flux-system spec: @@ -39,7 +39,7 @@ metadata: labels: app.kubernetes.io/instance: flux-system app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v2.9.6 + app.kubernetes.io/version: v2.10.0 name: allow-scraping namespace: flux-system spec: @@ -59,7 +59,7 @@ metadata: labels: app.kubernetes.io/instance: flux-system app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v2.9.6 + app.kubernetes.io/version: v2.10.0 name: allow-webhooks namespace: flux-system spec: @@ -81,7 +81,7 @@ metadata: labels: app.kubernetes.io/instance: flux-system app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v2.9.6 + app.kubernetes.io/version: v2.10.0 name: critical-pods-flux-system namespace: flux-system spec: @@ -101,7 +101,7 @@ metadata: labels: app.kubernetes.io/instance: flux-system app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v2.9.6 + app.kubernetes.io/version: v2.10.0 name: crd-controller-flux-system rules: - apiGroups: @@ -191,9 +191,9 @@ rules: - patch - delete - apiGroups: - - "" + - authorization.k8s.io resources: - - serviceaccounts/token + - subjectaccessreviews verbs: - create - nonResourceURLs: @@ -207,7 +207,7 @@ metadata: labels: app.kubernetes.io/instance: flux-system app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v2.9.6 + app.kubernetes.io/version: v2.10.0 rbac.authorization.k8s.io/aggregate-to-admin: "true" rbac.authorization.k8s.io/aggregate-to-edit: "true" name: flux-edit-flux-system @@ -234,7 +234,7 @@ metadata: labels: app.kubernetes.io/instance: flux-system app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v2.9.6 + app.kubernetes.io/version: v2.10.0 rbac.authorization.k8s.io/aggregate-to-admin: "true" rbac.authorization.k8s.io/aggregate-to-edit: "true" rbac.authorization.k8s.io/aggregate-to-view: "true" @@ -260,7 +260,7 @@ metadata: labels: app.kubernetes.io/instance: flux-system app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v2.9.6 + app.kubernetes.io/version: v2.10.0 name: cluster-reconciler-flux-system roleRef: apiGroup: rbac.authorization.k8s.io @@ -280,7 +280,7 @@ metadata: labels: app.kubernetes.io/instance: flux-system app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v2.9.6 + app.kubernetes.io/version: v2.10.0 name: crd-controller-flux-system roleRef: apiGroup: rbac.authorization.k8s.io @@ -319,7 +319,7 @@ metadata: app.kubernetes.io/component: source-controller app.kubernetes.io/instance: flux-system app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v2.9.6 + app.kubernetes.io/version: v2.10.0 name: buckets.source.toolkit.fluxcd.io spec: group: source.toolkit.fluxcd.io @@ -466,8 +466,8 @@ spec: description: |- ServiceAccountName is the name of the Kubernetes ServiceAccount used to authenticate the bucket. This field is only supported for the 'gcp' and 'aws' providers. - For more information about workload identity: - https://fluxcd.io/flux/components/source/buckets/#workload-identity + For more information about object identity: + https://fluxcd.io/flux/integrations/object-identity/ type: string sts: description: |- @@ -711,7 +711,7 @@ metadata: app.kubernetes.io/component: source-controller app.kubernetes.io/instance: flux-system app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v2.9.6 + app.kubernetes.io/version: v2.10.0 name: externalartifacts.source.toolkit.fluxcd.io spec: group: source.toolkit.fluxcd.io @@ -897,6 +897,14 @@ spec: - type type: object type: array + exportedInputs: + additionalProperties: + x-kubernetes-preserve-unknown-fields: true + description: |- + ExportedInputs holds a map of structured data optionally extracted from the source resource. + It may be used, for example, by downstream consumers such as templating engines like + ResourceSet to consume these inputs for implementing templating logic. + type: object type: object type: object served: true @@ -914,7 +922,7 @@ metadata: app.kubernetes.io/component: source-controller app.kubernetes.io/instance: flux-system app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v2.9.6 + app.kubernetes.io/version: v2.10.0 name: gitrepositories.source.toolkit.fluxcd.io spec: group: source.toolkit.fluxcd.io @@ -1387,6 +1395,13 @@ spec: items: type: string type: array + sourceVerificationFingerprint: + description: |- + SourceVerificationFingerprint is the fingerprint of the public keys used + to verify the signature of the Git object(s) for the current Artifact. + It is used to detect changes to the verification policy, such as a key + rotation, that require the current revision to be verified again. + type: string sourceVerificationMode: description: |- SourceVerificationMode is the last used verification mode indicating @@ -1409,7 +1424,7 @@ metadata: app.kubernetes.io/component: source-controller app.kubernetes.io/instance: flux-system app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v2.9.6 + app.kubernetes.io/version: v2.10.0 name: helmcharts.source.toolkit.fluxcd.io spec: group: source.toolkit.fluxcd.io @@ -1773,7 +1788,7 @@ metadata: app.kubernetes.io/component: source-controller app.kubernetes.io/instance: flux-system app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v2.9.6 + app.kubernetes.io/version: v2.10.0 name: helmrepositories.source.toolkit.fluxcd.io spec: group: source.toolkit.fluxcd.io @@ -2104,7 +2119,7 @@ metadata: app.kubernetes.io/component: source-controller app.kubernetes.io/instance: flux-system app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v2.9.6 + app.kubernetes.io/version: v2.10.0 name: ocirepositories.source.toolkit.fluxcd.io spec: group: source.toolkit.fluxcd.io @@ -2220,7 +2235,6 @@ spec: type: string type: object provider: - default: generic description: |- The provider used for authentication, can be 'aws', 'azure', 'gcp' or 'generic'. When not specified, defaults to 'generic'. @@ -2279,7 +2293,11 @@ spec: serviceAccountName: description: |- ServiceAccountName is the name of the Kubernetes ServiceAccount used to authenticate - the image pull if the service account has attached pull secrets. For more information: + the image pull, either with the pull secrets attached to the service account or with + an object identity. + For more information about object identity: + https://fluxcd.io/flux/integrations/object-identity/ + For more information about image pull secrets: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#add-imagepullsecrets-to-a-service-account type: string suspend: @@ -2287,7 +2305,6 @@ spec: of this source. type: boolean timeout: - default: 60s description: The timeout for remote OCI Repository operations like pulling, defaults to 60s. pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m))+$ @@ -2367,9 +2384,6 @@ spec: required: - provider type: object - required: - - interval - - url type: object status: default: @@ -2517,12 +2531,24 @@ spec: - copy type: string type: object + sourceVerificationFingerprint: + description: |- + SourceVerificationFingerprint is the fingerprint of the verification + material used to verify the signature of the current Artifact. It is + used to detect changes to the verification policy, such as a key + rotation, that require the current revision to be verified again. + type: string url: description: URL is the download link for the artifact output of the last OCI Repository sync. type: string type: object type: object + x-kubernetes-validations: + - message: spec.url is required + rule: has(self.spec) && has(self.spec.url) + - message: spec.interval is required + rule: has(self.spec) && has(self.spec.interval) served: true storage: true subresources: @@ -2535,7 +2561,7 @@ metadata: app.kubernetes.io/component: source-controller app.kubernetes.io/instance: flux-system app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v2.9.6 + app.kubernetes.io/version: v2.10.0 name: source-controller namespace: flux-system --- @@ -2546,7 +2572,7 @@ metadata: app.kubernetes.io/component: source-controller app.kubernetes.io/instance: flux-system app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v2.9.6 + app.kubernetes.io/version: v2.10.0 control-plane: controller name: source-controller namespace: flux-system @@ -2556,6 +2582,10 @@ spec: port: 80 protocol: TCP targetPort: http + - name: https + port: 443 + protocol: TCP + targetPort: http selector: app: source-controller type: ClusterIP @@ -2567,7 +2597,7 @@ metadata: app.kubernetes.io/component: source-controller app.kubernetes.io/instance: flux-system app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v2.9.6 + app.kubernetes.io/version: v2.10.0 control-plane: controller name: source-controller namespace: flux-system @@ -2588,7 +2618,7 @@ spec: app.kubernetes.io/component: source-controller app.kubernetes.io/instance: flux-system app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v2.9.6 + app.kubernetes.io/version: v2.10.0 spec: containers: - args: @@ -2611,7 +2641,7 @@ spec: resourceFieldRef: containerName: manager resource: limits.memory - image: ghcr.io/fluxcd/source-controller:v1.9.6 + image: ghcr.io/fluxcd/source-controller:v1.10.1 imagePullPolicy: IfNotPresent livenessProbe: httpGet: @@ -2630,8 +2660,8 @@ spec: protocol: TCP readinessProbe: httpGet: - path: / - port: http + path: /readyz + port: healthz resources: limits: cpu: 1000m @@ -2676,7 +2706,7 @@ metadata: app.kubernetes.io/component: kustomize-controller app.kubernetes.io/instance: flux-system app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v2.9.6 + app.kubernetes.io/version: v2.10.0 name: kustomizations.kustomize.toolkit.fluxcd.io spec: group: kustomize.toolkit.fluxcd.io @@ -3024,8 +3054,7 @@ spec: forces the controller to act on behalf of that Service Account at the target cluster. If the --default-service-account flag is set, its value will be used as - a controller level fallback for when KustomizationSpec.ServiceAccountName - is empty. + the default for KustomizationSpec.ServiceAccountName when it is empty. properties: configMapRef: description: |- @@ -3047,15 +3076,15 @@ spec: - `ca.crt`: the optional PEM-encoded CA certificate for the Kubernetes API server. If not set, the controller will use the CA certificate from the cluster resource. - - `audiences`: the optional audiences as a list of - line-break-separated strings for the Kubernetes ServiceAccount - token. Defaults to the `address` for the `generic` provider, or - to specific values for the other providers depending on the - provider. - `serviceAccountName`: the optional name of the Kubernetes ServiceAccount in the same namespace that should be used for authentication. If not specified, the controller ServiceAccount will be used. + - `audiences`: the optional audiences as a list of string separated by + commas and/or whitespaces/newlines for the Kubernetes ServiceAccount + token. Defaults to the `address` for the `generic` provider, or + to specific values for the other providers depending on the + provider. Mutually exclusive with SecretRef. properties: @@ -3090,10 +3119,7 @@ spec: x-kubernetes-validations: - message: exactly one of spec.kubeConfig.configMapRef or spec.kubeConfig.secretRef must be specified - rule: has(self.configMapRef) || has(self.secretRef) - - message: exactly one of spec.kubeConfig.configMapRef or spec.kubeConfig.secretRef - must be specified - rule: '!has(self.configMapRef) || !has(self.secretRef)' + rule: has(self.configMapRef) != has(self.secretRef) namePrefix: description: NamePrefix will prefix the names of all managed resources. maxLength: 200 @@ -3488,7 +3514,7 @@ metadata: app.kubernetes.io/component: kustomize-controller app.kubernetes.io/instance: flux-system app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v2.9.6 + app.kubernetes.io/version: v2.10.0 name: kustomize-controller namespace: flux-system --- @@ -3499,7 +3525,7 @@ metadata: app.kubernetes.io/component: kustomize-controller app.kubernetes.io/instance: flux-system app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v2.9.6 + app.kubernetes.io/version: v2.10.0 control-plane: controller name: kustomize-controller namespace: flux-system @@ -3518,7 +3544,7 @@ spec: app.kubernetes.io/component: kustomize-controller app.kubernetes.io/instance: flux-system app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v2.9.6 + app.kubernetes.io/version: v2.10.0 spec: containers: - args: @@ -3537,7 +3563,7 @@ spec: resourceFieldRef: containerName: manager resource: limits.memory - image: ghcr.io/fluxcd/kustomize-controller:v1.9.6 + image: ghcr.io/fluxcd/kustomize-controller:v1.10.1 imagePullPolicy: IfNotPresent livenessProbe: httpGet: @@ -3595,7 +3621,7 @@ metadata: app.kubernetes.io/component: helm-controller app.kubernetes.io/instance: flux-system app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v2.9.6 + app.kubernetes.io/version: v2.10.0 name: helmreleases.helm.toolkit.fluxcd.io spec: group: helm.toolkit.fluxcd.io @@ -3649,9 +3675,26 @@ spec: properties: chart: description: |- - Chart defines the template of the v1.HelmChart that should be created - for this HelmRelease. + Chart defines the template of the source object that should be + created for this HelmRelease. The Kind field determines whether a + sourcev1.HelmChart or sourcev1.OCIRepository is created. properties: + kind: + description: |- + Kind is the kind of the source object generated from this template. Valid values: + - HelmChart (default): generates a source.toolkit.fluxcd.io/v1 HelmChart from + the HelmChartSpec-compatible fields under .spec.chart.spec. In particular, + .spec.chart.spec.chart and .spec.chart.spec.sourceRef are required. + - OCIRepository: generates a source.toolkit.fluxcd.io/v1 OCIRepository from + the OCIRepositorySpec fields under .spec.chart.spec. In particular, + .spec.chart.spec.url is required, and .spec.chart.spec.interval defaults + to .spec.interval (interval is required in a plain OCIRepository). + Use OCIRepository for charts hosted in OCI registries; use HelmChart for + HelmRepository, GitRepository or Bucket sources. + enum: + - HelmChart + - OCIRepository + type: string metadata: description: ObjectMeta holds the template for metadata like labels and annotations. @@ -3675,27 +3718,101 @@ spec: type: object type: object spec: - description: Spec holds the template for the v1.HelmChartSpec - for this HelmRelease. + description: Spec holds the spec of the object generated for this + HelmRelease. properties: + certSecretRef: + description: |- + CertSecretRef can be given the name of a Secret containing + either or both of + + - a PEM-encoded client certificate (`tls.crt`) and private + key (`tls.key`); + - a PEM-encoded CA certificate (`ca.crt`) + + and whichever are supplied, will be used for connecting to the + registry. The client cert and key are useful if you are + authenticating with a certificate; the CA cert is useful if + you are using a self-signed server certificate. The Secret must + be of type `Opaque` or `kubernetes.io/tls`. + properties: + name: + description: Name of the referent. + type: string + required: + - name + type: object chart: description: The name or path the Helm chart is available at in the SourceRef. maxLength: 2048 minLength: 1 type: string + ignore: + description: |- + Ignore overrides the set of excluded patterns in the .sourceignore format + (which is the same as .gitignore). If not provided, a default will be used, + consult the documentation for your version to find out what those are. + type: string ignoreMissingValuesFiles: description: IgnoreMissingValuesFiles controls whether to silently ignore missing values files rather than failing. type: boolean + insecure: + description: Insecure allows connecting to a non-TLS HTTP + container registry. + type: boolean interval: description: |- - Interval at which to check the v1.Source for updates. Defaults to - 'HelmReleaseSpec.Interval'. + Interval at which the OCIRepository URL is checked for updates. + 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 + layerSelector: + description: |- + LayerSelector specifies which layer should be extracted from the OCI artifact. + When not specified, the first layer found in the artifact is selected. + properties: + mediaType: + description: |- + MediaType specifies the OCI media type of the layer + which should be extracted from the OCI Artifact. The + first layer matching this type is selected. + type: string + operation: + description: |- + Operation specifies how the selected layer should be processed. + By default, the layer compressed content is extracted to storage. + When the operation is set to 'copy', the layer compressed content + is persisted to storage as it is. + enum: + - extract + - copy + type: string + type: object + provider: + description: |- + The provider used for authentication, can be 'aws', 'azure', 'gcp' or 'generic'. + When not specified, defaults to 'generic'. + enum: + - generic + - aws + - azure + - gcp + type: string + proxySecretRef: + description: |- + ProxySecretRef specifies the Secret containing the proxy configuration + to use while communicating with the container registry. + properties: + name: + description: Name of the referent. + type: string + required: + - name + type: object reconcileStrategy: - default: ChartVersion description: |- Determines what enables the creation of a new artifact. Valid values are ('ChartVersion', 'Revision'). @@ -3705,6 +3822,52 @@ spec: - ChartVersion - Revision type: string + ref: + description: |- + The OCI reference to pull and monitor for changes, + defaults to the latest tag. + properties: + digest: + description: |- + Digest is the image digest to pull, takes precedence over SemVer. + The value should be in the format 'sha256:'. + type: string + semver: + description: |- + SemVer is the range of tags to pull selecting the latest within + the range, takes precedence over Tag. + type: string + semverFilter: + description: SemverFilter is a regex pattern to filter + the tags within the SemVer range. + type: string + tag: + description: Tag is the image tag to pull, defaults to + latest. + type: string + type: object + secretRef: + description: |- + SecretRef contains the secret name containing the registry login + credentials to resolve image metadata. + The secret must be of type kubernetes.io/dockerconfigjson. + properties: + name: + description: Name of the referent. + type: string + required: + - name + type: object + serviceAccountName: + description: |- + ServiceAccountName is the name of the Kubernetes ServiceAccount used to authenticate + the image pull, either with the pull secrets attached to the service account or with + an object identity. + For more information about object identity: + https://fluxcd.io/flux/integrations/object-identity/ + For more information about image pull secrets: + https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#add-imagepullsecrets-to-a-service-account + type: string sourceRef: description: The name and namespace of the v1.Source the chart is available at. @@ -3733,6 +3896,21 @@ spec: - kind - name type: object + suspend: + description: This flag tells the controller to suspend the + reconciliation of this source. + type: boolean + timeout: + description: The timeout for remote OCI Repository operations + like pulling, defaults to 60s. + pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m))+$ + type: string + url: + description: |- + URL is a reference to an OCI artifact repository hosted + on a remote container registry. + pattern: ^oci://.*$ + type: string valuesFiles: description: |- Alternative list of values files to use as the chart values (values.yaml @@ -3747,14 +3925,39 @@ spec: Verify contains the secret name containing the trusted public keys used to verify the signature and specifies which provider to use to check whether OCI image is authentic. - This field is only supported for OCI sources. - Chart dependencies, which are not bundled in the umbrella chart artifact, - are not verified. properties: + matchOIDCIdentity: + description: |- + MatchOIDCIdentity specifies the identity matching criteria to use + while verifying an OCI artifact which was signed using Cosign keyless + signing. The artifact's identity is deemed to be verified if any of the + specified matchers match against the identity. + items: + description: |- + OIDCIdentityMatch specifies options for verifying the certificate identity, + i.e. the issuer and the subject of the certificate. + properties: + issuer: + description: |- + Issuer specifies the regex pattern to match against to verify + the OIDC issuer in the Fulcio certificate. The pattern must be a + valid Go regular expression. + type: string + subject: + description: |- + Subject specifies the regex pattern to match against to verify + the identity subject in the Fulcio certificate. The pattern must + be a valid Go regular expression. + type: string + required: + - issuer + - subject + type: object + type: array provider: default: cosign description: Provider specifies the technology used to - sign the OCI Helm chart. + sign the OCI Artifact. enum: - cosign - notation @@ -3770,22 +3973,59 @@ spec: required: - name type: object + trustedRootSecretRef: + description: |- + TrustedRootSecretRef specifies the Kubernetes Secret containing a + Sigstore trusted_root.json file. This enables verification against + self-hosted Sigstore infrastructure (custom Fulcio CA, self-hosted + Rekor instance). The Secret must contain a key named "trusted_root.json". + properties: + name: + description: Name of the referent. + type: string + required: + - name + type: object required: - provider type: object version: - default: '*' description: |- Version semver expression, ignored for charts from v1.GitRepository and - v1beta2.Bucket sources. Defaults to latest when omitted. + v1beta2.Bucket sources. Defaults to latest when omitted i.e. to '*'. type: string - required: - - chart - - sourceRef type: object required: - spec type: object + x-kubernetes-validations: + - message: chart.spec.url must be set when chart.kind is 'OCIRepository' + rule: '!has(self.kind) || self.kind != ''OCIRepository'' || (has(self.spec.url) + && size(self.spec.url) > 0)' + - message: 'chart.spec.url requires chart.kind: ''OCIRepository''; + for a HelmChart template set spec.chart and spec.sourceRef instead' + rule: '!has(self.spec.url) || (has(self.kind) && self.kind == ''OCIRepository'')' + - message: chart.spec.chart and chart.spec.sourceRef must be set when + chart.kind is not 'OCIRepository' + rule: (has(self.kind) && self.kind == 'OCIRepository') || (has(self.spec.chart) + && has(self.spec.sourceRef)) + - message: chart.spec.chart cannot be set when chart.kind is 'OCIRepository' + rule: '!has(self.kind) || self.kind != ''OCIRepository'' || !has(self.spec.chart)' + - message: chart.spec.version cannot be set when chart.kind is 'OCIRepository' + rule: '!has(self.kind) || self.kind != ''OCIRepository'' || !has(self.spec.version) + || self.spec.version == ''*''' + - message: chart.spec.sourceRef cannot be set when chart.kind is 'OCIRepository' + rule: '!has(self.kind) || self.kind != ''OCIRepository'' || !has(self.spec.sourceRef)' + - message: chart.spec.reconcileStrategy cannot be set when chart.kind + is 'OCIRepository' + rule: '!has(self.kind) || self.kind != ''OCIRepository'' || !has(self.spec.reconcileStrategy) + || self.spec.reconcileStrategy == ''ChartVersion''' + - message: chart.spec.valuesFiles cannot be set when chart.kind is + 'OCIRepository' + rule: '!has(self.kind) || self.kind != ''OCIRepository'' || !has(self.spec.valuesFiles)' + - message: chart.spec.ignoreMissingValuesFiles cannot be set when + chart.kind is 'OCIRepository' + rule: '!has(self.kind) || self.kind != ''OCIRepository'' || !has(self.spec.ignoreMissingValuesFiles)' chartRef: description: |- ChartRef holds a reference to a source controller resource containing the @@ -4129,8 +4369,7 @@ spec: forces the controller to act on behalf of that Service Account at the target cluster. If the --default-service-account flag is set, its value will be used as - a controller level fallback for when HelmReleaseSpec.ServiceAccountName - is empty. + the default for HelmReleaseSpec.ServiceAccountName when it is empty. properties: configMapRef: description: |- @@ -4152,15 +4391,15 @@ spec: - `ca.crt`: the optional PEM-encoded CA certificate for the Kubernetes API server. If not set, the controller will use the CA certificate from the cluster resource. - - `audiences`: the optional audiences as a list of - line-break-separated strings for the Kubernetes ServiceAccount - token. Defaults to the `address` for the `generic` provider, or - to specific values for the other providers depending on the - provider. - `serviceAccountName`: the optional name of the Kubernetes ServiceAccount in the same namespace that should be used for authentication. If not specified, the controller ServiceAccount will be used. + - `audiences`: the optional audiences as a list of string separated by + commas and/or whitespaces/newlines for the Kubernetes ServiceAccount + token. Defaults to the `address` for the `generic` provider, or + to specific values for the other providers depending on the + provider. Mutually exclusive with SecretRef. properties: @@ -4195,10 +4434,7 @@ spec: x-kubernetes-validations: - message: exactly one of spec.kubeConfig.configMapRef or spec.kubeConfig.secretRef must be specified - rule: has(self.configMapRef) || has(self.secretRef) - - message: exactly one of spec.kubeConfig.configMapRef or spec.kubeConfig.secretRef - must be specified - rule: '!has(self.configMapRef) || !has(self.secretRef)' + rule: has(self.configMapRef) != has(self.secretRef) maxHistory: description: |- MaxHistory is the number of revisions saved by Helm for this HelmRelease. @@ -4831,7 +5067,9 @@ spec: helmChart: description: |- HelmChart is the namespaced name of the HelmChart resource created by - the controller for the HelmRelease. + the controller for the HelmRelease, in the format '/', + or the typed and namespaced name of the OCIRepository resource, in the + format '//'. type: string history: description: |- @@ -5084,7 +5322,7 @@ metadata: app.kubernetes.io/component: helm-controller app.kubernetes.io/instance: flux-system app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v2.9.6 + app.kubernetes.io/version: v2.10.0 name: helm-controller namespace: flux-system --- @@ -5095,7 +5333,7 @@ metadata: app.kubernetes.io/component: helm-controller app.kubernetes.io/instance: flux-system app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v2.9.6 + app.kubernetes.io/version: v2.10.0 control-plane: controller name: helm-controller namespace: flux-system @@ -5114,7 +5352,7 @@ spec: app.kubernetes.io/component: helm-controller app.kubernetes.io/instance: flux-system app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v2.9.6 + app.kubernetes.io/version: v2.10.0 spec: containers: - args: @@ -5133,7 +5371,7 @@ spec: resourceFieldRef: containerName: manager resource: limits.memory - image: ghcr.io/fluxcd/helm-controller:v1.6.5 + image: ghcr.io/fluxcd/helm-controller:v1.7.1 imagePullPolicy: IfNotPresent livenessProbe: httpGet: @@ -5191,7 +5429,7 @@ metadata: app.kubernetes.io/component: notification-controller app.kubernetes.io/instance: flux-system app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v2.9.6 + app.kubernetes.io/version: v2.10.0 name: alerts.notification.toolkit.fluxcd.io spec: group: notification.toolkit.fluxcd.io @@ -5210,6 +5448,148 @@ spec: - jsonPath: .metadata.creationTimestamp name: Age type: date + name: v1 + schema: + openAPIV3Schema: + description: Alert is the Schema for the alerts API + properties: + apiVersion: + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + type: string + kind: + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + type: string + metadata: + type: object + spec: + description: AlertSpec defines an alerting rule for events involving a + list of objects. + properties: + eventMetadata: + additionalProperties: + type: string + description: |- + EventMetadata adds metadata to events. Sources, from lowest to highest precedence: + `event.toolkit.fluxcd.io/` annotations on the involved object, Alert `.spec.eventMetadata`, + and controller-defined `.toolkit.fluxcd.io/` event metadata. + Higher precedence wins; conflicts produce an info log and a Warning Event. + See the Alert API docs (Event metadata section). + type: object + eventSeverity: + default: info + description: |- + EventSeverity specifies how to filter events based on severity. + If set to 'info' no events will be filtered. + enum: + - info + - error + type: string + eventSources: + description: |- + EventSources specifies how to filter events based + on the involved object kind, name and namespace. + items: + description: |- + CrossNamespaceObjectReference contains enough information to let you locate the + typed referenced object at cluster level + properties: + apiVersion: + description: API version of the referent + type: string + kind: + description: Kind of the referent + enum: + - Bucket + - GitRepository + - Kustomization + - HelmRelease + - HelmChart + - HelmRepository + - ImageRepository + - ImagePolicy + - ImageUpdateAutomation + - OCIRepository + - ArtifactGenerator + - ExternalArtifact + type: string + matchLabels: + additionalProperties: + type: string + description: |- + MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. + MatchLabels requires the name to be set to `*`. + type: object + name: + description: |- + Name of the referent + If multiple resources are targeted `*` may be set. + maxLength: 253 + minLength: 1 + type: string + namespace: + description: Namespace of the referent + maxLength: 253 + minLength: 1 + type: string + required: + - kind + - name + type: object + type: array + exclusionList: + description: |- + ExclusionList specifies a list of Golang regular expressions + to be used for excluding messages. + items: + type: string + type: array + inclusionList: + description: |- + InclusionList specifies a list of Golang regular expressions + to be used for including messages. + items: + type: string + type: array + providerRef: + description: ProviderRef specifies which Provider this Alert should + use. + properties: + name: + description: Name of the referent. + type: string + required: + - name + type: object + suspend: + description: |- + Suspend tells the controller to suspend subsequent + events handling for this Alert. + type: boolean + required: + - eventSources + - providerRef + type: object + type: object + served: true + storage: true + subresources: {} + - additionalPrinterColumns: + - jsonPath: .metadata.creationTimestamp + name: Age + type: date + deprecated: true + deprecationWarning: v1beta3 Alert is deprecated, upgrade to v1 name: v1beta3 schema: openAPIV3Schema: @@ -5350,7 +5730,7 @@ spec: type: object type: object served: true - storage: true + storage: false subresources: {} --- apiVersion: apiextensions.k8s.io/v1 @@ -5363,7 +5743,7 @@ metadata: app.kubernetes.io/component: notification-controller app.kubernetes.io/instance: flux-system app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v2.9.6 + app.kubernetes.io/version: v2.10.0 name: providers.notification.toolkit.fluxcd.io spec: group: notification.toolkit.fluxcd.io @@ -5382,6 +5762,182 @@ spec: - jsonPath: .metadata.creationTimestamp name: Age type: date + name: v1 + schema: + openAPIV3Schema: + description: Provider is the Schema for the providers API + properties: + apiVersion: + description: |- + APIVersion defines the versioned schema of this representation of an object. + Servers should convert recognized schemas to the latest internal value, and + may reject unrecognized values. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources + type: string + kind: + description: |- + Kind is a string value representing the REST resource this object represents. + Servers may infer this from the endpoint the client submits requests to. + Cannot be updated. + In CamelCase. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds + type: string + metadata: + type: object + spec: + description: ProviderSpec defines the desired state of the Provider. + properties: + address: + description: |- + Address specifies the endpoint, in a generic sense, to where alerts are sent. + What kind of endpoint depends on the specific Provider type being used. + For the generic Provider, for example, this is an HTTP/S address. + For other Provider types this could be a project ID or a namespace. + maxLength: 2048 + type: string + certSecretRef: + description: |- + CertSecretRef specifies the Secret containing TLS certificates + for secure communication. + + Supported configurations: + - CA-only: Server authentication (provide ca.crt only) + - mTLS: Mutual authentication (provide ca.crt + tls.crt + tls.key) + - Client-only: Client authentication with system CA (provide tls.crt + tls.key only) + + Legacy keys "caFile", "certFile", "keyFile" are supported but deprecated. Use "ca.crt", "tls.crt", "tls.key" instead. + properties: + name: + description: Name of the referent. + type: string + required: + - name + type: object + channel: + description: Channel specifies the destination channel where events + should be posted. + maxLength: 2048 + type: string + commitStatusExpr: + description: |- + CommitStatusExpr is a CEL expression that evaluates to a string value + that can be used to generate a custom commit status message for use + with eligible Provider types (github, gitlab, gitea, bitbucketserver, + bitbucket, azuredevops). Supported variables are: event, provider, + and alert. + type: string + proxySecretRef: + description: |- + ProxySecretRef specifies the Secret containing the proxy configuration + for this Provider. The Secret should contain an 'address' key with the + HTTP/S address of the proxy server. Optional 'username' and 'password' + keys can be provided for proxy authentication. + properties: + name: + description: Name of the referent. + type: string + required: + - name + type: object + secretRef: + description: |- + SecretRef specifies the Secret containing the authentication + credentials for this Provider. + properties: + name: + description: Name of the referent. + type: string + required: + - name + type: object + serviceAccountName: + description: |- + ServiceAccountName is the name of the Kubernetes ServiceAccount used to + authenticate with cloud provider services through object identity. + This enables multi-tenant authentication without storing static credentials. + + Supported provider types: azureeventhub, azuredevops, googlepubsub + + When specified, the controller will: + 1. Create an OIDC token for the specified ServiceAccount + 2. Exchange it for cloud provider credentials via STS + 3. Use the obtained credentials for API authentication + + When unspecified, the controller's workload identity is used (single-tenant). + + An error is thrown if static credentials are also defined in SecretRef. + type: string + suspend: + description: |- + Suspend tells the controller to suspend subsequent + events handling for this Provider. + type: boolean + timeout: + description: Timeout for sending alerts to the Provider. + pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m))+$ + type: string + type: + description: Type specifies which Provider implementation to use. + enum: + - slack + - discord + - msteams + - rocket + - generic + - generic-hmac + - github + - gitlab + - gitea + - giteapullrequestcomment + - bitbucketserver + - bitbucket + - azuredevops + - googlechat + - googlepubsub + - webex + - sentry + - azureeventhub + - telegram + - lark + - matrix + - opsgenie + - alertmanager + - grafana + - githubdispatch + - githubpullrequestcomment + - gitlabmergerequestcomment + - pagerduty + - datadog + - nats + - zulip + - otel + - zoom + - incident.io + - mastodon + type: string + username: + description: Username specifies the name under which events are posted. + maxLength: 2048 + type: string + required: + - type + type: object + x-kubernetes-validations: + - message: spec.commitStatusExpr is only supported for the 'github', 'gitlab', + 'gitea', 'bitbucketserver', 'bitbucket', 'azuredevops' provider types + rule: self.type == 'github' || self.type == 'gitlab' || self.type == + 'gitea' || self.type == 'bitbucketserver' || self.type == 'bitbucket' + || self.type == 'azuredevops' || !has(self.commitStatusExpr) + type: object + served: true + storage: true + subresources: {} + - additionalPrinterColumns: + - jsonPath: .metadata.creationTimestamp + name: Age + type: date + deprecated: true + deprecationWarning: v1beta3 Provider is deprecated, upgrade to v1 name: v1beta3 schema: openAPIV3Schema: @@ -5499,7 +6055,6 @@ spec: When unspecified, controller-level authentication is used (single-tenant). An error is thrown if static credentials are also defined in SecretRef. - This field requires the ObjectLevelWorkloadIdentity feature gate to be enabled. type: string suspend: description: |- @@ -5545,6 +6100,8 @@ spec: - nats - zulip - otel + - zoom + - incident.io type: string username: description: Username specifies the name under which events are posted. @@ -5561,7 +6118,7 @@ spec: || self.type == 'azuredevops' || !has(self.commitStatusExpr) type: object served: true - storage: true + storage: false subresources: {} --- apiVersion: apiextensions.k8s.io/v1 @@ -5574,7 +6131,7 @@ metadata: app.kubernetes.io/component: notification-controller app.kubernetes.io/instance: flux-system app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v2.9.6 + app.kubernetes.io/version: v2.10.0 name: receivers.notification.toolkit.fluxcd.io spec: group: notification.toolkit.fluxcd.io @@ -5948,7 +6505,7 @@ metadata: app.kubernetes.io/component: notification-controller app.kubernetes.io/instance: flux-system app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v2.9.6 + app.kubernetes.io/version: v2.10.0 name: notification-controller namespace: flux-system --- @@ -5959,7 +6516,7 @@ metadata: app.kubernetes.io/component: notification-controller app.kubernetes.io/instance: flux-system app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v2.9.6 + app.kubernetes.io/version: v2.10.0 control-plane: controller name: notification-controller namespace: flux-system @@ -5969,6 +6526,10 @@ spec: port: 80 protocol: TCP targetPort: http + - name: https + port: 443 + protocol: TCP + targetPort: http selector: app: notification-controller type: ClusterIP @@ -5980,7 +6541,7 @@ metadata: app.kubernetes.io/component: notification-controller app.kubernetes.io/instance: flux-system app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v2.9.6 + app.kubernetes.io/version: v2.10.0 control-plane: controller name: webhook-receiver namespace: flux-system @@ -5990,6 +6551,10 @@ spec: port: 80 protocol: TCP targetPort: http-webhook + - name: https + port: 443 + protocol: TCP + targetPort: http-webhook selector: app: notification-controller type: ClusterIP @@ -6001,7 +6566,7 @@ metadata: app.kubernetes.io/component: notification-controller app.kubernetes.io/instance: flux-system app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v2.9.6 + app.kubernetes.io/version: v2.10.0 control-plane: controller name: notification-controller namespace: flux-system @@ -6020,7 +6585,7 @@ spec: app.kubernetes.io/component: notification-controller app.kubernetes.io/instance: flux-system app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v2.9.6 + app.kubernetes.io/version: v2.10.0 spec: containers: - args: @@ -6038,7 +6603,7 @@ spec: resourceFieldRef: containerName: manager resource: limits.memory - image: ghcr.io/fluxcd/notification-controller:v1.9.4 + image: ghcr.io/fluxcd/notification-controller:v1.10.0 imagePullPolicy: IfNotPresent livenessProbe: httpGet: