Skip to content

Commit

Permalink
Fix issue with missing dot in property name
Browse files Browse the repository at this point in the history
Updated environmentVariables usage to include a dot.

Fixes #492
  • Loading branch information
corneil committed Nov 12, 2024
1 parent 552f57f commit 3ce51f2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -653,7 +653,7 @@ Collection<Container> getInitContainers(Map<String, String> kubernetesDeployerPr
if (StringUtils.hasText(containerName) && StringUtils.hasText(imageName)) {
String commandsStr = PropertyParserUtils.getDeploymentPropertyValue(kubeProps, propertyKey + ".commands");
List<String> commands = StringUtils.hasText(commandsStr) ? Arrays.asList(commandsStr.split(",")) : Collections.emptyList();
String envString = PropertyParserUtils.getDeploymentPropertyValue(kubeProps, propertyKey + "environmentVariables");
String envString = PropertyParserUtils.getDeploymentPropertyValue(kubeProps, propertyKey + ".environmentVariables");
List<VolumeMount> vms = this.getInitContainerVolumeMounts(kubeProps, propertyKey);
return new ContainerBuilder()
.withName(containerName)
Expand Down

0 comments on commit 3ce51f2

Please sign in to comment.