From 2363a65a8bc3bd58e6b3ed831856df319a1f8754 Mon Sep 17 00:00:00 2001 From: Hidde Beydals Date: Fri, 12 Jul 2019 14:28:03 +0200 Subject: [PATCH] Fixed rollback.timeout type definition in CRD Trying to a apply a `HelmRelease` with a set `rollback.timeout` would result in a validation error: `spec.rollback.timeout in body must be of type int64: "integer"`. This was due to the fact that the validation scheme definition contained a mistake, the `type` should be `integer` and the format is `int64`. --- chart/flux/templates/helm-operator-crd.yaml | 3 ++- deploy-helm/flux-helm-release-crd.yaml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/chart/flux/templates/helm-operator-crd.yaml b/chart/flux/templates/helm-operator-crd.yaml index 626cc0ecd..dfadfbb2a 100644 --- a/chart/flux/templates/helm-operator-crd.yaml +++ b/chart/flux/templates/helm-operator-crd.yaml @@ -55,7 +55,8 @@ spec: disableHooks: type: boolean timeout: - type: int64 + type: integer + format: int64 wait: type: boolean valueFileSecrets: diff --git a/deploy-helm/flux-helm-release-crd.yaml b/deploy-helm/flux-helm-release-crd.yaml index 11dae71dd..307efdf0e 100644 --- a/deploy-helm/flux-helm-release-crd.yaml +++ b/deploy-helm/flux-helm-release-crd.yaml @@ -47,7 +47,8 @@ spec: disableHooks: type: boolean timeout: - type: int64 + type: integer + format: int64 wait: type: boolean valueFileSecrets: