diff --git a/ui/src/app/workflows/components/workflow-node-info/workflow-node-info.tsx b/ui/src/app/workflows/components/workflow-node-info/workflow-node-info.tsx
index 019e1caf1b0f..7707f9c1b822 100644
--- a/ui/src/app/workflows/components/workflow-node-info/workflow-node-info.tsx
+++ b/ui/src/app/workflows/components/workflow-node-info/workflow-node-info.tsx
@@ -1,4 +1,4 @@
-import {Tabs, Ticker} from 'argo-ui';
+import {Tabs, Ticker, Tooltip} from 'argo-ui';
import * as moment from 'moment';
import * as React from 'react';
@@ -164,6 +164,27 @@ function hasEnv(container: models.kubernetes.Container | models.Sidecar | models
return (container as models.kubernetes.Container | models.Sidecar).env !== undefined;
}
+const EnvVar = (props: {env: models.kubernetes.EnvVar}) => {
+ const {env} = props;
+ const secret = env.valueFrom?.secretKeyRef;
+ const secretValue = secret ? (
+ <>
+
+ {env.name}={env.value || secretValue} ++ ); +}; + export const WorkflowNodeContainer = (props: { nodeId: string; container: models.kubernetes.Container | models.Sidecar | models.Script; @@ -187,7 +208,13 @@ export const WorkflowNodeContainer = (props: { hasEnv(container) ? { title: 'ENV', - value:
{(container.env || []).map(e => `${e.name}=${e.value}`).join('\n')}+ value: ( +
+ {(container.env || []).map(e => ( ++ ) } : {title: 'ENV', value: } ];+ ))} +