Skip to content

Commit 3aee01b

Browse files
committed
Configured OLM deployment in CSV. Corrected bundle.Dockerfile.
Signed-off-by: Aryan <gorwadearyan@gmail.com>
1 parent 4e50b45 commit 3aee01b

File tree

2 files changed

+46
-2
lines changed

2 files changed

+46
-2
lines changed

bundle/manifests/k8s-nim-operator.clusterserviceversion.yaml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1388,6 +1388,8 @@ spec:
13881388
fieldRef:
13891389
apiVersion: v1
13901390
fieldPath: metadata.namespace
1391+
- name: ENABLE_WEBHOOKS
1392+
value: "true"
13911393
image: 'ghcr.io/nvidia/k8s-nim-operator:main'
13921394
imagePullPolicy: Always
13931395
livenessProbe:
@@ -1445,3 +1447,45 @@ spec:
14451447
supported: false
14461448
- type: AllNamespaces
14471449
supported: true
1450+
webhookdefinitions:
1451+
- type: ValidatingAdmissionWebhook
1452+
admissionReviewVersions:
1453+
- v1
1454+
containerPort: 9443
1455+
targetPort: 9443
1456+
deploymentName: k8s-nim-operator
1457+
failurePolicy: Fail
1458+
generateName: vnimcache-v1alpha1.kb.io
1459+
rules:
1460+
- apiGroups:
1461+
- apps.nvidia.com
1462+
apiVersions:
1463+
- v1alpha1
1464+
operations:
1465+
- CREATE
1466+
- UPDATE
1467+
resources:
1468+
- nimcaches
1469+
sideEffects: None
1470+
webhookPath: /validate-apps-nvidia-com-v1alpha1-nimcache
1471+
- type: ValidatingAdmissionWebhook
1472+
admissionReviewVersions:
1473+
- v1
1474+
containerPort: 9443
1475+
targetPort: 9443
1476+
deploymentName: k8s-nim-operator
1477+
failurePolicy: Fail
1478+
generateName: vnimservice-v1alpha1.kb.io
1479+
rules:
1480+
- apiGroups:
1481+
- apps.nvidia.com
1482+
apiVersions:
1483+
- v1alpha1
1484+
operations:
1485+
- CREATE
1486+
- UPDATE
1487+
resources:
1488+
- nimservices
1489+
sideEffects: None
1490+
webhookPath: /validate-apps-nvidia-com-v1alpha1-nimservice
1491+

deployments/container/bundle.Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ LABEL com.redhat.delivery.operator.bundle=true
2222
LABEL com.redhat.delivery.backport=false
2323
LABEL vsc-ref=${GIT_COMMIT}
2424

25-
COPY bundle/${VERSION}/manifests /manifests/
26-
COPY bundle/${VERSION}/metadata /metadata/
25+
COPY bundle/manifests /manifests/
26+
COPY bundle/metadata /metadata/
2727
COPY bundle/tests/scorecard /tests/scorecard/

0 commit comments

Comments
 (0)