From 0e509b4e49ec327a0cd40a7753e57098b355a55e Mon Sep 17 00:00:00 2001 From: Isa Aguilar Date: Fri, 27 Oct 2023 21:47:22 -0400 Subject: [PATCH] fix typoed crd --- .github/workflows/release.yaml | 8 +++++++- deploy/crds/tf.galleybytes.com_terraforms_crd.yaml | 2 +- pkg/apis/tf/v1beta1/terraform_types.go | 2 +- pkg/apis/tf/v1beta1/zz_generated.openapi.go | 2 +- 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 5139850..af4dbd4 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -1,6 +1,12 @@ name: Build Terraform Operator Container Image -on: [push] +on: + pull_request: + branches: + - master + push: + tags: + - '*' jobs: Terraform-Operator-AMD_x86_64: diff --git a/deploy/crds/tf.galleybytes.com_terraforms_crd.yaml b/deploy/crds/tf.galleybytes.com_terraforms_crd.yaml index 8d35e32..3044d5e 100644 --- a/deploy/crds/tf.galleybytes.com_terraforms_crd.yaml +++ b/deploy/crds/tf.galleybytes.com_terraforms_crd.yaml @@ -2564,7 +2564,7 @@ spec: it, the chance of recycling existing resources is reduced to virtually nil. type: string - retryEventReson: + retryEventReason: description: "RetryEventReason copies the value of the resource label for 'kubernetes.io/change-cause'. When '.setup' is is the suffix of the value, the pipeline will retry from the setup task. \n Example diff --git a/pkg/apis/tf/v1beta1/terraform_types.go b/pkg/apis/tf/v1beta1/terraform_types.go index 5024526..4f1734d 100644 --- a/pkg/apis/tf/v1beta1/terraform_types.go +++ b/pkg/apis/tf/v1beta1/terraform_types.go @@ -688,7 +688,7 @@ type TerraformStatus struct { // ``` // // A default retry will start from the init task otherwise. - RetryEventReason *string `json:"retryEventReson,omitempty"` + RetryEventReason *string `json:"retryEventReason,omitempty"` RetryTimestamp *metav1.Time `json:"retryTimestamp,omitempty"` } diff --git a/pkg/apis/tf/v1beta1/zz_generated.openapi.go b/pkg/apis/tf/v1beta1/zz_generated.openapi.go index 634e2fc..e79f7de 100644 --- a/pkg/apis/tf/v1beta1/zz_generated.openapi.go +++ b/pkg/apis/tf/v1beta1/zz_generated.openapi.go @@ -1217,7 +1217,7 @@ func schema_pkg_apis_tf_v1beta1_TerraformStatus(ref common.ReferenceCallback) co }, }, }, - "retryEventReson": { + "retryEventReason": { SchemaProps: spec.SchemaProps{ Description: "RetryEventReason copies the value of the resource label for 'kubernetes.io/change-cause'. When '.setup' is is the suffix of the value, the pipeline will retry from the setup task.\n\nExample of starting from setup:\n\n```yaml metadata:\n labels:\n kubernetes.io/change-cause: triggered-by-isa_aguilar-20231025T011600.setup\n```\n\nA default retry will start from the init task otherwise.", Type: []string{"string"},