@Mojo(name="helm",
defaultPhase=PACKAGE)
public class HelmMojo
extends AbstractFabric8Mojo
| Modifier and Type | Field and Description |
|---|---|
static String |
HELM_YAML_EXTENSION |
static String |
PROPERTY_HELM_CHART_NAME |
static String |
PROPERTY_HELM_GIT_URL |
protected String |
remoteRepoName
The name of the git remote repo
|
appConfigDir, combineDependencies, environmentVariableToAnnotationsFile, envPropertiesFile, ICON_EXTENSIONS, iconRef, kubernetesSourceJson, pureKubernetes, zipFilefailOnError, recreate, routeDomain| Constructor and Description |
|---|
HelmMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
cloneGitRepository(File outputFolder,
String gitUrl) |
protected Chart |
createChart() |
void |
execute() |
String |
getHelmGitUrl() |
protected File |
getHelmRepoFolder() |
File |
getKubernetesYaml() |
protected File |
getOutputDir() |
addEnvironmentAnnotations, addEnvironmentAnnotations, addEnvironmentAnnotations, addPropertiesFileToMap, addPropertiesFileToMap, copyAppConfigFiles, copyIconToFolder, copyReadMe, copyReadMe, copyReadMe, copySummaryText, createClassLoader, createExceptionIterable, createURLClassLoader, findDocumentationUrl, findProjectDistributionManagement, getCompileClassLoader, getDockerImage, getEnvironmentVariableJsonSchema, getEnvironmentVariableProperties, getGitCommitId, getGitRepository, getKubernetesCombineJson, getKubernetesJson, getProject, getProjectAndFabric8Properties, getReplicas, getTestClassLoader, getZipFile, hasConfigDir, isIgnoreProject, isInCDBuild, isPom, isPomProject, loadJsonFile, loadPluginResource, overrideTemplateParameters, printSummary, replaceProperties, shouldGenerateForThisProject, toBeExclude, tryDefaultAnnotationEnvVar, unquoteTemplateExpression, warnIfInCDBuild, warnIfInCDBuildcreateController, findProjectConfig, getKubernetes, getNamespace, getNamespaceForEnvironment, getRootProject, getRootProjectFolder, getRouteDomain, isFailOnError, isRecreate, setFailOnError, setNamespace, setRecreate, setRouteDomainpublic static final String HELM_YAML_EXTENSION
public static final String PROPERTY_HELM_GIT_URL
public static final String PROPERTY_HELM_CHART_NAME
@Parameter(property="fabric8.helm.gitRemote",
defaultValue="origin")
protected String remoteRepoName
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionpublic String getHelmGitUrl()
protected Chart createChart()
protected File getOutputDir() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected File getHelmRepoFolder()
public File getKubernetesYaml()
Copyright © 2011–2016 Red Hat. All rights reserved.