Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Move skipDepUpdate to GitChartSource part of CRD #1823

Merged
merged 1 commit into from
Mar 14, 2019

Conversation

hiddeco
Copy link
Member

@hiddeco hiddeco commented Mar 14, 2019

Fix #1782

The Helm operator does not attempt to update dependencies for non git
chart sources as packaged charts include a copy of their deps and their
preferred version. This means `skipDepUpdate` pertains only to charts
from git and should therefore be moved to this section of the CRD.
@hiddeco hiddeco added the helm label Mar 14, 2019
@hiddeco hiddeco requested review from squaremo and stefanprodan and removed request for squaremo March 14, 2019 11:13
@hiddeco hiddeco merged commit 1173f68 into master Mar 14, 2019
@hiddeco hiddeco deleted the helm-op-move-skip-dep-update branch March 14, 2019 11:16
@@ -329,7 +329,7 @@ func (chs *ChartChangeSync) reconcileReleaseDef(fhr fluxv1beta1.HelmRelease) {
chartPath = filepath.Join(chartClone.export.Dir(), chartSource.Path)
chartRevision = chartClone.head

if chs.config.UpdateDeps && !fhr.Spec.SkipDepUpdate {
if chs.config.UpdateDeps && !fhr.Spec.ChartSource.GitChartSource.SkipDepUpdate {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this could use chartSource, assigned above, I think

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants