Skip to content

Commit 2748af9

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

File tree

2 files changed

+45
-10
lines changed

2 files changed

+45
-10
lines changed

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

Lines changed: 43 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1381,14 +1381,7 @@ spec:
13811381
- '--leader-elect'
13821382
command:
13831383
- /manager
1384-
env:
1385-
- name: WATCH_NAMESPACE
1386-
- name: OPERATOR_NAMESPACE
1387-
valueFrom:
1388-
fieldRef:
1389-
apiVersion: v1
1390-
fieldPath: metadata.namespace
1391-
image: 'ghcr.io/nvidia/k8s-nim-operator:main'
1384+
clear image: 'ghcr.io/nvidia/k8s-nim-operator:main'
13921385
imagePullPolicy: Always
13931386
livenessProbe:
13941387
failureThreshold: 3
@@ -1445,3 +1438,45 @@ spec:
14451438
supported: false
14461439
- type: AllNamespaces
14471440
supported: true
1441+
webhookdefinitions:
1442+
- type: ValidatingAdmissionWebhook
1443+
admissionReviewVersions:
1444+
- v1
1445+
containerPort: 9443
1446+
targetPort: 9443
1447+
deploymentName: k8s-nim-operator
1448+
failurePolicy: Fail
1449+
generateName: vnimcache-v1alpha1.kb.io
1450+
rules:
1451+
- apiGroups:
1452+
- apps.nvidia.com
1453+
apiVersions:
1454+
- v1alpha1
1455+
operations:
1456+
- CREATE
1457+
- UPDATE
1458+
resources:
1459+
- nimcaches
1460+
sideEffects: None
1461+
webhookPath: /validate-apps-nvidia-com-v1alpha1-nimcache
1462+
- type: ValidatingAdmissionWebhook
1463+
admissionReviewVersions:
1464+
- v1
1465+
containerPort: 9443
1466+
targetPort: 9443
1467+
deploymentName: k8s-nim-operator
1468+
failurePolicy: Fail
1469+
generateName: vnimservice-v1alpha1.kb.io
1470+
rules:
1471+
- apiGroups:
1472+
- apps.nvidia.com
1473+
apiVersions:
1474+
- v1alpha1
1475+
operations:
1476+
- CREATE
1477+
- UPDATE
1478+
resources:
1479+
- nimservices
1480+
sideEffects: None
1481+
webhookPath: /validate-apps-nvidia-com-v1alpha1-nimservice
1482+

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)