Skip to content

Commit

Permalink
fix: make new field optional
Browse files Browse the repository at this point in the history
Signed-off-by: zachaller <[email protected]>
  • Loading branch information
zachaller committed May 24, 2023
1 parent 8512642 commit f0d444b
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 @@ -3318,7 +3318,6 @@ spec:
type: string
required:
- arn
- fullName
- name
type: object
loadBalancer:
Expand All @@ -3331,7 +3330,6 @@ spec:
type: string
required:
- arn
- fullName
- name
type: object
stableTargetGroup:
Expand All @@ -3344,7 +3342,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 @@ -14552,7 +14552,6 @@ spec:
type: string
required:
- arn
- fullName
- name
type: object
loadBalancer:
Expand All @@ -14565,7 +14564,6 @@ spec:
type: string
required:
- arn
- fullName
- name
type: object
stableTargetGroup:
Expand All @@ -14578,7 +14576,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 @@ -724,7 +724,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 @@ -1007,8 +1007,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 f0d444b

Please sign in to comment.