mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-18 09:37:32 +02:00
Init add liveness probe
Signed-off-by: DavidSpek <vanderspek.david@gmail.com>
This commit is contained in:
committed by
David van der Spek
parent
af084a5a65
commit
db96273ab3
@@ -102,6 +102,7 @@ type KubernetesMetaConfiguration struct {
|
||||
PodManagementPolicy string `json:"pod_management_policy,omitempty"`
|
||||
EnableReadinessProbe bool `json:"enable_readiness_probe,omitempty"`
|
||||
EnableCrossNamespaceSecret bool `json:"enable_cross_namespace_secret,omitempty"`
|
||||
LivenessProbe *v1.Probe `json:"liveness_probe,omitempty"`
|
||||
}
|
||||
|
||||
// PostgresPodResourcesDefaults defines the spec of default resources
|
||||
|
||||
@@ -87,6 +87,7 @@ type PostgresSpec struct {
|
||||
AdditionalVolumes []AdditionalVolume `json:"additionalVolumes,omitempty"`
|
||||
Streams []Stream `json:"streams,omitempty"`
|
||||
Env []v1.EnvVar `json:"env,omitempty"`
|
||||
LivenessProbe *v1.Probe `json:"livenessProbe,omitempty"`
|
||||
|
||||
// deprecated json tags
|
||||
InitContainersOld []v1.Container `json:"init_containers,omitempty"`
|
||||
|
||||
Reference in New Issue
Block a user