Skip to content

Commit 800a923

Browse files
openshift-cherrypick-robotGitHub Actions
authored andcommitted
Changed alpha2 to alpha3 (#927)
Co-authored-by: Priyanka Abel <[email protected]> Added missing parameter in auth set up Added missing parameter in auth setup Add missing parameter Update the missing parameter in auth set up Added missing parameter in auth set up Added missing parameter in auth setup
1 parent 7bbf690 commit 800a923

File tree

3 files changed

+18
-9
lines changed

3 files changed

+18
-9
lines changed

modules/authentication/proc-enabling-authentication-with-rhbk.adoc

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Save the value for the next step:
3535
+
3636
--
3737
.`{my-app-config-file}` fragment with mandatory fields to enable authentication with {rhbk}
38-
[source,yaml]
38+
[source,yaml,subs="+attributes,+quotes"]
3939
----
4040
auth:
4141
environment: production
@@ -45,6 +45,7 @@ auth:
4545
metadataUrl: ${AUTH_OIDC_METADATA_URL}
4646
clientId: ${AUTH_OIDC_CLIENT_ID}
4747
clientSecret: ${AUTH_OIDC_CLIENT_SECRET}
48+
prompt: auto
4849
signInPage: oidc
4950
----
5051

@@ -57,6 +58,13 @@ To configure the OIDC provider with your secrets.
5758
`sigInPage: oidc`::
5859
To enable the OIDC provider as default sign-in provider.
5960

61+
`prompt: auto`::
62+
To allow the identity provider to automatically determine whether to prompt for credentials or bypass the login redirect if an active {rhsso} session exists.
63+
64+
[NOTE]
65+
====
66+
If `prompt: auto` is not set, the identity provider defaults to `prompt: none`, which assumes that you are already logged in and rejects sign-in requests without an active session.
67+
====
6068

6169
Optional: Consider adding the following optional fields:
6270

@@ -78,6 +86,7 @@ auth:
7886
metadataUrl: ${AUTH_OIDC_METADATA_URL}
7987
clientId: ${AUTH_OIDC_CLIENT_ID}
8088
clientSecret: ${AUTH_OIDC_CLIENT_SECRET}
89+
prompt: auto
8190
signInPage: oidc
8291
dangerouslyAllowSignInWithoutUserInCatalog: true
8392
----

modules/configuring-deployment/proc-configuring-deployment-by-using-the-operator.adoc

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[id="configuring-the-deployment"]
22
= Configuring {product} deployment when using the Operator
33

4-
The {product} Operator exposes a `rhdh.redhat.com/v1alpha2` API Version of its custom resource (CR). This CR exposes a generic `spec.deployment.patch` field, which gives you full control over the {product-short} Deployment resource. This field can be a fragment of the standard `apps.Deployment` Kubernetes object.
4+
The {product} Operator exposes a `rhdh.redhat.com/v1alpha3` API Version of its custom resource (CR). This CR exposes a generic `spec.deployment.patch` field, which gives you full control over the {product-short} Deployment resource. This field can be a fragment of the standard `apps.Deployment` Kubernetes object.
55

66
.Procedure
77

@@ -11,7 +11,7 @@ The {product} Operator exposes a `rhdh.redhat.com/v1alpha2` API Version of its c
1111
.Example
1212
[source, yaml]
1313
----
14-
apiVersion: rhdh.redhat.com/v1alpha2
14+
apiVersion: rhdh.redhat.com/v1alpha3
1515
kind: Backstage
1616
metadata:
1717
name: developer-hub
@@ -28,7 +28,7 @@ Add labels to the {product-short} pod.
2828
.Example adding the label `my=true`
2929
[source, yaml]
3030
----
31-
apiVersion: rhdh.redhat.com/v1alpha2
31+
apiVersion: rhdh.redhat.com/v1alpha3
3232
kind: Backstage
3333
metadata:
3434
name: developer-hub
@@ -50,7 +50,7 @@ Add an additional volume named `my-volume` and mount it under `/my/path` in the
5050
.Example additional volume
5151
[source, yaml]
5252
----
53-
apiVersion: rhdh.redhat.com/v1alpha2
53+
apiVersion: rhdh.redhat.com/v1alpha3
5454
kind: Backstage
5555
metadata:
5656
name: developer-hub
@@ -78,7 +78,7 @@ Replace the default `dynamic-plugins-root` volume with a persistent volume claim
7878
.Example `dynamic-plugins-root` volume replacement
7979
[source, yaml]
8080
----
81-
apiVersion: rhdh.redhat.com/v1alpha2
81+
apiVersion: rhdh.redhat.com/v1alpha3
8282
kind: Backstage
8383
metadata:
8484
name: developer-hub
@@ -103,7 +103,7 @@ Set the CPU request for the {product-short} application container to 250m.
103103
.Example CPU request
104104
[source, yaml]
105105
----
106-
apiVersion: rhdh.redhat.com/v1alpha2
106+
apiVersion: rhdh.redhat.com/v1alpha3
107107
kind: Backstage
108108
metadata:
109109
name: developer-hub
@@ -127,7 +127,7 @@ Add a new `my-sidecar` sidecar container into the {product-short} Pod.
127127
.Example side car container
128128
[source, yaml]
129129
----
130-
apiVersion: rhdh.redhat.com/v1alpha2
130+
apiVersion: rhdh.redhat.com/v1alpha3
131131
kind: Backstage
132132
metadata:
133133
name: developer-hub

modules/dynamic-plugins/con-dynamic-plugins-cache.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ spec:
3232
3333
---
3434
35-
apiVersion: rhdh.redhat.com/v1alpha2
35+
apiVersion: rhdh.redhat.com/v1alpha3
3636
kind: Backstage
3737
metadata:
3838
name: developer-hub

0 commit comments

Comments
 (0)