Comments (3)
Openshift does not support basic auth authentication to the API directly. You can use basic auth to obtain an OAuth token like oc login
does: https://github.com/openshift/origin/blob/master/pkg/cmd/util/tokencmd/request_token.go#L72 This only works if your configured IDP supports challenge flows.
from client-go.
@enj I will try it later, Thank you very much
from client-go.
Closing since this is working as expected. Feel free to reopen if you need further assistance.
from client-go.
Related Issues (20)
- Create Security Context using the openshift golang Client HOT 6
- Missing Documentation HOT 5
- How to get list of `DeploymentConfig` in a controller HOT 7
- what's the right place for a new API group and how to organize it HOT 5
- How to use oc rsync command ? HOT 4
- How to list deployments? HOT 1
- How to list statefulsets? HOT 1
- releases? HOT 11
- unknown revision v0.0.0
- Support which OpenShift version HOT 4
- Install OpenShift operators HOT 4
- Future Release Branches Frozen For Merging | branch:release-4.18 branch:release-4.19
- oc adm policy command outdated manual
- Can not "go get github.com/openshift/client-go/build/clientset/versioned/typed/build/v1" HOT 8
- Cannot get Openshift object with Operator SDK reconciler HOT 4
- OAuthClient does not get deleted intermittently. HOT 4
- Not able to Scale DeploymentConfigs using the UpdateScale() function HOT 2
- Add k8s dependencies tracking step and start proper tag management HOT 6
- Fake Clientset cannot be initialized with Security Context Constraints HOT 4
- How to fetch OpenShift Bearer token? 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 client-go.