Skip to content

Depreciated bitnami Image

Hello @lga,

In KinD mdm-kafaka-0 pod faces a ImagePullBackOff due to the volume-permissions pod :

42m         Normal    Pulling                 pod/mdm-kafka-0                                              Pulling image "docker.io/bitnami/bitnami-shell:11-debian-11-r90"
42m         Warning   Failed                  pod/mdm-kafka-0                                              Failed to pull image "docker.io/bitnami/bitnami-shell:11-debian-11-r90": rpc error: code = Unknown desc = failed to pull and unpack image "docker.io/bitnami/bitnami-shell:11-debian-11-r90": failed to resolve reference "docker.io/bitnami/bitnami-shell:11-debian-11-r90": pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed
42m         Warning   Failed                  pod/mdm-kafka-0                                              Error: ErrImagePull
23m         Normal    BackOff                 pod/mdm-kafka-0                                              Back-off pulling image "docker.io/bitnami/bitnami-shell:11-debian-11-r90"
41m         Warning   Failed                  pod/mdm-kafka-0                                              Error: ImagePullBackOff

Looking up if this is a common issue, it seems that the image docker.io/bitnami/bitnami-shell is depreciated ant its better to use bitnami/os-shell https://github.com/bitnami/charts/issues/23406#issuecomment-1940980744. Perhaps a change in the mdm-api/deployment/kafka-helm.yaml or so, as you see fits would help avoid such issue for who face it:

volumePermissions:
  enabled: true
  image: ## new lines to use the newer image instead of bitnami-shell
    registry: docker.io
    repository: bitnami/os-shell
    tag: 11-debian-11-r90