Protected
Optional
Readonly
chartOptional
Readonly
configProtected
Optional
Readonly
depProtected
Optional
Readonly
helmProtected
Optional
Readonly
k8Protected
Optional
Readonly
leaseOptional
Readonly
localOptional
loggerProtected
Optional
Readonly
remoteProtected
Optional
Readonly
taskStatic
Readonly
ADD_Static
Readonly
COMMAND_Static
Readonly
CREATE_Adds the new cluster-ref for the deployment in local config
Checks the ledger phase:
Initializes and populates the config and context for 'deployment add-cluster'
Returns a promise that invokes the shell command
Setup home directories
Tries to connect with the cluster using the context from the local config
Validates:
Static
preparePrepare the values files map for each cluster
Order of precedence:
Optional
chartDirectory: stringthe chart directory
Optional
profileValuesFile: stringthe profile values file full path
Optional
valuesFileInput: stringthe values file input string
Static
preparePrepare the values files map for each cluster
Order of precedence:
Optional
chartDirectory: stringthe chart directory
Optional
profileValuesFile: Record<ClusterReferenceName, string>mapping of clusterRef to the profile values file full path
Optional
valuesFileInput: stringthe values file input string
Add new cluster for specified deployment, and create or edit the remote config