Skip to content

Commit

Permalink
feat : add LifeCycle property to Application Spec
Browse files Browse the repository at this point in the history
  • Loading branch information
ekgns33 committed May 14, 2024
1 parent 0c35311 commit 7c08460
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions api/v1alpha1/application_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,11 @@ type ApplicationSpec struct {
// Important: Run "make" to regenerate code after modifying this file
App AppSpec `json:"app"`
Scheduler SchedulerSpec `json:"scheduler,omitempty"`
//TODO: need lifecycle spec
Probe ProbeSpec `json:"probe,omitempty"`
TerminationGracePeriodSeconds *int64 `json:"terminationGracePeriodSeconds,omitempty"`
Service ServiceSpec `json:"service,omitempty"`
Ingress IngressSpec `json:"ingress,omitempty"`
LifeCycle v1.Lifecycle `json:"lifecycle"`
Probe ProbeSpec `json:"probe,omitempty"`
TerminationGracePeriodSeconds *int64 `json:"terminationGracePeriodSeconds,omitempty"`
Service ServiceSpec `json:"service,omitempty"`
Ingress IngressSpec `json:"ingress,omitempty"`
}

// ApplicationStatus defines the observed state of Application
Expand Down

0 comments on commit 7c08460

Please sign in to comment.