Loading multiple specs for an imagestream #789
Labels
3.9 | release-1.1
Kubernetes 1.9 | Openshift 3.9 | Broker release-1.1
3.10 | release-1.2
Kubernetes 1.10 | Openshift 3.10 | Broker release-1.2
Bug:
The broker reads specs from the openshift registry using the image resource. But, openshift identifies containers (container_name:tag) with the imagestream resource.
The problem is there can be multiple images per imagestream, but only one of those images is the 'latest'.
[rhallisey@rhev-i16c-04 ansible-service-broker]$ oc get images | grep postgresql-apb sha256:024d6c20ba2adc34644fd9d26b154ade0bac991addcea85540cf25d07418599d 172.30.1.1:5000/openshift/postgresql-apb@sha256:024d6c20ba2adc34644fd9d26b154ade0bac991addcea85540cf25d07418599d sha256:6ea3e60c088cf5d217ad43e75ae01786553a9d0e21c39c522a6b19679acebc32 172.30.1.1:5000/openshift/postgresql-apb@sha256:6ea3e60c088cf5d217ad43e75ae01786553a9d0e21c39c522a6b19679acebc32
This causes the broker to read every image available, instead of only the 'latest', and process each spec. So it's not guaranteed the 'latest' spec is passed on to the service-catalog.
Logs:
The text was updated successfully, but these errors were encountered: