Skip to content

Commit 51a1416

Browse files
committed
Allow 'h' in HelmRelease timeout field
Signed-off-by: Zhongcheng Lao <Zhongcheng.Lao@microsoft.com>
1 parent 5be76a3 commit 51a1416

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/v2beta1/helmrelease_types.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ type HelmReleaseSpec struct {
123123
// Timeout is the time to wait for any individual Kubernetes operation (like Jobs
124124
// for hooks) during the performance of a Helm action. Defaults to '5m0s'.
125125
// +kubebuilder:validation:Type=string
126-
// +kubebuilder:validation:Pattern="^([0-9]+(\\.[0-9]+)?(ms|s|m))+$"
126+
// +kubebuilder:validation:Pattern="^([0-9]+(\\.[0-9]+)?(ms|s|m|h))+$"
127127
// +optional
128128
Timeout *metav1.Duration `json:"timeout,omitempty"`
129129

0 commit comments

Comments
 (0)