1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-24 07:49:41 +02:00

feat(k8s/application): app details for pods

This commit is contained in:
xAt0mZ 2020-10-26 19:47:23 +01:00
parent 3da9751c82
commit 174e28b850
5 changed files with 15 additions and 11 deletions

View file

@ -221,10 +221,6 @@ class KubernetesApplicationConverter {
const res = new KubernetesApplication();
KubernetesApplicationConverter.applicationCommon(res, data, pods, service, ingresses);
res.ApplicationType = KubernetesApplicationTypes.POD;
// res.DeploymentType = KubernetesApplicationDeploymentTypes.REPLICATED;
// res.DataAccessPolicy = KubernetesApplicationDataAccessPolicies.SHARED;
// res.RunningPodsCount = data.status.availableReplicas || data.status.replicas - data.status.unavailableReplicas || 0;
// res.TotalPodsCount = data.spec.replicas;
return res;
}