Browse Source

fix typo

pull/1/head
Nicolas Massé 7 years ago
parent
commit
e4ca6bd7ab
  1. 10
      Login-to-OpenShift-with-your-Google-Account/README.md
  2. BIN
      Login-to-OpenShift-with-your-Google-Account/images/oidc10.png

10
Login-to-OpenShift-with-your-Google-Account/README.md

@ -2,7 +2,7 @@
## Context ## Context
As Solution Architect or Consultants at Red Hat, we often spin up new OpenShift As Solution Architect or Consultant at Red Hat, we often spin up new OpenShift
clusters. By convenience, those clusters are often in the Cloud and are publicly clusters. By convenience, those clusters are often in the Cloud and are publicly
facing the Internet. facing the Internet.
@ -91,8 +91,10 @@ systemctl restart atomic-openshift-master-controllers
## Granting rights ## Granting rights
- Login on as `cluster-admin` on your OpenShift master (for instance by logging as root on your master) When you want to give additional rights to one of your team mates, just login
- Use `oc adm policy add-cluster-role-to-user` or `oc adm policy add-role-to-user` to grant rights to a user. as `cluster-admin` on your OpenShift master (for instance by logging as root
on your master) and use the `oc adm policy add-cluster-role-to-user` or
`oc adm policy add-role-to-user` to grant rights to the user.
For instance, to give the `cluster-admin` role to a user named `nmasse@redhat.com`, use the following command: For instance, to give the `cluster-admin` role to a user named `nmasse@redhat.com`, use the following command:
@ -147,7 +149,7 @@ In the inventory file you used to provision your OpenShift instance, you can
add: add:
```ini ```ini
[OSEv3] [OSEv3:vars]
openshift_master_identity_providers=[ { "name": "RedHat", "challenge": false, "login": true, "mappingMethod": "claim", "provider": { "apiVersion": "v1", "clientID": "<paste the generated client_id here>", "clientSecret": "<paste the generated client_secret here>", "hostedDomain": "redhat.com", "kind": "GoogleIdentityProvider" } } ] openshift_master_identity_providers=[ { "name": "RedHat", "challenge": false, "login": true, "mappingMethod": "claim", "provider": { "apiVersion": "v1", "clientID": "<paste the generated client_id here>", "clientSecret": "<paste the generated client_secret here>", "hostedDomain": "redhat.com", "kind": "GoogleIdentityProvider" } } ]
``` ```

BIN
Login-to-OpenShift-with-your-Google-Account/images/oidc10.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 191 KiB

After

Width:  |  Height:  |  Size: 184 KiB

Loading…
Cancel
Save