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
- 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
- Apply the DopplerSecret
- 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
- Document the maximum allowed value for resyncSeconds (appears to be 86400)
- Or fix the operator to support larger values
- 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.
Bug Description
When setting
resyncSecondsto values greater than 86400 (1 day), the operator silently ignores the configured value and falls back to the default 60-second interval.Environment
Steps to Reproduce
resyncSeconds: 604800(7 days):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:
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
Related Documentation
https://docs.doppler.com/docs/doppler-k8s-operator-syncing-secrets#adjusting-sync-interval
The documentation does not mention any maximum value limitation.