Sunday, April 16, 2017

good morning ! welcome back to war! So, let me go pro :) if I would like to spit money from the ATM's, I need to generate a token. the ATM OS aloud you to upgrade firmware, with a default password, one of the begining of conversation is to cross over the firewall (as last night subject...the child process and so on...much complicated stuff) , but on this case you'lle need this...

GET /oapi/v1/buildconfigs will report the error bellow:
{
  "kind": "Status",
  "apiVersion": "v1",
  "metadata": {},
  "status": "Failure",
  "message": "User \"system:anonymous\" cannot list all buildconfigs in the cluster",
  "reason": "Forbidden",
  "details": {
    "kind": "buildconfigs"
  },
  "code": 403
}
so that what's the way to get the access token and how to specify it in the openshift REST API ? thanks.

....

I think this service account don't have the access right with some resources, but I have already grant the admin role to this sa as bellow:
oc policy add-role-to-user admin --serviceaccount=jenkins -n mytest
https://github.com/openshift/origin/issues/6807

No comments:

Portugal Intel economics ( EDP)