All Questions
354 questions
0
votes
1
answer
197
views
Kustomize image replacement stops working after pushing changes to git
I have rather unusual issue with Kustomize and/or git.
I'm using kustomize with openshift and have following catalog structure:
├── bases
│ └── deployment.yaml
├── kustomization.yaml
└── overlays
...
1
vote
0
answers
49
views
Openshift: Could not find artifact when building java application using s2i with maven multimodule from GIT Submodules
Currently having difficultly building a Maven multimodule project using GIT submodules.
Using a GIT local repo as the source for OKD/Openshift S2i build for a Java (JDK21) application on OKD 4.15. The ...
0
votes
1
answer
104
views
OpenShift build error: couldn't find remote ref master
I have an OpenShift buildconfig that refers to a Git repository under bc.spec.source as follows:
git:
uri: ssh://openshift@my-server/my-repo
ref: master
When I clone the repository outside ...
1
vote
1
answer
261
views
Dockerfile permission denied error (Streamlit / OpenShift)
I used this template Dockerfile from https://docs.streamlit.io/knowledge-base/tutorials/deploy/kubernetes to create a container. The build runs through and is passed, but the container/pod shows an ...
0
votes
1
answer
516
views
How to build source to image(S2I) in OpenShift but using the directory under .git repo?
As the question mentioned,
I want to build source to image (S2I) from git repo, but I want to build the diretory under git repository.
For example, I have a git repository name Test(https://example....
2
votes
1
answer
249
views
Import project from git in Redhat Decision Manager(RHDM) deployed in Openshift
Using the steps defined in deploying red hat decision manager on red hat openshift container platform (Redhat site), I was able to deploy the RHDM in my minishift server, however when trying to import ...
0
votes
1
answer
408
views
Enable to access to gitlab.com
I'm trying to create new-app in the minishift. First command is:
oc new-app https://gitlab.com/practical-openshift/hello-world.git
Result:
--> Found container image 2b6ec7e (10 hours old) from ...
3
votes
1
answer
2k
views
How do I specify a particular branch other than master in my OpenShift deployment?
My objective is to build a container image from git, but only from a specific branch. In order to do that, in my build.yaml, I have to specify the uri of the git branch:
spec:
output:
to:
...
3
votes
0
answers
2k
views
git clone in openshift fails "no user exists with uid"
I would like to test and build a Python module which has further dependencies in a gitlab runner (docker) on an openshift cluster. I get my Python module checked out from git as expected.
The ...
1
vote
0
answers
273
views
OpenShift Jenkinsfile / BuildConfig template access git branch name and other environment variables
I have checked out Openshift retrieve branch name in jenkinsfile but it doesn't work for me. I have had the necessary git plugins installed. However, everything is null / empty when referenced in ...
4
votes
3
answers
3k
views
Externalize configuration node js
I am gonna deploy a node js service in openshift and there are few properties such as database configs and app properties which I need to externalize.
I have java applications running as part of ...
0
votes
2
answers
965
views
Openshift git source with Docker file
Is it possible to have a java source code repository in Git and have a Dockerfile in the
root directory of the Git repository, so that after building the maven artifacts openshift will user the ...
0
votes
0
answers
282
views
Openshift: Authentication failed with private GitLab repo as a dependency
I'm trying to build and deploy a private node project, hosted in GitLab (Enterprise edition).
It has another private repository as an npm dependency, and it fails every time it tries to install npm ...
0
votes
1
answer
169
views
Openshift 3.11 source-to-image (s2i) build using no standard ssh port
I'm trying to use OpenShift s2i builds to build an image, pulling source code from a git repo on a non standard port (port 222).
I thought this would be as simple as specifying the port in the git ...
0
votes
1
answer
176
views
How to store a secret config.php in openshift outside of a git repository?
I want to deploy a php app with a dockerfile from a git repository on openshift. The php app includes a config.php file with passwords. I can't put (secret) config.php in the (public) git repository. ...