1
0
mirror of https://github.com/rancher/types.git synced 2025-08-01 21:07:41 +00:00

Replace config dir with path prefix

This commit is contained in:
galal-hussein 2018-04-12 00:28:06 +02:00
parent a9b206bf5d
commit 454ca72589

View File

@ -10,9 +10,9 @@ const (
RancherKubernetesEngineConfigFieldClusterName = "clusterName"
RancherKubernetesEngineConfigFieldIgnoreDockerVersion = "ignoreDockerVersion"
RancherKubernetesEngineConfigFieldIngress = "ingress"
RancherKubernetesEngineConfigFieldKubernetesDirPath = "kubernetesDirPath"
RancherKubernetesEngineConfigFieldNetwork = "network"
RancherKubernetesEngineConfigFieldNodes = "nodes"
RancherKubernetesEngineConfigFieldPrefixPath = "prefixPath"
RancherKubernetesEngineConfigFieldPrivateRegistries = "privateRegistries"
RancherKubernetesEngineConfigFieldSSHAgentAuth = "sshAgentAuth"
RancherKubernetesEngineConfigFieldSSHKeyPath = "sshKeyPath"
@ -29,9 +29,9 @@ type RancherKubernetesEngineConfig struct {
ClusterName string `json:"clusterName,omitempty" yaml:"clusterName,omitempty"`
IgnoreDockerVersion bool `json:"ignoreDockerVersion,omitempty" yaml:"ignoreDockerVersion,omitempty"`
Ingress *IngressConfig `json:"ingress,omitempty" yaml:"ingress,omitempty"`
KubernetesDirPath string `json:"kubernetesDirPath,omitempty" yaml:"kubernetesDirPath,omitempty"`
Network *NetworkConfig `json:"network,omitempty" yaml:"network,omitempty"`
Nodes []RKEConfigNode `json:"nodes,omitempty" yaml:"nodes,omitempty"`
PrefixPath string `json:"prefixPath,omitempty" yaml:"prefixPath,omitempty"`
PrivateRegistries []PrivateRegistry `json:"privateRegistries,omitempty" yaml:"privateRegistries,omitempty"`
SSHAgentAuth bool `json:"sshAgentAuth,omitempty" yaml:"sshAgentAuth,omitempty"`
SSHKeyPath string `json:"sshKeyPath,omitempty" yaml:"sshKeyPath,omitempty"`