Skip to content

Commit 0c5a49d

Browse files
committed
cleanup: login
1 parent 23a18ec commit 0c5a49d

12 files changed

+6
-6
lines changed

components/cluster-configs/login/base/README.md renamed to components/cluster-configs/login/dump/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,19 @@
44

55
Follow the docs
66

7-
```
7+
```sh
88
oc adm create-login-template > login.html
99
oc adm create-provider-selection-template > providers.html
1010
oc adm create-error-template > errors.html
1111
```
1212

13-
```
13+
```sh
1414
oc create secret generic login-template --from-file=login.html -n openshift-config
1515
oc create secret generic providers-template --from-file=providers.html -n openshift-config
1616
oc create secret generic error-template --from-file=errors.html -n openshift-config
1717
```
1818

19-
```
19+
```yaml
2020
spec:
2121
templates:
2222
value:
@@ -30,7 +30,7 @@ spec:
3030
3131
Dump current configuration
3232
33-
```
33+
```sh
3434
pushd components/cluster-configs/login/base
3535
oc exec deployment/oauth-openshift -- cat /var/config/system/secrets/v4-0-config-system-ocp-branding-template/login.html > login.html
3636
oc exec deployment/oauth-openshift -- cat /var/config/system/secrets/v4-0-config-system-ocp-branding-template/errors.html > errors.html
@@ -40,7 +40,7 @@ popd
4040

4141
Apply custom login template
4242

43-
```
43+
```sh
4444
pushd components/cluster-configs/login/base
4545
oc -n openshift-config \
4646
delete secret login-custom
@@ -53,7 +53,7 @@ oc -n openshift-config \
5353
popd
5454
```
5555

56-
```
56+
```yaml
5757
spec:
5858
templates:
5959
value:
File renamed without changes.
File renamed without changes.
File renamed without changes.

components/cluster-configs/login/overlays/testing/github-client-sealed-secret.yaml renamed to components/cluster-configs/login/dump/testing/github-client-sealed-secret.yaml

File renamed without changes.

components/cluster-configs/login/overlays/testing/htpasswd-fix-user-job.yaml renamed to components/cluster-configs/login/dump/testing/htpasswd-fix-user-job.yaml

File renamed without changes.

components/cluster-configs/login/overlays/testing/htpasswd-secret-ss-job.yaml renamed to components/cluster-configs/login/dump/testing/htpasswd-secret-ss-job.yaml

File renamed without changes.

components/cluster-configs/login/overlays/testing/htpasswd-secret-ss.yaml renamed to components/cluster-configs/login/dump/testing/htpasswd-secret-ss.yaml

File renamed without changes.

components/cluster-configs/login/overlays/testing/kustomization.yaml renamed to components/cluster-configs/login/dump/testing/kustomization.yaml

File renamed without changes.

components/cluster-configs/login/overlays/testing/login-custom-secret.yaml renamed to components/cluster-configs/login/dump/testing/login-custom-secret.yaml

File renamed without changes.

0 commit comments

Comments
 (0)