feat(core/endpoint): minor UI update for Kubernetes Edge endpoints

pull/4280/head
Anthony Lapenna 4 years ago
parent 0019b22be5
commit b91895d618

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

@ -8,7 +8,8 @@
aria-hidden="true"
></i>
<img ng-if="$ctrl.model.Type === 4" src="~@/assets/images/edge_endpoint.png" />
<img ng-if="$ctrl.model.Type === 5 || $ctrl.model.Type === 6 || $ctrl.model.Type === 7" src="~@/assets/images/kubernetes_endpoint.png" />
<img ng-if="$ctrl.model.Type === 5 || $ctrl.model.Type === 6" src="~@/assets/images/kubernetes_endpoint.png" />
<img ng-if="$ctrl.model.Type === 7" src="~@/assets/images/kubernetes_edge_endpoint.png" />
</span>
<span class="col-sm-12">

@ -59,7 +59,7 @@ angular
if ($scope.state.deploymentTab === 2) {
clipboard.copyText('curl -L https://downloads.portainer.io/agent-stack.yml -o agent-stack.yml && docker stack deploy --compose-file=agent-stack.yml portainer-agent');
} else if ($scope.state.deploymentTab === 1) {
clipboard.copyText('curl -L https://downloads.portainer.io/portainer-agent-k8s-node.yaml -o portainer-agent-k8s.yaml; kubectl apply -f portainer-agent-k8s.yaml');
clipboard.copyText('curl -L https://downloads.portainer.io/portainer-agent-k8s-nodeport.yaml -o portainer-agent-k8s.yaml; kubectl apply -f portainer-agent-k8s.yaml');
} else {
clipboard.copyText('curl -L https://downloads.portainer.io/portainer-agent-k8s-lb.yaml -o portainer-agent-k8s.yaml; kubectl apply -f portainer-agent-k8s.yaml');
}

@ -84,7 +84,7 @@
<uib-tab index="1" heading="Kubernetes via node port">
<code style="display: block; white-space: pre-wrap; padding: 16px 90px;"
>curl -L https://downloads.portainer.io/portainer-agent-k8s-node.yaml -o portainer-agent-k8s.yaml; kubectl apply -f portainer-agent-k8s.yaml</code
>curl -L https://downloads.portainer.io/portainer-agent-k8s-nodeport.yaml -o portainer-agent-k8s.yaml; kubectl apply -f portainer-agent-k8s.yaml</code
>
</uib-tab>

Loading…
Cancel
Save