Skip to content

Commit

Permalink
Merge pull request #551 from LiZhenCheng9527/application-api
Browse files Browse the repository at this point in the history
change the RolloutTimeoutSeconds to be of type *int32
  • Loading branch information
kurator-bot authored Jan 9, 2024
2 parents a397cb0 + 180c155 commit 09a35eb
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/content/en/references/apps_v1alpha1_types.html
Original file line number Diff line number Diff line change
Expand Up @@ -1830,7 +1830,7 @@ <h3 id="apps.kurator.dev/v1alpha1.RolloutPolicy">RolloutPolicy
<td>
<code>rolloutTimeoutSeconds</code><br>
<em>
int
int32
</em>
</td>
<td>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1213,6 +1213,7 @@ spec:
time in seconds for a preview deployment to make progress
before it is considered to be failed. Defaults to
600.
format: int32
type: integer
skipTrafficAnalysis:
description: SkipTrafficAnalysis promotes the preview
Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/apps/v1alpha1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ type RolloutPolicy struct {
// preview deployment to make progress before it is considered to be failed.
// Defaults to 600.
// +optional
RolloutTimeoutSeconds *int `json:"rolloutTimeoutSeconds,omitempty"`
RolloutTimeoutSeconds *int32 `json:"rolloutTimeoutSeconds,omitempty"`

// SkipTrafficAnalysis promotes the preview release without analyzing it.
// +optional
Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/apps/v1alpha1/zz_generated.deepcopy.go

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

0 comments on commit 09a35eb

Please sign in to comment.