Skip to content

Commit 7d4a40c

Browse files
committed
fix: classify nvidia-rag-minimal component as vendor: nvidia
The nvidia-blueprint-rag component had no vendor field, defaulting to suse, so the operator ran the suse combined-secret injector instead of the nvidiaInjector. ngc-secret and ngc-api were never delivered, so rag-server hit CreateContainerConfigError (missing ngc-api) and rag-nv-ingest got 403/ImagePullBackOff pulling gated nvcr.io images. Set vendor: nvidia so the operator auto-creates and delivers both secrets; drop the now-obsolete manual-secret-creation instructions.
1 parent de7fef2 commit 7d4a40c

1 file changed

Lines changed: 11 additions & 20 deletions

File tree

charts/aif-operator/files/blueprints/nvidia-rag-minimal-2-5-0.yaml

Lines changed: 11 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -15,27 +15,18 @@ spec:
1515
- chartName: nvidia-blueprint-rag
1616
chartRepo: nvidia-blueprints
1717
chartVersion: v2.5.0
18+
# vendor: nvidia makes the operator's nvidiaInjector auto-create the
19+
# conventional ngc-secret (dockerconfigjson for nvcr.io) and ngc-api
20+
# (NGC_CLI_API_KEY/NGC_API_KEY/NVIDIA_API_KEY) in the release namespace from
21+
# the configured NVIDIA credentials, and deliver them to target clusters.
22+
# Without it the default suse combined-secret injector runs instead and the
23+
# create:false references below resolve to MISSING secrets — rag-server hits
24+
# CreateContainerConfigError on ngc-api and rag-nv-ingest gets
25+
# 403/ImagePullBackOff pulling gated nvcr.io images.
26+
vendor: nvidia
1827
values:
19-
# Reference pre-existing secrets instead of letting the chart create them
20-
# from inline passwords. Create both in the release namespace BEFORE
21-
# applying this Blueprint:
22-
#
23-
# NS=<release-namespace>
24-
# NGC_API_KEY=<your-nvapi-key>
25-
#
26-
# # 1. dockerconfigjson for pulling nvcr.io images
27-
# kubectl create secret docker-registry ngc-secret \
28-
# --docker-server=nvcr.io \
29-
# --docker-username='$oauthtoken' \
30-
# --docker-password="$NGC_API_KEY" \
31-
# -n "$NS"
32-
#
33-
# # 2. Opaque secret with the three key names the chart/NIMs expect
34-
# kubectl create secret generic ngc-api \
35-
# --from-literal=NGC_CLI_API_KEY="$NGC_API_KEY" \
36-
# --from-literal=NGC_API_KEY="$NGC_API_KEY" \
37-
# --from-literal=NVIDIA_API_KEY="$NGC_API_KEY" \
38-
# -n "$NS"
28+
# Reference the operator-delivered secrets (see vendor: nvidia above)
29+
# rather than letting the chart create its own from inline passwords.
3930
imagePullSecret:
4031
create: false
4132
name: ngc-secret

0 commit comments

Comments
 (0)