Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[che-dev] Turning on OpenShift OAuth by default

Hello.

We are going to turn on OpenShift OAuth by default while deploying Eclipse Che with chectl on OpenShift infrastructure.

What does it mean:
1. `--os-oauth` flag will be removed completely. Any `server:start` commands that use `--os-oauth` will fail with the unexpected argument error.
For the time being it is possible to deploy OpenShift OAuth enabled but without the `--os-oauth` flag. Not to hit the error, please use `--che-operator-cr-patch-yaml` flag:

`chectl .... --che-operator-cr-patch-yaml <PATCH-YAML>`

where `PATCH-YAML` is a file the the following content:
```
spec:
  auth:
    openShiftoAuth: true
```

2. Once OpenShift OAuth is set by default it will still be possible to deploy without OpenShift OAuth, please use the `--che-operator-cr-patch-yaml` flag:

`chectl .... --che-operator-cr-patch-yaml <PATCH-YAML>`

where `PATCH-YAML` is a file the the following content:
```
spec:
  auth:
    openShiftoAuth: false
```

Issue to track [1]

--

ANATOLII BAZKO

PRINCIPAL DEVELOPER

Red Hat Ukraine


Back to the top