Upgrade Toolkit components and K8S deps
* github.com/fluxcd/helm-controller/api to v0.0.6 * github.com/fluxcd/source-controller/api to v0.0.13 * k8s.io/api to v0.18.8 * k8s.io/apiextensions-apiserver to v0.18.8 * k8s.io/apimachinery to v0.18.8 * k8s.io/client-go to v0.18.8 * sigs.k8s.io/controller-runtime to v0.6.2
This commit is contained in:
@@ -132,11 +132,13 @@ func createHelmReleaseCmdRun(cmd *cobra.Command, args []string) error {
|
||||
},
|
||||
TargetNamespace: hrTargetNamespace,
|
||||
Chart: helmv2.HelmChartTemplate{
|
||||
Name: hrChartName,
|
||||
Version: hrChartVersion,
|
||||
SourceRef: helmv2.CrossNamespaceObjectReference{
|
||||
Kind: sourcev1.HelmRepositoryKind,
|
||||
Name: hrSource,
|
||||
Spec: helmv2.HelmChartTemplateSpec{
|
||||
Chart: hrChartName,
|
||||
Version: hrChartVersion,
|
||||
SourceRef: helmv2.CrossNamespaceObjectReference{
|
||||
Kind: sourcev1.HelmRepositoryKind,
|
||||
Name: hrSource,
|
||||
},
|
||||
},
|
||||
},
|
||||
Suspend: false,
|
||||
|
||||
@@ -81,7 +81,7 @@ func reconcileHrCmdRun(cmd *cobra.Command, args []string) error {
|
||||
}
|
||||
|
||||
if syncHrWithSource {
|
||||
err := syncSourceHelmCmdRun(nil, []string{helmRelease.Spec.Chart.SourceRef.Name})
|
||||
err := syncSourceHelmCmdRun(nil, []string{helmRelease.Spec.Chart.Spec.SourceRef.Name})
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user