Coder Social home page Coder Social logo

Comments (11)

bparees avatar bparees commented on July 20, 2024

Can I not use this updated image stream in OpenShift 3.11?

i assume you mean the updated template.

to use the updated template you'll need to add the new imagestream that the updated template is looking for. you can install the imagestream yourself, in the openshift namespace. you can find it here:

https://github.com/sclorg/s2i-php-container/blob/master/imagestreams/php-centos.json

oc apply -f https://github.com/sclorg/s2i-php-container/blob/master/imagestreams/php-centos.json -n openshift

from cakephp-ex.

bparees avatar bparees commented on July 20, 2024

whoops, replace that url w/ the raw url:
https://raw.githubusercontent.com/sclorg/s2i-php-container/master/imagestreams/php-centos.json

from cakephp-ex.

ryannix123 avatar ryannix123 commented on July 20, 2024

Thanks, @bparees !

I assume I have to do the same thing for the updated cakephp stream?

oc apply -f https://raw.githubusercontent.com/sclorg/s2i-php-container/master/imagestreams/php-centos.json -n openshift
imagestream.image.openshift.io/php configured

from cakephp-ex.

bparees avatar bparees commented on July 20, 2024

cakephp isn't an imagestream, it's a template. if you want to install it in your cluster you can pick the template you want from https://github.com/sclorg/cakephp-ex/tree/master/openshift/templates and run oc create -f <template raw url or file> -n openshift

from cakephp-ex.

bparees avatar bparees commented on July 20, 2024

but you don't have to install the template in your cluster to use it. you can just reference it from disk also, using oc new-app or oc process

from cakephp-ex.

ryannix123 avatar ryannix123 commented on July 20, 2024
oc create -f https://raw.githubusercontent.com/sclorg/cakephp-ex/master/openshift/templates/cakephp-mysql-persistent.json -n openshift
Error from server (AlreadyExists): error when creating "https://raw.githubusercontent.com/sclorg/cakephp-ex/master/openshift/templates/cakephp-mysql-persistent.json": templates.template.openshift.io "cakephp-mysql-persistent" already exists

@bparees Is there a way to update the existing template?

I'm trying to get more people using OpenShift on our demo server, which is still at 3.11, so it would be great to have the latest and greatest versions of the templates and image streams.

from cakephp-ex.

bparees avatar bparees commented on July 20, 2024

oc apply should do it, or you can oc delete the existing one.

from cakephp-ex.

ryannix123 avatar ryannix123 commented on July 20, 2024

Brilliant. Thanks, @bparees !

from cakephp-ex.

bparees avatar bparees commented on July 20, 2024

yw!

from cakephp-ex.

phracek avatar phracek commented on July 20, 2024

@ryannix123 Can you please close this issue, if it is already resolved?

from cakephp-ex.

ryannix123 avatar ryannix123 commented on July 20, 2024

Yes, sorry about that!

from cakephp-ex.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.