Skip to content

Commit

Permalink
fix: make new alb fullName field optional for backward compatability (#…
Browse files Browse the repository at this point in the history
…2806)

fix: make new field optional

Signed-off-by: zachaller <[email protected]>
  • Loading branch information
zachaller committed May 24, 2023
1 parent 0322914 commit 839f05d
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 13 deletions.
3 changes: 0 additions & 3 deletions manifests/crds/rollout-crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3274,7 +3274,6 @@ spec:
type: string
required:
- arn
- fullName
- name
type: object
loadBalancer:
Expand All @@ -3287,7 +3286,6 @@ spec:
type: string
required:
- arn
- fullName
- name
type: object
stableTargetGroup:
Expand All @@ -3300,7 +3298,6 @@ spec:
type: string
required:
- arn
- fullName
- name
type: object
type: object
Expand Down
3 changes: 0 additions & 3 deletions manifests/install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14508,7 +14508,6 @@ spec:
type: string
required:
- arn
- fullName
- name
type: object
loadBalancer:
Expand All @@ -14521,7 +14520,6 @@ spec:
type: string
required:
- arn
- fullName
- name
type: object
stableTargetGroup:
Expand All @@ -14534,7 +14532,6 @@ spec:
type: string
required:
- arn
- fullName
- name
type: object
type: object
Expand Down
3 changes: 2 additions & 1 deletion pkg/apiclient/rollout/rollout.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -704,7 +704,8 @@
"type": "string"
},
"fullName": {
"type": "string"
"type": "string",
"title": "FullName is the full name of the resource\n+optional"
}
}
},
Expand Down
2 changes: 2 additions & 0 deletions pkg/apis/rollouts/v1alpha1/generated.proto

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 5 additions & 4 deletions pkg/apis/rollouts/v1alpha1/openapi_generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions pkg/apis/rollouts/v1alpha1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
}

Expand Down

0 comments on commit 839f05d

Please sign in to comment.