We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bf23e49 commit 8fb2048Copy full SHA for 8fb2048
frontend/src/api/k8s/inferenceServices.ts
@@ -158,6 +158,9 @@ export const assembleInferenceService = (
158
if (!isModelMesh) {
159
predictor.minReplicas = minReplicas;
160
predictor.maxReplicas = maxReplicas;
161
+ if (imagePullSecrets) {
162
+ annotations['opendatahub.io/connection'] = dataConnectionKey;
163
+ }
164
predictor.imagePullSecrets = imagePullSecrets;
165
}
166
@@ -173,8 +176,10 @@ export const assembleInferenceService = (
173
176
delete model.storage;
174
177
} else {
175
178
delete model.storageUri;
179
+ if (dataConnectionKey) {
180
181
182
model.storage = {
- key: dataConnectionKey,
183
path,
184
};
185
0 commit comments