mirror of
https://github.com/rancher/types.git
synced 2025-08-02 05:11:59 +00:00
Merge pull request #34 from StrongMonkey/change-credential
Change credential
This commit is contained in:
commit
606e13969e
@ -97,8 +97,8 @@ type GoogleKubernetesEngineConfig struct {
|
||||
// The map of Kubernetes labels (key/value pairs) to be applied
|
||||
// to each node.
|
||||
Labels map[string]string `json:"labels,omitempty"`
|
||||
// The path to the credential file(key.json)
|
||||
CredentialPath string `json:"credentialPath,omitempty"`
|
||||
// The content of the credential file(key.json)
|
||||
Credential string `json:"credential,omitempty"`
|
||||
// Enable alpha feature
|
||||
EnableAlphaFeature bool `json:"enableAlphaFeature,omitempty"`
|
||||
}
|
||||
|
@ -3,7 +3,7 @@ package client
|
||||
const (
|
||||
GoogleKubernetesEngineConfigType = "googleKubernetesEngineConfig"
|
||||
GoogleKubernetesEngineConfigFieldClusterIpv4Cidr = "clusterIpv4Cidr"
|
||||
GoogleKubernetesEngineConfigFieldCredentialPath = "credentialPath"
|
||||
GoogleKubernetesEngineConfigFieldCredential = "credential"
|
||||
GoogleKubernetesEngineConfigFieldDescription = "description"
|
||||
GoogleKubernetesEngineConfigFieldDiskSizeGb = "diskSizeGb"
|
||||
GoogleKubernetesEngineConfigFieldEnableAlphaFeature = "enableAlphaFeature"
|
||||
@ -18,7 +18,7 @@ const (
|
||||
|
||||
type GoogleKubernetesEngineConfig struct {
|
||||
ClusterIpv4Cidr string `json:"clusterIpv4Cidr,omitempty"`
|
||||
CredentialPath string `json:"credentialPath,omitempty"`
|
||||
Credential string `json:"credential,omitempty"`
|
||||
Description string `json:"description,omitempty"`
|
||||
DiskSizeGb *int64 `json:"diskSizeGb,omitempty"`
|
||||
EnableAlphaFeature *bool `json:"enableAlphaFeature,omitempty"`
|
||||
|
Loading…
Reference in New Issue
Block a user