зеркало из https://github.com/Azure/orkestra.git
Initialize the status application sc map (#74)
Signed-off-by: nitishm <nitishm@microsoft.com> Co-authored-by: nitishm <nitishm@microsoft.com>
This commit is contained in:
Родитель
159302ac61
Коммит
9e45dcd791
|
@ -51,6 +51,10 @@ func (r *ApplicationGroupReconciler) reconcileApplications(l logr.Logger, appGro
|
|||
ll := l.WithValues("application", application.Name)
|
||||
ll.V(3).Info("performing chart actions")
|
||||
|
||||
if appGroup.Status.Applications[i].Subcharts == nil {
|
||||
appGroup.Status.Applications[i].Subcharts = make(map[string]orkestrav1alpha1.ChartStatus)
|
||||
}
|
||||
|
||||
repoKey := application.Spec.ChartRepoNickname
|
||||
repoPath := application.Spec.RepoPath
|
||||
name := application.Spec.HelmReleaseSpec.Name
|
||||
|
|
Загрузка…
Ссылка в новой задаче