Class HelmUpgrade
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.honton.chas.helmrepo.maven.plugin.HelmGoal
-
- org.honton.chas.helmrepo.maven.plugin.HelmRelease
-
- org.honton.chas.helmrepo.maven.plugin.HelmUpgrade
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo,CommandOptions,GlobalReleaseOptions
@Mojo(name="upgrade", defaultPhase=PRE_INTEGRATION_TEST, threadSafe=true) public class HelmUpgrade extends HelmReleaseUpgrade helm release(s)
-
-
Constructor Summary
Constructors Constructor Description HelmUpgrade()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddSubCommand(List<String> command)Add the helm subcommand to command linevoidcreateNamespace(List<String> command)create namespace for the releaseprotected voidpostHelmCommand(ReleaseInfo release, String namespace)voidreleaseOptions(ReleaseInfo release, List<String> command)Add any additional options per release-
Methods inherited from class org.honton.chas.helmrepo.maven.plugin.HelmRelease
chartReference, doExecute, getIterable, getKubernetesClient, initializeGlobalValuesFiles, preHelmCommand, releaseValues, validateConfiguration, validateRelease
-
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.honton.chas.helmrepo.maven.plugin.GlobalReleaseOptions
getGlobalValuePath, getGlobalValuesFile, getKubernetes
-
-
-
-
Method Detail
-
addSubCommand
public void addSubCommand(List<String> command)
Description copied from interface:CommandOptionsAdd the helm subcommand to command line
-
postHelmCommand
protected void postHelmCommand(ReleaseInfo release, String namespace)
- Overrides:
postHelmCommandin classHelmRelease
-
releaseOptions
public void releaseOptions(ReleaseInfo release, List<String> command)
Description copied from interface:CommandOptionsAdd any additional options per release- Specified by:
releaseOptionsin interfaceCommandOptions- Overrides:
releaseOptionsin classHelmRelease
-
createNamespace
public void createNamespace(List<String> command)
Description copied from interface:CommandOptionscreate namespace for the release- Specified by:
createNamespacein interfaceCommandOptions- Overrides:
createNamespacein classHelmRelease
-
-