@@ -62,20 +62,21 @@ type Probe struct {
62
62
}
63
63
64
64
type KubegresSpec struct {
65
- Replicas * int32 `json:"replicas,omitempty"`
66
- Image string `json:"image,omitempty"`
67
- Port int32 `json:"port,omitempty"`
68
- ImagePullSecrets []v1.LocalObjectReference `json:"imagePullSecrets,omitempty"`
69
- CustomConfig string `json:"customConfig,omitempty"`
70
- Database KubegresDatabase `json:"database,omitempty"`
71
- Failover KubegresFailover `json:"failover,omitempty"`
72
- Backup KubegresBackUp `json:"backup,omitempty"`
73
- Env []v1.EnvVar `json:"env,omitempty"`
74
- Scheduler KubegresScheduler `json:"scheduler,omitempty"`
75
- Resources v1.ResourceRequirements `json:"resources,omitempty"`
76
- Volume Volume `json:"volume,omitempty"`
77
- SecurityContext * v1.PodSecurityContext `json:"securityContext,omitempty"`
78
- Probe Probe `json:"probe,omitempty"`
65
+ Replicas * int32 `json:"replicas,omitempty"`
66
+ Image string `json:"image,omitempty"`
67
+ Port int32 `json:"port,omitempty"`
68
+ ImagePullSecrets []v1.LocalObjectReference `json:"imagePullSecrets,omitempty"`
69
+ CustomConfig string `json:"customConfig,omitempty"`
70
+ Database KubegresDatabase `json:"database,omitempty"`
71
+ Failover KubegresFailover `json:"failover,omitempty"`
72
+ Backup KubegresBackUp `json:"backup,omitempty"`
73
+ Env []v1.EnvVar `json:"env,omitempty"`
74
+ Scheduler KubegresScheduler `json:"scheduler,omitempty"`
75
+ Resources v1.ResourceRequirements `json:"resources,omitempty"`
76
+ Volume Volume `json:"volume,omitempty"`
77
+ SecurityContext * v1.PodSecurityContext `json:"securityContext,omitempty"`
78
+ Probe Probe `json:"probe,omitempty"`
79
+ ServiceAccountName string `json:"serviceAccountName,omitempty"`
79
80
}
80
81
81
82
// ----------------------- STATUS -----------------------------------------
0 commit comments