diff --git a/manifests/crds/rollout-crd.yaml b/manifests/crds/rollout-crd.yaml index 2b026746b6..7deff0db60 100755 --- a/manifests/crds/rollout-crd.yaml +++ b/manifests/crds/rollout-crd.yaml @@ -3274,7 +3274,6 @@ spec: type: string required: - arn - - fullName - name type: object loadBalancer: @@ -3287,7 +3286,6 @@ spec: type: string required: - arn - - fullName - name type: object stableTargetGroup: @@ -3300,7 +3298,6 @@ spec: type: string required: - arn - - fullName - name type: object type: object diff --git a/manifests/install.yaml b/manifests/install.yaml index 7d9ae8ac33..2fa3de0411 100755 --- a/manifests/install.yaml +++ b/manifests/install.yaml @@ -14508,7 +14508,6 @@ spec: type: string required: - arn - - fullName - name type: object loadBalancer: @@ -14521,7 +14520,6 @@ spec: type: string required: - arn - - fullName - name type: object stableTargetGroup: @@ -14534,7 +14532,6 @@ spec: type: string required: - arn - - fullName - name type: object type: object diff --git a/pkg/apiclient/rollout/rollout.swagger.json b/pkg/apiclient/rollout/rollout.swagger.json index 134bfbf595..ace101ef6e 100755 --- a/pkg/apiclient/rollout/rollout.swagger.json +++ b/pkg/apiclient/rollout/rollout.swagger.json @@ -704,7 +704,8 @@ "type": "string" }, "fullName": { - "type": "string" + "type": "string", + "title": "FullName is the full name of the resource\n+optional" } } }, diff --git a/pkg/apis/rollouts/v1alpha1/generated.proto b/pkg/apis/rollouts/v1alpha1/generated.proto index 30e6874d3c..f52e9b3566 100644 --- a/pkg/apis/rollouts/v1alpha1/generated.proto +++ b/pkg/apis/rollouts/v1alpha1/generated.proto @@ -291,6 +291,8 @@ message AwsResourceRef { optional string arn = 2; + // FullName is the full name of the resource + // +optional optional string fullName = 3; } diff --git a/pkg/apis/rollouts/v1alpha1/openapi_generated.go b/pkg/apis/rollouts/v1alpha1/openapi_generated.go index 6cd83f8ed1..d9a399e40f 100644 --- a/pkg/apis/rollouts/v1alpha1/openapi_generated.go +++ b/pkg/apis/rollouts/v1alpha1/openapi_generated.go @@ -1053,13 +1053,14 @@ func schema_pkg_apis_rollouts_v1alpha1_AwsResourceRef(ref common.ReferenceCallba }, "fullName": { SchemaProps: spec.SchemaProps{ - Default: "", - Type: []string{"string"}, - Format: "", + Description: "FullName is the full name of the resource", + Default: "", + Type: []string{"string"}, + Format: "", }, }, }, - Required: []string{"name", "arn", "fullName"}, + Required: []string{"name", "arn"}, }, }, } diff --git a/pkg/apis/rollouts/v1alpha1/types.go b/pkg/apis/rollouts/v1alpha1/types.go index 0e5c192be1..17febd8bd7 100755 --- a/pkg/apis/rollouts/v1alpha1/types.go +++ b/pkg/apis/rollouts/v1alpha1/types.go @@ -994,8 +994,10 @@ type ALBStatus struct { } type AwsResourceRef struct { - Name string `json:"name" protobuf:"bytes,1,opt,name=name"` - ARN string `json:"arn" protobuf:"bytes,2,opt,name=arn"` + Name string `json:"name" protobuf:"bytes,1,opt,name=name"` + ARN string `json:"arn" protobuf:"bytes,2,opt,name=arn"` + // FullName is the full name of the resource + // +optional FullName string `json:"fullName" protobuf:"bytes,3,opt,name=fullName"` }