Comments (11)
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.
whoops, replace that url w/ the raw url:
https://raw.githubusercontent.com/sclorg/s2i-php-container/master/imagestreams/php-centos.json
from cakephp-ex.
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.
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.
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.
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.
oc apply should do it, or you can oc delete the existing one.
from cakephp-ex.
Brilliant. Thanks, @bparees !
from cakephp-ex.
yw!
from cakephp-ex.
@ryannix123 Can you please close this issue, if it is already resolved?
from cakephp-ex.
Yes, sorry about that!
from cakephp-ex.
Related Issues (20)
- Openshift + Build + Test
- Missing Controller after build
- Add more libraries to PHP HOT 1
- Broken deploy with template on OCP 4.4 HOT 4
- [README] Installation documents points to the page not found HOT 1
- php-8.0 and cakephp-ex on CentOS Stream 9 is failing HOT 2
- Testing issue creation for samples operator HOT 1
- Please move licensing information to LICENSE file HOT 1
- No Action Required !! Testing automation workflow HOT 1
- cakephp-ex-80 does not work in OpenShift 4.12.3 HOT 14
- OK, once app is created how it can be accessed?
- Add test cases and post build hook
- Update to Cake 3.x? HOT 1
- ./migrate-database.sh: line 6: cake: command not found HOT 6
- Update templates after CakePHP and SCL 2.3 updates merged HOT 1
- MySQL don't up with PHP Service! HOT 5
- composer.phar download does not work with a local CA signed cert on the internet proxy HOT 1
- if I change mysql service name, cakephp does not find service any more HOT 3
- Problem with MySQL image used in this example HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cakephp-ex.