Skip to content

Commit

Permalink
Remove ImprovedHelmTemplateValuesFeatureToggle & usage (#1316)
Browse files Browse the repository at this point in the history
  • Loading branch information
APErebus authored Aug 13, 2024
1 parent 43069c9 commit 5459c1d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ namespace Calamari.Common.FeatureToggles
{
public static class OctopusFeatureToggles
{
public static readonly OctopusFeatureToggle ImprovedHelmTemplateValuesFeatureToggle = new OctopusFeatureToggle("improved-helm-template-values");
public static readonly OctopusFeatureToggle NonPrimaryGitDependencySupportFeatureToggle = new OctopusFeatureToggle("non-primary-git-dependency-support");

public class OctopusFeatureToggle
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,11 +171,9 @@ static void SetResetValuesParameter(RunningDeployment deployment, StringBuilder

void SetValuesParameters(RunningDeployment deployment, StringBuilder sb)
{
if (OctopusFeatureToggles.ImprovedHelmTemplateValuesFeatureToggle.IsEnabled(deployment.Variables))
{
SetOrderedTemplateValues(deployment, sb);
}
SetOrderedTemplateValues(deployment, sb);

//We leave the remaining values here as the users may not have migrated to the new structure
foreach (var additionalValuesFile in AdditionalValuesFiles(deployment))
{
sb.Append($" --values \"{additionalValuesFile}\"");
Expand Down

0 comments on commit 5459c1d

Please sign in to comment.