Skip to content

Warnings about unknown fields #314

@DeD1rk

Description

@DeD1rk

What happened?

I consistently get these three warning logs inbetween every polling iteration:

I1211 08:02:13.460480 1 groups.go:59] grafana/grafana-backups: going to create 0, delete 0 snapshots
I1211 08:02:13.460516 1 groups.go:65] grafana/grafana-backups: deleted 0 snapshots
I1211 08:02:13.460526 1 groups.go:71] grafana/grafana-backups: created 0 snapshots
W1211 08:02:13.473377 1 warnings.go:70] unknown field "spec.persistentVolumeClaim.spec.volumeMode"
W1211 08:02:13.473630 1 warnings.go:70] unknown field "spec.template.spec.source"
W1211 08:02:13.473643 1 warnings.go:70] unknown field "status"

It seems to not cause any problems, but I wonder what's going on.

What did you expect to happen?

No warnings (unless there's actually anything weird).

How can we reproduce this?

Install Gemini (in my case, 2.1.3, on a Talos cluster, k8s v1.34.0, with EBS CSI driver 2.49.1, snapshot-controller and CRDs from github.com/kubernetes-csi/external-snapshotter @ 6b2feaa) and a SnapshotGroup like this:

apiVersion: gemini.fairwinds.com/v1
kind: SnapshotGroup
metadata:
  name: foo-backups
spec:
  persistentVolumeClaim:
    claimName: foo
  schedule:
    - every: 1 hour
      keep: 24

where the PVC is created by through Helm by FluxCD.

Version

Gemini 2.1.3

Search

  • I did search for other open and closed issues before opening this.

Code of Conduct

  • I agree to follow this project's Code of Conduct

Additional context

Sometimes there's additionally unknown field "spec.persistentVolumeClaim.spec.dataSourceRef" and unknown field "spec.persistentVolumeClaim.spec.dataSourceRef"

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageThis bug needs triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions