mirror of https://github.com/portainer/portainer
fix(kube-stacks): change wordings [EE-6670] (#11334)
parent
a570073d12
commit
c35473f308
|
@ -22,7 +22,9 @@ class KubernetesDeploymentConverter {
|
||||||
const res = new KubernetesDeployment();
|
const res = new KubernetesDeployment();
|
||||||
res.Namespace = formValues.ResourcePool.Namespace.Name;
|
res.Namespace = formValues.ResourcePool.Namespace.Name;
|
||||||
res.Name = formValues.Name;
|
res.Name = formValues.Name;
|
||||||
res.StackName = formValues.StackName ? formValues.StackName : formValues.Name;
|
if (formValues.StackName) {
|
||||||
|
res.StackName = formValues.StackName;
|
||||||
|
}
|
||||||
res.ApplicationOwner = formValues.ApplicationOwner;
|
res.ApplicationOwner = formValues.ApplicationOwner;
|
||||||
res.ApplicationName = formValues.Name;
|
res.ApplicationName = formValues.Name;
|
||||||
res.ReplicaCount = formValues.ReplicaCount;
|
res.ReplicaCount = formValues.ReplicaCount;
|
||||||
|
|
|
@ -169,7 +169,7 @@
|
||||||
ng-if="!ctrl.deploymentOptions.hideStacksFunctionality && ctrl.state.appType !== ctrl.KubernetesDeploymentTypes.APPLICATION_FORM"
|
ng-if="!ctrl.deploymentOptions.hideStacksFunctionality && ctrl.state.appType !== ctrl.KubernetesDeploymentTypes.APPLICATION_FORM"
|
||||||
stack-name="ctrl.formValues.StackName"
|
stack-name="ctrl.formValues.StackName"
|
||||||
set-stack-name="(ctrl.onChangeStackName)"
|
set-stack-name="(ctrl.onChangeStackName)"
|
||||||
text-tip="'Portainer can automatically bundle multiple applications inside a stack. Enter a name of a new stack or select an existing stack in the list. Leave empty to use the application name.'"
|
text-tip="'Enter or select a \'stack\' name to group multiple deployments together, or else leave empty to ignore.'"
|
||||||
stacks="ctrl.stacks"
|
stacks="ctrl.stacks"
|
||||||
input-class-name="'col-lg-10 col-sm-9'"
|
input-class-name="'col-lg-10 col-sm-9'"
|
||||||
></kube-stack-name>
|
></kube-stack-name>
|
||||||
|
@ -231,7 +231,7 @@
|
||||||
ng-if="!ctrl.deploymentOptions.hideStacksFunctionality"
|
ng-if="!ctrl.deploymentOptions.hideStacksFunctionality"
|
||||||
stack-name="ctrl.formValues.StackName"
|
stack-name="ctrl.formValues.StackName"
|
||||||
set-stack-name="(ctrl.onChangeStackName)"
|
set-stack-name="(ctrl.onChangeStackName)"
|
||||||
text-tip="'Portainer can automatically bundle multiple applications inside a stack. Enter a name of a new stack or select an existing stack in the list. Leave empty to use the application name.'"
|
text-tip="'Enter or select a \'stack\' name to group multiple deployments together, or else leave empty to ignore.'"
|
||||||
stacks="ctrl.stacks"
|
stacks="ctrl.stacks"
|
||||||
input-class-name="'col-lg-10 col-sm-9'"
|
input-class-name="'col-lg-10 col-sm-9'"
|
||||||
></kube-stack-name>
|
></kube-stack-name>
|
||||||
|
|
Loading…
Reference in New Issue