fix(docker): don't trimming when creating secret [EE-3265] (#7577)

* EE-3265 fix(docker): stop trimming when creating secret

* EE-3265 fix(docker): stop triming when creating secret in k8s
pull/7604/head
Rex Wang 2022-08-31 23:19:14 +08:00 committed by GitHub
parent eb5036b96f
commit a9b1a9c194
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -17,7 +17,7 @@
<div class="form-group">
<label for="secret_data" class="col-sm-2 control-label text-left">Secret</label>
<div class="col-sm-10">
<textarea class="form-control" rows="5" ng-model="formValues.Data"></textarea>
<textarea class="form-control" rows="5" ng-model="formValues.Data" ng-trim="false"></textarea>
</div>
</div>
<!-- !secret-data -->

View File

@ -82,6 +82,7 @@
id="configuration_data_value_{{ index }}"
name="configuration_data_value_{{ index }}"
ng-model="$ctrl.formValues.Data[index].Value"
ng-trim="false"
required
></textarea>
<div class="small text-muted" style="margin-top: 5px" ng-show="kubernetesConfigurationDataCreationForm['configuration_data_value_' + index].$invalid">