argoproj-labs / rollout-extension

Argo Rollout visualization in Argo CD Web UI
196 stars 46 forks source link

Pod images not displaying in revisions (unlike how they display in rollouts dashboard) #73

Open schlags opened 8 months ago

schlags commented 8 months ago

Would it be possible to show the container image url in the list of revisions similar to how we can see it in the kubectl argo rollouts dashboard?

image

Example here of kubectl argo rollouts dashboard view - seeing the image urls for each historical replicaset would be massively beneficial for our engineers that would like to see the difference between two image tags if a rollout fails.

image image

Example here of rollout extension with the image urls missing

I can see the images are populated for each pod in the react component view on my browser

schlags commented 8 months ago

Hmm, I gave this a shot on my fork and realize that the pod template isn't available in the replicaset node, bummer:

  {
       group: 'apps',
       version: 'v1',
       kind: 'ReplicaSet',
       namespace: 'default',
       name: 'rollout-helm-guestbook-f9df84645',
       uid: '0c8c8412-0043-4cf7-b9b2-52c3117f417c',
       parentRefs: 
        [ { group: 'argoproj.io',
            kind: 'Rollout',
            namespace: 'default',
            name: 'rollout-helm-guestbook',
            uid: '4fc4b89e-ef87-4804-812a-37152e582bd7' } ],
       info: [ { name: 'Revision', value: 'Rev:1' } ],
       resourceVersion: '465824',
       health: { status: 'Healthy' },
       createdAt: '2024-02-29T23:54:43Z' 
    },