Questions tagged [openshift-client-tools]

The OpenShift Client tools, known as rhc, are built and packaged using Ruby. OpenShift integrates with the Git version control system to provide powerful, decentralized version control for your application source code.

The OpenShift Client tools, known as rhc, are built and packaged using Ruby. OpenShift integrates with the Git version control system to provide powerful, decentralized version control for your application source code.

329 questions
3
votes
1 answer

Openshift- git clone gives Permission denied (publickey,gssapi-keyex,gssapi-with-mic)

I have created a new account with openshift online and have created my first app. I have rhc installed on my local machine. I setup ssh keys for the first time using rhc setup -l loginname i used git clone to clone the remote repo and it worked…
user3585660
  • 31
  • 1
  • 3
3
votes
2 answers

Unable to create OpenShift application using --from-code option

I am trying to create an OpenShift application using the --from-code option to grab the application code from GitHub. I've created two different OpenShift QuickStarts -- with one, the --from-code option works, and with the other, it doesn't work. So…
Schof
  • 6,329
  • 5
  • 28
  • 38
3
votes
2 answers

How do I add an alias for a naked domain with OpenShift?

How can I make my naked domain to point to my Openshift application? Can it be done in the Openshift online dashboard or it can only be configured through the rhc utility? However I am not sure which the steps to do it.
quarks
  • 33,478
  • 73
  • 290
  • 513
2
votes
1 answer

Failed to pull image "image-registry.openshift-image-registry.svc:5000/..." OpenShift CRC

I am trying to install a sample application using the git option in OpenShift 4.7.2 (CodeReady containers 1.24) and I keep getting the below error while openshift tries to build the image to be deployed. Failed to pull image…
2
votes
1 answer

Openshift External IP is pending/none

I tried to set externalPI with below command oc patch svc -p '{"spec":{"externalIPs":["giving.my.ip.here"]}}' but getting below error Error from server (Forbidden): services "" is forbidden: spec.externalIPs: Forbidden:…
Ranjeet
  • 49
  • 8
2
votes
1 answer

Openshift API query with Openshift/Client-go

Im trying to list all the build configs in openshift with help of openshift/client-go import ( "context" "flag" "fmt" "os" "path/filepath" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" …
2
votes
0 answers

How to configure GitHub webhook URL in Red Hat OpenShift?

I am not getting the GitHub webhook URL after creating a new project on OpenShift. I have checked the build configuration as well, but it wasn't there.
2
votes
2 answers

Unable to login to openshift with CLI

I'm trying to login to starter openshift server. Then getting error: C:\Users\Admin>oc login https://console-openshift-console.apps.us-west-1.online-starter.openshift.com error: invalid character '<' looking for beginning of value version of…
Daiven
  • 23
  • 1
  • 1
  • 3
2
votes
3 answers

Error: timed out waiting for the condition

On Ubuntu 18.04 with Docker 18 and OpenShift OKD oc v3.11.0 a local cluster will not start successfully and produce a time out error message. Is it possible to start a local cluster on Ubuntu 18.04 using oc cluster up? Is it supported? How should a…
onknows
  • 6,151
  • 12
  • 65
  • 109
2
votes
1 answer

How to delete a file in persistent volume through CLI in Openshift

I'm trying to delete a file that is stored in persistent volume through CLI. I know the path but not sure how do I through CLI delete the file. Reason I want to do it through CLI is that I am automating a certain workflow that requires triggering…
Julian Alwandy
  • 321
  • 1
  • 4
  • 13
2
votes
0 answers

Openshift - Error occur x509 certificate signed by unknown authority after create a tag for image stream

I can create an application and build it successfully. However, I can't create a new for tag for an image of the application. The following is the command I used to create the tag and the result I got: oc tag…
chan sum
  • 41
  • 1
  • 6
2
votes
1 answer

how to patch an uploaded template on openshift

I have a template that I have uploaded to openshift. $ oc get templates | grep jenkins jenkins-mycompany Jenkins persistent image 9 (all set) 9 When I get the template, you can see the parameters that are set: $ oc get template jenkins-mycompany…
Chris Bolton
  • 2,162
  • 4
  • 36
  • 75
2
votes
1 answer

OpenShift :: how to skip the application from starting when using "oc new-app"

I am using openshift command oc new-app [OPTIONS..] to add a new application into the openshift project. As part of the process, it creates : build config & starts the build image stream replication controller deploy config & deploys the…
2
votes
2 answers

openshift: allow serviceaccount to create project

i created a service account for gitlab oc create serviceaccount gitlab-sa i assigned to this service account an edit role for the project and for the cluster oc policy add-role-to-user edit -z gitlab-sa and oc policy add-cluster-role-to-user -z…
2
votes
3 answers

How to open a Web Console for open shift?

guys I am using OpenShift to conatinerize and run application on kubernetes, I have started the open shift cluster using oc cluster up now how do I open in the web console. For the mini shift I have user minishift start and then minishift console…