mirror of
https://github.com/rancher/types.git
synced 2025-09-18 07:52:41 +00:00
Add user types to process and etcd service
This commit is contained in:
committed by
Alena Prokharchyk
parent
facd19d687
commit
70cec52fd6
@@ -247,6 +247,11 @@ type ETCDService struct {
|
||||
Key string `yaml:"key" json:"key,omitempty"`
|
||||
// External etcd prefix
|
||||
Path string `yaml:"path" json:"path,omitempty"`
|
||||
// UID to run etcd container as
|
||||
UID int `yaml:"uid" json:"uid,omitempty"`
|
||||
// GID to run etcd container as
|
||||
GID int `yaml:"gid" json:"gid,omitempty"`
|
||||
|
||||
// Etcd Recurring snapshot Service, used by rke only
|
||||
Snapshot *bool `yaml:"snapshot" json:"snapshot,omitempty" norman:"default=false"`
|
||||
// Etcd snapshot Retention period
|
||||
@@ -415,6 +420,8 @@ type Process struct {
|
||||
Labels map[string]string `json:"labels,omitempty"`
|
||||
// Process docker publish container's port to host
|
||||
Publish []string `json:"publish,omitempty"`
|
||||
// docker will run the container with this user
|
||||
User string `json:"user,omitempty"`
|
||||
}
|
||||
|
||||
type HealthCheck struct {
|
||||
|
Reference in New Issue
Block a user