mirror of
https://github.com/portainer/portainer.git
synced 2025-07-19 13:29:41 +02:00
feat(k8s/applications): Expose application workload type (#4029)
* feat(applications): Expose application workload type * feat(application): support daemonSet workload type and add default value
This commit is contained in:
parent
c9e8021fe8
commit
833abb24cb
3 changed files with 32 additions and 2 deletions
|
@ -107,7 +107,14 @@
|
|||
</a>
|
||||
</th>
|
||||
<th>
|
||||
Deployment
|
||||
<a ng-click="$ctrl.changeOrderBy('ApplicationType')">
|
||||
Application Type
|
||||
<i class="fa fa-sort-alpha-down" aria-hidden="true" ng-if="$ctrl.state.orderBy === 'ApplicationType' && !$ctrl.state.reverseOrder"></i>
|
||||
<i class="fa fa-sort-alpha-up" aria-hidden="true" ng-if="$ctrl.state.orderBy === 'ApplicationType' && $ctrl.state.reverseOrder"></i>
|
||||
</a>
|
||||
</th>
|
||||
<th>
|
||||
Status
|
||||
</th>
|
||||
<th>
|
||||
Publishing mode
|
||||
|
@ -141,6 +148,7 @@
|
|||
<a ui-sref="kubernetes.resourcePools.resourcePool({ id: item.ResourcePool })">{{ item.ResourcePool }}</a>
|
||||
</td>
|
||||
<td>{{ item.Image }}</td>
|
||||
<td>{{ item.ApplicationType | kubernetesApplicationTypeText }}</td>
|
||||
<td>
|
||||
<span ng-if="item.DeploymentType === $ctrl.KubernetesApplicationDeploymentTypes.REPLICATED">Replicated</span>
|
||||
<span ng-if="item.DeploymentType === $ctrl.KubernetesApplicationDeploymentTypes.GLOBAL">Global</span>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue