mirror of
https://github.com/portainer/portainer.git
synced 2025-07-19 05:19:39 +02:00
feat(k8s/application): Support multi-container pods applications (#4208)
* feat(application): Support multi-container pods applications * feat(application): Support multi-container pods applications * fix(application): use only one pod in app details and fix logs and console links * fix(application): show all containers in containers datatable * fix(application): fix order by pod name * feat(k8s/application): minor UI update * feat(k8s/application): minor UI update * feat(k8s/application): minor UI update * feat(k8s/application): minor UI update * feat(k8s/application): minor UI update * fix(application): fix persisted folders in application details Co-authored-by: Anthony Lapenna <lapenna.anthony@gmail.com>
This commit is contained in:
parent
fe4a80c7bd
commit
00389a7da9
24 changed files with 358 additions and 141 deletions
|
@ -54,7 +54,7 @@ class KubernetesApplicationConsoleController {
|
|||
endpointId: this.EndpointProvider.endpointID(),
|
||||
namespace: this.application.ResourcePool,
|
||||
podName: this.podName,
|
||||
containerName: this.application.Pods[0].Containers[0].name,
|
||||
containerName: this.containerName,
|
||||
command: this.state.command,
|
||||
};
|
||||
|
||||
|
@ -92,8 +92,10 @@ class KubernetesApplicationConsoleController {
|
|||
const podName = this.$transition$.params().pod;
|
||||
const applicationName = this.$transition$.params().name;
|
||||
const namespace = this.$transition$.params().namespace;
|
||||
const containerName = this.$transition$.params().container;
|
||||
|
||||
this.podName = podName;
|
||||
this.containerName = containerName;
|
||||
|
||||
try {
|
||||
this.application = await this.KubernetesApplicationService.get(namespace, applicationName);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue