Skip to content

Commit 144f553

Browse files
committed
Incorporated Ben's comments and Gabe's comments
1 parent 858a4e1 commit 144f553

File tree

2 files changed

+19
-19
lines changed

2 files changed

+19
-19
lines changed

modules/openshift-ai-connector-for-rhdh/proc-setting-up-openshift-ai-connector-for-rhdh-with-rhoai.adoc

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -25,25 +25,25 @@ For more details, see {rhoai-docs-link}/enabling_the_model_registry_component/in
2525

2626
. Configure {rhoai-short}-related RBAC and credentials.
2727
A Kubernetes `ServiceAccount` and a `service-account-token` Secret are required for the connector to retrieve data from {rhoai-short}. The following resources must be created, replacing namespace names (`ai-rhdh` for {product-very-short}, `rhoai-model-registries` for {rhoai-short}) as needed:
28-
** `ServiceAccount` (`rhdh-rhoai-bridge`). For example:
28+
** `ServiceAccount` (`rhdh-rhoai-connector`). For example:
2929
+
3030
[source,yaml]
3131
----
3232
apiVersion: v1
3333
kind: ServiceAccount
3434
metadata:
35-
name: rhdh-rhoai-bridge
35+
name: rhdh-rhoai-connector
3636
namespace: ai-rhdh
3737
----
38-
** `ClusterRole` and `ClusterRoleBinding` (`rhdh-rhoai-bridge`) to allow access to OCP resources like `routes`, `services`, and `inferenceservices`. For example:
38+
** `ClusterRole` and `ClusterRoleBinding` (`rhdh-rhoai-connector`) to allow access to OCP resources like `routes`, `services`, and `inferenceservices`. For example:
3939
+
4040
[source,yaml]
4141
----
4242
# Example for `ClusterRole`
4343
apiVersion: rbac.authorization.k8s.io/v1
4444
kind: ClusterRole
4545
metadata:
46-
name: rhdh-rhoai-bridge
46+
name: rhdh-rhoai-connector
4747
annotations:
4848
argocd.argoproj.io/sync-wave: "0"
4949
rules:
@@ -81,14 +81,14 @@ rules:
8181
apiVersion: rbac.authorization.k8s.io/v1
8282
kind: ClusterRoleBinding
8383
metadata:
84-
name: rhdh-rhoai-bridge
84+
name: rhdh-rhoai-connector
8585
roleRef:
8686
apiGroup: rbac.authorization.k8s.io
8787
kind: ClusterRole
88-
name: rhdh-rhoai-bridge
88+
name: rhdh-rhoai-connector
8989
subjects:
9090
- kind: ServiceAccount
91-
name: rhdh-rhoai-bridge
91+
name: rhdh-rhoai-connector
9292
namespace: ai-rhdh
9393
----
9494
** `Role` and `RoleBinding` to allow ConfigMap updates within the {product-very-short} namespace. For example:
@@ -99,7 +99,7 @@ subjects:
9999
apiVersion: rbac.authorization.k8s.io/v1
100100
kind: Role
101101
metadata:
102-
name: rhdh-rhoai-bridge
102+
name: rhdh-rhoai-connector
103103
namespace: ai-rhdh
104104
rules:
105105
- apiGroups: [""]
@@ -131,28 +131,28 @@ subjects:
131131
apiVersion: rbac.authorization.k8s.io/v1
132132
kind: RoleBinding
133133
metadata:
134-
name: rhdh-rhoai-bridge
134+
name: rhdh-rhoai-connector
135135
namespace: ai-rhdh
136136
roleRef:
137137
apiGroup: rbac.authorization.k8s.io
138138
kind: Role
139-
name: rhdh-rhoai-bridge
139+
name: rhdh-rhoai-connector
140140
subjects:
141141
- kind: ServiceAccount
142-
name: rhdh-rhoai-bridge
142+
name: rhdh-rhoai-connector
143143
namespace: ai-rhdh
144144
----
145-
** Secret (`rhdh-rhoai-bridge-token`) of type `kubernetes.io/service-account-token` that goes along with the `rhdh-rhoai-bridge` `ServiceAccount`.
145+
** Secret (`rhdh-rhoai-connector-token`) of type `kubernetes.io/service-account-token` that goes along with the `rhdh-rhoai-connector` `ServiceAccount`.
146146
+
147147
[source,yaml]
148148
----
149149
apiVersion: v1
150150
kind: Secret
151151
metadata:
152-
name: rhdh-rhoai-bridge-token
152+
name: rhdh-rhoai-connector-token
153153
namespace: ai-rhdh
154154
annotations:
155-
kubernetes.io/service-account.name: rhdh-rhoai-bridge
155+
kubernetes.io/service-account.name: rhdh-rhoai-connector
156156
type: kubernetes.io/service-account-token
157157
----
158158

