public static class OkeHelmChartDeployStage.Builder extends Object
Constructor and Description |
---|
Builder() |
public OkeHelmChartDeployStage.Builder id(String id)
public OkeHelmChartDeployStage.Builder description(String description)
public OkeHelmChartDeployStage.Builder displayName(String displayName)
public OkeHelmChartDeployStage.Builder projectId(String projectId)
public OkeHelmChartDeployStage.Builder deployPipelineId(String deployPipelineId)
public OkeHelmChartDeployStage.Builder compartmentId(String compartmentId)
public OkeHelmChartDeployStage.Builder timeCreated(Date timeCreated)
public OkeHelmChartDeployStage.Builder timeUpdated(Date timeUpdated)
public OkeHelmChartDeployStage.Builder lifecycleState(DeployStage.LifecycleState lifecycleState)
public OkeHelmChartDeployStage.Builder lifecycleDetails(String lifecycleDetails)
public OkeHelmChartDeployStage.Builder deployStagePredecessorCollection(DeployStagePredecessorCollection deployStagePredecessorCollection)
public OkeHelmChartDeployStage.Builder freeformTags(Map<String,String> freeformTags)
public OkeHelmChartDeployStage.Builder definedTags(Map<String,Map<String,Object>> definedTags)
public OkeHelmChartDeployStage.Builder systemTags(Map<String,Map<String,Object>> systemTags)
public OkeHelmChartDeployStage.Builder okeClusterDeployEnvironmentId(String okeClusterDeployEnvironmentId)
Kubernetes cluster environment OCID for deployment.
okeClusterDeployEnvironmentId
- the value to setpublic OkeHelmChartDeployStage.Builder helmChartDeployArtifactId(String helmChartDeployArtifactId)
Helm chart artifact OCID.
helmChartDeployArtifactId
- the value to setpublic OkeHelmChartDeployStage.Builder valuesArtifactIds(List<String> valuesArtifactIds)
List of values.yaml file artifact OCIDs.
valuesArtifactIds
- the value to setpublic OkeHelmChartDeployStage.Builder releaseName(String releaseName)
Release name of the Helm chart.
releaseName
- the value to setpublic OkeHelmChartDeployStage.Builder namespace(String namespace)
Default namespace to be used for Kubernetes deployment when not specified in the manifest.
namespace
- the value to setpublic OkeHelmChartDeployStage.Builder timeoutInSeconds(Integer timeoutInSeconds)
Time to wait for execution of a helm stage. Defaults to 300 seconds.
timeoutInSeconds
- the value to setpublic OkeHelmChartDeployStage.Builder rollbackPolicy(DeployStageRollbackPolicy rollbackPolicy)
public OkeHelmChartDeployStage.Builder setValues(HelmSetValueCollection setValues)
public OkeHelmChartDeployStage.Builder setString(HelmSetValueCollection setString)
public OkeHelmChartDeployStage.Builder areHooksEnabled(Boolean areHooksEnabled)
Disable pre/post upgrade hooks. Set to false by default.
areHooksEnabled
- the value to setpublic OkeHelmChartDeployStage.Builder shouldReuseValues(Boolean shouldReuseValues)
During upgrade, reuse the values of the last release and merge overrides from the command line. Set to false by default.
shouldReuseValues
- the value to setpublic OkeHelmChartDeployStage.Builder shouldResetValues(Boolean shouldResetValues)
During upgrade, reset the values to the ones built into the chart. It overrides shouldReuseValues. Set to false by default.
shouldResetValues
- the value to setpublic OkeHelmChartDeployStage.Builder isForceEnabled(Boolean isForceEnabled)
Force resource update through delete; or if required, recreate. Set to false by default.
isForceEnabled
- the value to setpublic OkeHelmChartDeployStage.Builder shouldCleanupOnFail(Boolean shouldCleanupOnFail)
Allow deletion of new resources created during when an upgrade fails. Set to false by default.
shouldCleanupOnFail
- the value to setpublic OkeHelmChartDeployStage.Builder maxHistory(Integer maxHistory)
Limit the maximum number of revisions saved per release. Use 0 for no limit. Set to 10 by default
maxHistory
- the value to setpublic OkeHelmChartDeployStage.Builder shouldSkipCrds(Boolean shouldSkipCrds)
If set, no CRDs are installed. By default, CRDs are installed only if they are not present already. Set to false by default.
shouldSkipCrds
- the value to setpublic OkeHelmChartDeployStage.Builder shouldSkipRenderSubchartNotes(Boolean shouldSkipRenderSubchartNotes)
If set, renders subchart notes along with the parent. Set to false by default.
shouldSkipRenderSubchartNotes
- the value to setpublic OkeHelmChartDeployStage.Builder shouldNotWait(Boolean shouldNotWait)
Waits until all the resources are in a ready state to mark the release as successful. Set to false by default.
shouldNotWait
- the value to setpublic OkeHelmChartDeployStage.Builder isDebugEnabled(Boolean isDebugEnabled)
Enables helm –debug option to stream output to tf stdout. Set to false by default.
isDebugEnabled
- the value to setpublic OkeHelmChartDeployStage build()
public OkeHelmChartDeployStage.Builder copy(OkeHelmChartDeployStage model)
Copyright © 2016–2023. All rights reserved.