Skip to content

Installation using deprecated FluxCD APIsΒ #1538

Open
@moconnor-cni

Description

@moconnor-cni

Issue

I was following the instructions to install the operator

And observed the following warnings being issued

$ kubectl apply -f https://raw.githubusercontent.com/flux-iac/tofu-controller/main/docs/release.yaml
Warning: v1beta2 HelmRepository is deprecated, upgrade to v1
helmrepository.source.toolkit.fluxcd.io/tofu-controller created
Warning: v2beta2 HelmRelease is deprecated, upgrade to v2
helmrelease.helm.toolkit.fluxcd.io/tofu-controller created

Analysis

I think the Tofu operator needs to update its install script before the deprecated APIs are removed by FluxCD

The HelmRepository and HelmRelease FluxCD APIs were both upgraded by version 2.3.0 of FluxCD, released in May, 2024.

Software

I am running the latest version of FluxCD: 2.5.1

% kubectl -n flux-system get deployment helm-controller -oyaml | yq '.metadata.labels'
app.kubernetes.io/component: helm-controller
app.kubernetes.io/instance: flux-system
app.kubernetes.io/part-of: flux
app.kubernetes.io/version: v2.5.1
control-plane: controller

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions