Skip to content

Commit

Permalink
Merge pull request rancher#248 from salasberryfin/fix-rke2-server-con…
Browse files Browse the repository at this point in the history
…fig-pass-etcd-extra-args

fix: etcd extra args not passed to etcd
  • Loading branch information
salasberryfin authored Jan 23, 2024
2 parents dbc3814 + 2776f88 commit c40b93a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkg/rke2/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,10 @@ type rke2ServerConfig struct {
DisableComponents []string `json:"disable,omitempty"`
DisableKubeProxy bool `json:"disable-kube-proxy,omitempty"`
DisableScheduler bool `json:"disable-scheduler,omitempty"`
EtcdArgs []string `json:"etcd-arg,omitempty"`
EtcdExtraEnv map[string]string `json:"etcd-extra-env,omitempty"`
EtcdExtraMounts map[string]string `json:"etcd-extra-mount,omitempty"`
EtcdImage string `json:"etcd-image,omitempty"`
EtcdDisableSnapshots *bool `json:"etcd-disable-snapshots,omitempty"`
EtcdExposeMetrics bool `json:"etcd-expose-metrics,omitempty"`
EtcdS3 bool `json:"etcd-s3,omitempty"`
Expand Down Expand Up @@ -357,10 +361,6 @@ type rke2AgentConfig struct {
CloudProviderConfig string `json:"cloud-provider-config,omitempty"`
CloudProviderName string `json:"cloud-provider-name,omitempty"`
DataDir string `json:"data-dir,omitempty"`
EtcdArgs []string `json:"etcd-arg,omitempty"`
EtcdExtraEnv map[string]string `json:"etcd-extra-env,omitempty"`
EtcdExtraMounts map[string]string `json:"etcd-extra-mount,omitempty"`
EtcdImage string `json:"etcd-image,omitempty"`
ImageCredentialProviderConfig string `json:"image-credential-provider-config,omitempty"`
ImageCredentialProviderBinDir string `json:"image-credential-provider-bin-dir,omitempty"`
KubeProxyArgs []string `json:"kube-proxy-arg,omitempty"`
Expand Down

0 comments on commit c40b93a

Please sign in to comment.