Feature 10904: Make all deployment methods optional for K8s cluster
[osm/NG-UI.git] / src / app / k8s / k8s-add-cluster / K8sAddClusterComponent.html
index 84f2150..f06d098 100644 (file)
@@ -49,6 +49,18 @@ Author: KUMARAN M (kumaran.m@tataelxsi.co.in), RAJESH S (rajesh.s@tataelxsi.co.i
         </ng-select>
       </div>
     </div>
+    <div class="form-group row">
+      <label class="col-sm-4 col-form-label" for="deployment_methods">{{'PAGE.K8S.DEPLOYMENTMETHODS' | translate}}*</label>
+      <div class="col-sm-8">
+        <ng-select placeholder="{{'SELECT' | translate}} {{'PAGE.K8S.DEPLOYMENTMETHODS' | translate}}"
+                   multiple="true"
+                   [items]="deploymentMethodsSelect" bindLabel="title" bindValue="value" formControlName="deployment_methods" id="deploymentMethodsId"
+                   [ngClass]="{ 'is-invalid': submitted && f.deployment_methods.errors }"
+                   [(ngModel)]="selectedDeploymentMethods"
+                   required>
+        </ng-select>
+      </div>
+    </div>
     <div class="form-group row">
       <label class="col-sm-4 col-form-label" for="description">{{'PAGE.K8S.DESCRIPTION' | translate}}*</label>
       <div class="col-sm-8">