3.3. 제한된 환경에서 OpenShift 이미지에 Fuse 설치
fis-image-streams.json
파일에는 OpenShift에서 Red Hat Fuse의 imageStream 정의가 포함되어 있습니다. 그러나 모든 이미지 스트림은 registry.redhat.io
를 참조합니다. psi-internal-registry
URL에 대한 모든 registry.redhat.io
참조를 변경해야 합니다.
절차
OpenShift 이미지 스트림 json 파일에서 Red Hat Fuse를 다운로드합니다.
curl -o fis-image-streams.json https://raw.githubusercontent.com/jboss-fuse/application-templates/application-templates-2.1.0.fuse-sb2-7_11_1-00016-redhat-00002/fis-image-streams.json
curl -o fis-image-streams.json https://raw.githubusercontent.com/jboss-fuse/application-templates/application-templates-2.1.0.fuse-sb2-7_11_1-00016-redhat-00002/fis-image-streams.json
Copy to Clipboard Copied! Toggle word wrap Toggle overflow fis-image-streams.json
파일을 열고registry.redhat.io
에 대한 모든 참조를 찾습니다. 예를 들면 다음과 같습니다.Copy to Clipboard Copied! Toggle word wrap Toggle overflow 파일의 모든
registry.redhat.io
참조를psi-internal-registry
이름으로 바꿉니다. 예를 들면 다음과 같습니다.Copy to Clipboard Copied! Toggle word wrap Toggle overflow 모든 참조가 교체된 후 다음 명령을 실행하여 OpenShift 이미지 스트림에 Fuse를 설치합니다.
oc create -f fis-image-streams.json -n {namespace}
oc create -f fis-image-streams.json -n {namespace}
Copy to Clipboard Copied! Toggle word wrap Toggle overflow