@@ -173,7 +173,7 @@ plugins:
173173
** If {product-very-short} was installed using the Operator, modify your {product-very-short} custom resource (CR) instance.
174174
** If {product-very-short} was installed using the Helm charts, modify the *Deployment* specification.
175175

176-
. The system relies on three sidecar containers ({openshift-ai-connector-name}) running alongside the `backstage-backend` container. Add these sidecar containers to your configuration referencing the `rhdh-rhoai-bridge-token` Secret:
176+
. The system relies on three sidecar containers ({openshift-ai-connector-name}) running alongside the `backstage-backend` container. Add these sidecar containers to your configuration referencing the `rhdh-rhoai-connector-token` Secret:
177177
** `location`: Provides the REST API for {product-very-short} plugins to fetch model metadata.
178178
** `storage-rest`: Maintains a cache of AI Model metadata in a ConfigMap called `bac-import-model`.
179179
** `rhoai-normalizer`: Acts as a Kubernetes controller and {rhoai-short} client, normalizing {rhoai-short} metadata for the connector. The following code block is an example:
@@ -198,7 +198,7 @@ spec:
198198
fieldPath: metadata.namespace
199199
envFrom:
200200
- secretRef:
201-
name: rhdh-rhoai-bridge-token
201+
name: rhdh-rhoai-connector-token
202202
image: quay.io/redhat-ai-dev/model-catalog-location-service@sha256:4f6ab6624a29f627f9f861cfcd5d18177d46aa2c67a81a75a1502c49bc2ff012
203203
204204
imagePullPolicy: Always
@@ -228,7 +228,7 @@ spec:
228228
fieldPath: metadata.namespace
229229
envFrom:
230230
- secretRef:
231-
name: rhdh-rhoai-bridge-token
231+
name: rhdh-rhoai-connector-token
232232
image: quay.io/redhat-ai-dev/model-catalog-storage-rest@sha256:398095e7469e86d84b1196371286363f4b7668aa3e26370b4d78cb8d4ace1dc9
233233
234234
imagePullPolicy: Always
@@ -250,7 +250,7 @@ spec:
250250
fieldPath: metadata.namespace
251251
envFrom:
252252
- secretRef:
253-
name: rhdh-rhoai-bridge-token
253+
name: rhdh-rhoai-connector-token
254254
image: quay.io/redhat-ai-dev/model-catalog-rhoai-normalizer@sha256:fe6c05d57495d6217c4d584940ec552c3727847ff60f39f5d04f94be024576d8
255255
256256
imagePullPolicy: Always

modules/openshift-ai-connector-for-rhdh/ref-model-to-entity-mapping.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
[id="ref-model-to-entity-mapping_{context}"]
44
= Model-to-Entity mapping
55

6-
{openshift-ai-connector-name-short} integrates with {openshift-ai-connector-name-short}, the model catalog, and KServe-based Model Deployments (InferenceServices). This integration automatically converts your AI/ML artifacts into familiar {backstage} entities, simplifying management and providing a unified view of your models.
6+
Model-to-Entity mapping integrates with {openshift-ai-connector-name-short}, the model catalog, and KServe-based Model Deployments (InferenceServices). This integration automatically converts your AI/ML artifacts into familiar {backstage} entities, simplifying management and providing a unified view of your available AI models to your developer teams.
77

88
This offering interfaces with the {openshift-ai-connector-name-short}, model catalog, and KServe-based Model Deployments (InferenceServices) to create familiar {backstage} entities.
99

0 commit comments

Comments
 (0)