mirror of
https://github.com/portainer/portainer.git
synced 2025-07-24 15:59:41 +02:00
* backend migration/backport * Feat(kubeconfig): kubeconfig download button frontend EE-1202 (#5385) * kubeconfig download button frontend * fix kubeconfig download button * backend migration/backport * moved ng-if up one level Co-authored-by: zees-dev <dev.786zshan@gmail.com> * resolved conflicts, updated code * - kube-config -> kube-config-download-button - fixed kubeconfig file name (bug) Co-authored-by: Richard Wei <54336863+WaysonWei@users.noreply.github.com>
11 lines
295 B
HTML
11 lines
295 B
HTML
<button
|
|
ng-if="$ctrl.state.isHTTPS"
|
|
type="button"
|
|
class="btn btn-xs btn-primary"
|
|
ng-click="$ctrl.downloadKubeconfig()"
|
|
analytics-on
|
|
analytics-category="kubernetes"
|
|
analytics-event="kubernetes-kubectl-kubeconfig"
|
|
>
|
|
Kubeconfig <i class="fas fa-download space-right"></i>
|
|
</button>
|