Skip to content

Commit

Permalink
updates based on changes in helm install subcommand
Browse files Browse the repository at this point in the history
Signed-off-by: Jeromy Cannon <jeromy@swirldslabs.com>
  • Loading branch information
jeromy-cannon committed Oct 2, 2023
1 parent 6f436e6 commit dd90490
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
import com.hedera.fullstack.helm.client.HelmClientBuilder;
import com.hedera.fullstack.helm.client.model.Chart;
import com.hedera.fullstack.helm.client.model.install.InstallChartOptionsBuilder;
import java.util.ArrayList;
import org.gradle.api.DefaultTask;
import org.gradle.api.provider.Property;
import org.gradle.api.provider.SetProperty;
Expand Down Expand Up @@ -78,10 +79,10 @@ void installChart() {
optionsBuilder.createNamespace(getCreateNamespace().get());
}
if (getSet().isPresent()) {
optionsBuilder.set(getSet().get());
optionsBuilder.set(new ArrayList<>(getSet().get()));
}
if (getValues().isPresent()) {
optionsBuilder.values(getValues().get());
optionsBuilder.values(new ArrayList<>(getValues().get()));
}
helmClient.installChart(
getRelease().getOrNull(),
Expand Down

0 comments on commit dd90490

Please sign in to comment.