Skip to content

Commit a09abde

Browse files
committed
chore(controller-sdk-go): healthchecks add startupProbe
1 parent 82db20d commit a09abde

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

api/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ type ConfigHookRequest struct {
6060
}
6161

6262
// Healthchecks is a map of healthcheck probes.
63-
// The valid values are "livenessProbe" and "readinessProbe".
63+
// The valid values are "startupProbe" "livenessProbe" and "readinessProbe".
6464
type Healthchecks map[string]*Healthcheck
6565

6666
// Healthcheck is the structure for an application healthcheck.

api/pts.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ type PtypeState struct {
2323
Image string `json:"image"`
2424
Command []string `json:"command,omitempty"`
2525
Args []string `json:"args,omitempty"`
26+
StartupProbe Healthcheck `json:"startup_probe,omitempty"`
2627
LivenessProbe Healthcheck `json:"liveness_probe,omitempty"`
2728
ReadinessProbe Healthcheck `json:"readiness_probe,omitempty"`
2829
Limits map[string]string `json:"limits,omitempty"`

0 commit comments

Comments
 (0)