diff --git a/apis/cluster.cattle.io/v1/types.go b/apis/cluster.cattle.io/v1/types.go index 58449f1b..9ba7e2e0 100644 --- a/apis/cluster.cattle.io/v1/types.go +++ b/apis/cluster.cattle.io/v1/types.go @@ -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"` } diff --git a/client/cluster/v1/zz_generated_google_kubernetes_engine_config.go b/client/cluster/v1/zz_generated_google_kubernetes_engine_config.go index 56820f85..ce23b760 100644 --- a/client/cluster/v1/zz_generated_google_kubernetes_engine_config.go +++ b/client/cluster/v1/zz_generated_google_kubernetes_engine_config.go @@ -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"`