1
0
mirror of https://github.com/rancher/types.git synced 2025-08-02 05:11:59 +00:00

Added generated files with changed ExtraArgs type to map[string]string at IngressConfig rke types

This commit is contained in:
rawmind0 2018-04-16 23:53:01 +02:00 committed by Darren Shepherd
parent 2748301102
commit 32ed9ccfe5
2 changed files with 5 additions and 3 deletions

View File

@ -3218,8 +3218,10 @@ func (in *IngressConfig) DeepCopyInto(out *IngressConfig) {
}
if in.ExtraArgs != nil {
in, out := &in.ExtraArgs, &out.ExtraArgs
*out = make([]string, len(*in))
copy(*out, *in)
*out = make(map[string]string, len(*in))
for key, val := range *in {
(*out)[key] = val
}
}
return
}

View File

@ -9,7 +9,7 @@ const (
)
type IngressConfig struct {
ExtraArgs []string `json:"extraArgs,omitempty" yaml:"extraArgs,omitempty"`
ExtraArgs map[string]string `json:"extraArgs,omitempty" yaml:"extraArgs,omitempty"`
NodeSelector map[string]string `json:"nodeSelector,omitempty" yaml:"nodeSelector,omitempty"`
Options map[string]string `json:"options,omitempty" yaml:"options,omitempty"`
Provider string `json:"provider,omitempty" yaml:"provider,omitempty"`