Skip to content

BUG: CrashLoopBackOff due to CRDs versions #1652

@aamoyel

Description

@aamoyel

Problem Description

INSTRUCTIONS: Describe the problem in as much detail as possible, including the actions which caused the problem, and any other information you believe would be helpful in reproducing the problem.

addon-controller do not start and result to a CrashLoopBackOff due to missing versions in CRDs

System Information

INSTRUCTIONS: Provide the system and application information below.

FLUXCD_VERSION:

╰─❯ flux version
flux: v2.8.1
distribution: flux-v2.8.3
helm-controller: v1.5.3@sha256:b150af0cd7a501dafe2374b1d22c39abf0572465df4fa1fb99b37927b0d95d75
image-automation-controller: v1.1.1@sha256:43617c9fbb4cf32aed7458647f62589575237ccb810f45bd7cb31f24126d4f22
image-reflector-controller: v1.1.1@sha256:4c12c4046dee6e32e11b7c6afeaf7910406b67ff0182d46eeedb128d367908cd
kustomize-controller: v1.8.2@sha256:c480b89e26e42f6c112a4f683244a7979de3a2ca299bed7d5367ddf4fed706f0
notification-controller: v1.8.2@sha256:87806dc20caff40b37280ea3155cc9ef3e995402997c49a8f9f9c6bff57e1499
source-controller: v1.8.1@sha256:7382d002cffeed2d877331353f95797e89c0aa7ecb432e661eeeda3e590b3293

SVELTOS VERSION: v1.6.1
KUBERNETES VERSION: v1.34.3

Logs

INSTRUCTIONS: Provide any additional information you think would be helpful below. Large files, logs, etc. can be attached to this issue so long as they meet the GitHub attachment guidelines described here: https://help.github.com/en/github/managing-your-work-on-github/file-attachments-on-issues-and-pull-requests

E0317 10:19:19.911932       1 kind.go:75] "if kind is a CRD, it should be installed before calling Start" err="no matches for kind \"Bucket\" in version \"source.toolkit.fluxcd.io/v1beta2\"" logger="controller-runtime.source.Kind" kind="Bucket.source.toolkit.fluxcd.io"
E0317 10:19:19.911932       1 kind.go:75] "if kind is a CRD, it should be installed before calling Start" err="no matches for kind \"Bucket\" in version \"source.toolkit.fluxcd.io/v1beta2\"" logger="controller-runtime.source.Kind" kind="Bucket.source.toolkit.fluxcd.io"
E0317 10:19:19.911932       1 kind.go:75] "if kind is a CRD, it should be installed before calling Start" err="no matches for kind \"Bucket\" in version \"source.toolkit.fluxcd.io/v1beta2\"" logger="controller-runtime.source.Kind" kind="Bucket.source.toolkit.fluxcd.io"
E0317 10:19:19.911932       1 kind.go:75] "if kind is a CRD, it should be installed before calling Start" err="no matches for kind \"Bucket\" in version \"source.toolkit.fluxcd.io/v1beta2\"" logger="controller-runtime.source.Kind" kind="Bucket.source.toolkit.fluxcd.io"
E0317 10:19:19.922141       1 kind.go:75] "if kind is a CRD, it should be installed before calling Start" err="no matches for kind \"OCIRepository\" in version \"source.toolkit.fluxcd.io/v1beta2\"" logger="controller-runtime.source.Kind" kind="OCIRepository.source.toolkit.fluxcd.io"
E0317 10:19:19.922141       1 kind.go:75] "if kind is a CRD, it should be installed before calling Start" err="no matches for kind \"OCIRepository\" in version \"source.toolkit.fluxcd.io/v1beta2\"" logger="controller-runtime.source.Kind" kind="OCIRepository.source.toolkit.fluxcd.io"
E0317 10:19:19.922141       1 kind.go:75] "if kind is a CRD, it should be installed before calling Start" err="no matches for kind \"OCIRepository\" in version \"source.toolkit.fluxcd.io/v1beta2\"" logger="controller-runtime.source.Kind" kind="OCIRepository.source.toolkit.fluxcd.io"
E0317 10:19:19.922141       1 kind.go:75] "if kind is a CRD, it should be installed before calling Start" err="no matches for kind \"OCIRepository\" in version \"source.toolkit.fluxcd.io/v1beta2\"" logger="controller-runtime.source.Kind" kind="OCIRepository.source.toolkit.fluxcd.io"

Here is my CRDs from k9s:
Image

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions