Skip to content

[Bug]: NIC does not accept day-unit value for controller.mgmt.usageReport.interval #7988

@mrajagopal

Description

@mrajagopal

Version

5.0.0

What Kubernetes platforms are you running on?

Kind

Steps to reproduce

Deploy NIC v5.0.0 with alues.yaml that has controller.mgmt.usageReport.interval set to 30d

Observed Error:
E20250630 17:05:38.655714 1 configmaps.go:818] Configmap nginx-plus/ingress-nginx-plus-mgmt: Invalid value for the interval key: got "30d": time: unknown unit "d" in duration "30d". Ignoring. E20250630 17:05:38.655764 1 configmaps.go:824] Configmap nginx-plus/ingress-nginx-plus-mgmt: Value too low for the interval key, got: 30d, need higher than 60s. Ignoring.

Expected Outcome:
A value of 30d for the usage report interval applies successfully in the nginx configuration

Workaround

Use the hours as the units, eg 30 days as 30*24=720h

Metadata

Metadata

Assignees

Labels

bugAn issue reporting a potential bug

Type

No type

Projects

Status

Done 🚀

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions