1
0
mirror of https://github.com/rancher/types.git synced 2025-07-14 21:54:03 +00:00

Merge pull request #326 from galal-hussein/add_files_rke

Add files rke
This commit is contained in:
Alena Prokharchyk 2018-03-29 12:38:06 -07:00 committed by GitHub
commit 5099589e46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

View File

@ -266,6 +266,8 @@ type RKEConfigNodePlan struct {
Processes map[string]Process `json:"processes,omitempty"`
// List of portchecks that should be open on the node
PortChecks []PortCheck `json:"portChecks,omitempty"`
// List of files to deploy on the node
Files []File `json:"files,omitempty"`
}
type Process struct {

View File

@ -5472,6 +5472,11 @@ func (in *RKEConfigNodePlan) DeepCopyInto(out *RKEConfigNodePlan) {
*out = make([]PortCheck, len(*in))
copy(*out, *in)
}
if in.Files != nil {
in, out := &in.Files, &out.Files
*out = make([]File, len(*in))
copy(*out, *in)
}
return
}