in teamcity-helm-plugin-server/src/main/java/jetbrains/buildServer/helm/UpgradeCommand.java [39:52]
public PropertiesProcessor getPropertiesProcessor() {
return properties -> {
List<InvalidProperty> result = new Vector<InvalidProperty>();
final String chart = properties.get(HELM_UPGRADE_COMMAND_NAME + HelmConstants.CHART);
if (PropertiesUtil.isEmptyOrNull(chart)) {
result.add(new InvalidProperty(HELM_UPGRADE_COMMAND_NAME + HelmConstants.CHART, "Chart must be specified"));
}
final String releaseName = properties.get(HELM_UPGRADE_COMMAND_NAME + HelmConstants.RELEASE_NAME);
if (PropertiesUtil.isEmptyOrNull(releaseName)) {
result.add(new InvalidProperty(HELM_UPGRADE_COMMAND_NAME + HelmConstants.RELEASE_NAME, "Release name must be specified"));
}
return result;
};
}