Skip to content

resyncSeconds values greater than 86400 (1 day) are silently ignored #96

Description

@EunyoungPark327

Bug Description

When setting resyncSeconds to values greater than 86400 (1 day), the operator silently ignores the configured value and falls back to the default 60-second interval.

Environment

  • Doppler Kubernetes Operator Version: 1.7.1
  • Kubernetes Version: 1.34 (EKS)
  • Authentication Method: OIDC (Service Account Identity)

Steps to Reproduce

  1. Create a DopplerSecret with resyncSeconds: 604800 (7 days):
apiVersion: secrets.doppler.com/v1alpha1
kind: DopplerSecret
metadata:
  name: test-doppler
  namespace: doppler-operator-system
spec:
  identity: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
  project: my-project
  config: dev
  managedSecret:
    name: test-secrets
    namespace: dev
    type: Opaque
  resyncSeconds: 604800  # 7 days
  1. Apply the DopplerSecret
  2. Check operator logs

Expected Behavior

Operator should reconcile every 604800 seconds (7 days), with logs showing:
"requeueAfter": "168h0m0s"tor reconciles every 60 seconds (default), with logs showing:

Actual Behavior

Operator reconciles every 60 seconds (default), with logs showing:

resyncSeconds Duration Works?
60 1 minute ✅ Yes
300 5 minutes ✅ Yes
3600 1 hour ✅ Yes
86400 1 day ✅ Yes
604800 7 days ❌ No

Operator Logs (with resyncSeconds: 604800)

2026-01-05T08:10:04Z INFO controllers.DopplerSecret Reconciling dopplersecret
2026-01-05T08:11:04Z INFO controllers.DopplerSecret Reconciling dopplersecret # 1 minute later, not 7 days
2026-01-05T08:12:04Z INFO controllers.DopplerSecret Reconciling dopplersecretppler.com/docs/doppler-k8s-operator-syncing-secrets#adjusting-sync-interval

The documentation does not mention any maximum value limitation.

Suggestion

  1. Document the maximum allowed value for resyncSeconds (appears to be 86400)
  2. Or fix the operator to support larger values
  3. Consider adding a validation warning when unsupported values are provided

Related Documentation

https://docs.doppler.com/docs/doppler-k8s-operator-syncing-secrets#adjusting-sync-interval
The documentation does not mention any maximum value limitation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions