mirror of
https://github.com/rancher/types.git
synced 2025-09-18 16:10:58 +00:00
rename auth
This commit is contained in:
committed by
Darren Shepherd
parent
dab1d7a610
commit
a673adfbf6
@@ -8,7 +8,7 @@ type RancherKubernetesEngineConfig struct {
|
||||
// Network configuration used in the kubernetes cluster (flannel, calico)
|
||||
Network NetworkConfig `yaml:"network" json:"network,omitempty"`
|
||||
// Authentication configuration used in the cluster (default: x509)
|
||||
Authentication AuthConfig `yaml:"auth" json:"auth,omitempty"`
|
||||
Authentication AuthnConfig `yaml:"authentication" json:"authentication,omitempty"`
|
||||
// YAML manifest for user provided addons to be deployed on the cluster
|
||||
Addons string `yaml:"addons" json:"addons,omitempty"`
|
||||
// List of images used internally for proxy, cert downlaod and kubedns
|
||||
@@ -111,7 +111,7 @@ type NetworkConfig struct {
|
||||
Options map[string]string `yaml:"options" json:"options,omitempty"`
|
||||
}
|
||||
|
||||
type AuthConfig struct {
|
||||
type AuthnConfig struct {
|
||||
// Authentication strategy that will be used in kubernetes cluster
|
||||
Strategy string `yaml:"strategy" json:"strategy,omitempty"`
|
||||
// Authentication options
|
||||
|
@@ -49,7 +49,7 @@ func (in *AmazonEC2Config) DeepCopy() *AmazonEC2Config {
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *AuthConfig) DeepCopyInto(out *AuthConfig) {
|
||||
func (in *AuthnConfig) DeepCopyInto(out *AuthnConfig) {
|
||||
*out = *in
|
||||
if in.Options != nil {
|
||||
in, out := &in.Options, &out.Options
|
||||
@@ -61,12 +61,12 @@ func (in *AuthConfig) DeepCopyInto(out *AuthConfig) {
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthConfig.
|
||||
func (in *AuthConfig) DeepCopy() *AuthConfig {
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthnConfig.
|
||||
func (in *AuthnConfig) DeepCopy() *AuthnConfig {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(AuthConfig)
|
||||
out := new(AuthnConfig)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
Reference in New Issue
Block a user