Get_Credentials requirement in Advanced Cluster Managemnt
- Added get credentials button under k8s action to download the
get credentials .yaml file
Change-Id: I38f8017e5265e4e8abaf12340a1c85c98c08fc22
Signed-off-by: SANDHYA.JS <sandhya.j@tataelxsi.co.in>
diff --git a/src/app/k8s/k8s-action/K8sActionComponent.html b/src/app/k8s/k8s-action/K8sActionComponent.html
index ddce99c..efa3616 100644
--- a/src/app/k8s/k8s-action/K8sActionComponent.html
+++ b/src/app/k8s/k8s-action/K8sActionComponent.html
@@ -89,5 +89,10 @@
placement="left" (click)="editCluster('scale')" container="body" ngbTooltip="{{'PAGE.K8S.SCALE' | translate}}">
<i class="fas fa-compress-alt"></i> {{'PAGE.K8S.SCALE' | translate}}
</button>
+ <button *ngIf="!isKSU && !isProfile && isCluster" type="button" class="btn btn-primary dropdown-item"
+ placement="left" (click)="getCredentials()" container="body" ngbTooltip="{{'PAGE.K8S.GETCREDENTIALS' | translate}}">
+ <i class="fas fa-download icons"></i> {{'PAGE.K8S.GETCREDENTIALS' | translate}}
+ </button>
</div>
- </div>
\ No newline at end of file
+ </div>
+ <app-loader [waitingMessage]="message" *ngIf="isLoadingDownloadResult"></app-loader>
\ No newline at end of file