Skip to content

Commit

Permalink
feat : add optional constraint for lifecycle
Browse files Browse the repository at this point in the history
  • Loading branch information
ekgns33 committed May 23, 2024
1 parent 2e8628d commit caf9faa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api/v1alpha1/application_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ type AppSpec struct {
AppType string `json:"appType,omitempty"` // back, front-spa, front-srr
Annotations map[string]string `json:"annotations,omitempty"`
ContainerName string `json:"containerName"`
LifeCycle *v1.Lifecycle `json:"lifeCycle"`
// +optional
LifeCycle *v1.Lifecycle `json:"lifeCycle,omitempty"`
}

type PodDisruptionBudgetSpec struct {
Expand Down

0 comments on commit caf9faa

Please sign in to comment.