kubernetes-retired / service-catalog

Consume services in Kubernetes using the Open Service Broker API
https://svc-cat.io
Apache License 2.0
1.05k stars 384 forks source link

RelistDuration should not accept a negative value. #1386

Closed eriknelson closed 6 years ago

eriknelson commented 6 years ago

Editing a service broker with a value of -15m0s should be rejected as invalid.

Actual results: Change isn't prevented and updates successfully.

# oc get servicebroker ansible-service-broker -o yaml | grep relistDuration
  relistDuration: -15m0s
eriknelson commented 6 years ago

I'm currently working on a fix for this.