Fix kubeconfig flag to be passed to executor
Change-Id: I6e9951785158cecfb952255426d8b5bb40be37ea Closes: #366 Relates-To: #366
This commit is contained in:
parent
03a1e28964
commit
7095d09de2
@ -223,20 +223,22 @@ func (c *client) PhaseByID(id ifc.ID) (ifc.Phase, error) {
|
||||
}
|
||||
|
||||
phase := &phase{
|
||||
apiObj: phaseObj,
|
||||
helper: c.Helper,
|
||||
processor: c.processorFunc(),
|
||||
registry: c.registry,
|
||||
apiObj: phaseObj,
|
||||
helper: c.Helper,
|
||||
processor: c.processorFunc(),
|
||||
registry: c.registry,
|
||||
kubeconfig: c.kubeconfig,
|
||||
}
|
||||
return phase, nil
|
||||
}
|
||||
|
||||
func (c *client) PhaseByAPIObj(phaseObj *v1alpha1.Phase) (ifc.Phase, error) {
|
||||
phase := &phase{
|
||||
apiObj: phaseObj,
|
||||
helper: c.Helper,
|
||||
processor: c.processorFunc(),
|
||||
registry: c.registry,
|
||||
apiObj: phaseObj,
|
||||
helper: c.Helper,
|
||||
processor: c.processorFunc(),
|
||||
registry: c.registry,
|
||||
kubeconfig: c.kubeconfig,
|
||||
}
|
||||
return phase, nil
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user