You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As of right now OKD doesn't publish its cincinnati-graph-data configurations for people to create their own cincinnati-operator / update service, this makes it hard to perform upgrades in restricted networks where there is no access to https://amd64.origin.releases.ci.openshift.org/graph.
I have tried to work around this limitation by first, pruning the registry.redhat.io/redhat/redhat-operator-index:v4.11 image to only contain cincinnati-operator, which was done with the following commands:
This leaves us with one thing missing, and that is the graphDataImage which contains the graph data. In Openshift this is created with the following Dockerfile (As described in these docs):
FROM registry.access.redhat.com/ubi8/ubi:8.1
RUN curl -L -o cincinnati-graph-data.tar.gz https://github.com/openshift/cincinnati-graph-data/archive/master.tar.gz
CMD exec /bin/bash -c "tar xvzf cincinnati-graph-data.tar.gz -C /var/lib/cincinnati/graph-data/ --strip-components=1"
But there doesn't exist a .tar.gz for OKD, so this leaves a couple of options.
Create necessary OKD related repositories to do the same thing as Openshift, and publish a tar file for OKD graph-data. (@vrutkovs mentioned that it is a large thing to do here, I would be interested in contributing to something like this)
I would highly prefer option 4 as it allows everyone later down the road to perform upgrades through a standard / best-practice method.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
As of right now OKD doesn't publish its
cincinnati-graph-data
configurations for people to create their owncincinnati-operator
/ update service, this makes it hard to perform upgrades in restricted networks where there is no access to https://amd64.origin.releases.ci.openshift.org/graph.I have tried to work around this limitation by first, pruning the
registry.redhat.io/redhat/redhat-operator-index:v4.11
image to only containcincinnati-operator
, which was done with the following commands:This will save all the required images and configurations to create a custom CatalogSource, which could look something like this:
This leaves us with one thing missing, and that is the
graphDataImage
which contains the graph data. In Openshift this is created with the following Dockerfile (As described in these docs):But there doesn't exist a .tar.gz for OKD, so this leaves a couple of options.
I would highly prefer option 4 as it allows everyone later down the road to perform upgrades through a standard / best-practice method.
Beta Was this translation helpful? Give feedback.
All reactions