How to get a list of image used by JFrog platform charts

Paul Pan
2022-06-29 08:41

When deploying jfrog platform on kubernetes, it pulls images from jfrog docker registry: releases-docker.jfrog.io

If you are using a private registry instead, you might want to get a list of all the images and put them in your private docker registry.

Solution

You can use the following command to get a list of all the images:
helm template jfrog/jfrog-platform | grep 'image:' | sed -n '/releases-docker.jfrog.io/p' | sed -e 's/[ ]*image:[ ]*//' -e 's/"//g' | sed -e "s/^'//" -e "s/'$//"  | sort -u
releases-docker.jfrog.io/alpine:3.14.2
releases-docker.jfrog.io/bitnami/postgresql:13.4.0-debian-10-r39
releases-docker.jfrog.io/bitnami/rabbitmq:3.9.15-debian-10-r5
releases-docker.jfrog.io/bitnami/redis:6.2.1-debian-10-r9
releases-docker.jfrog.io/bitnami/redis:6.2.6-debian-10-r43
releases-docker.jfrog.io/hashicorp/vault:1.8.6
releases-docker.jfrog.io/jfrog/artifactory-pro:7.39.4
releases-docker.jfrog.io/jfrog/distribution-distribution:2.13.3
releases-docker.jfrog.io/jfrog/elasticsearch-sg:7.16.3
releases-docker.jfrog.io/jfrog/insight-scheduler:1.10.2
releases-docker.jfrog.io/jfrog/insight-server:1.10.2
releases-docker.jfrog.io/jfrog/nginx-artifactory-pro:7.39.4
releases-docker.jfrog.io/jfrog/observability:1.6.1
releases-docker.jfrog.io/jfrog/pipelines-api:1.24.0
releases-docker.jfrog.io/jfrog/pipelines-frontend:1.24.0
releases-docker.jfrog.io/jfrog/pipelines-installer:1.24.0
releases-docker.jfrog.io/jfrog/pipelines-micro:1.24.0
releases-docker.jfrog.io/jfrog/pipelines-router:1.24.0
releases-docker.jfrog.io/jfrog/pipelines-vault-init:1.20.4
releases-docker.jfrog.io/jfrog/pipelines-www:1.24.0
releases-docker.jfrog.io/jfrog/router:7.38.0
releases-docker.jfrog.io/jfrog/ubi-minimal:8.5-204
releases-docker.jfrog.io/jfrog/xray-analysis:3.51.0
releases-docker.jfrog.io/jfrog/xray-indexer:3.51.0
releases-docker.jfrog.io/jfrog/xray-persist:3.51.0
releases-docker.jfrog.io/jfrog/xray-server:3.51.0
releases-docker.jfrog.io/postgres:13.4-alpine

It also works for older chart version:
helm template jfrog/jfrog-platform --version 10.6.2 | grep 'image:' | sed -n '/releases-docker.jfrog.io/p' | sed -e 's/[ ]*image:[ ]*//' -e 's/"//g' | sed -e "s/^'//" -e "s/'$//"  | sort -u