Skip to content

Commit d21afe7

Browse files
varunrsekarshivamerla
authored andcommitted
entitystore controller unittests
Signed-off-by: Varun Ramachandra Sekar <[email protected]>
1 parent 388e400 commit d21afe7

File tree

6 files changed

+363
-22
lines changed

6 files changed

+363
-22
lines changed

api/apps/v1alpha1/nemo_entitystore_types.go

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,10 @@ const (
5454

5555
// NemoEntitystoreSpec defines the desired state of NemoEntitystore
5656
type NemoEntitystoreSpec struct {
57-
Image Image `json:"image,omitempty"`
58-
Command []string `json:"command,omitempty"`
59-
Args []string `json:"args,omitempty"`
60-
Env []corev1.EnvVar `json:"env,omitempty"`
61-
// The name of an secret that contains authn for the NGC NIM service API
62-
AuthSecret string `json:"authSecret"`
57+
Image Image `json:"image,omitempty"`
58+
Command []string `json:"command,omitempty"`
59+
Args []string `json:"args,omitempty"`
60+
Env []corev1.EnvVar `json:"env,omitempty"`
6361
Labels map[string]string `json:"labels,omitempty"`
6462
Annotations map[string]string `json:"annotations,omitempty"`
6563
NodeSelector map[string]string `json:"nodeSelector,omitempty"`

bundle/manifests/apps.nvidia.com_nemoentitystores.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,6 @@ spec:
5555
items:
5656
type: string
5757
type: array
58-
authSecret:
59-
description: The name of an secret that contains authn for the NGC
60-
NIM service API
61-
type: string
6258
command:
6359
items:
6460
type: string
@@ -2157,7 +2153,6 @@ spec:
21572153
format: int64
21582154
type: integer
21592155
required:
2160-
- authSecret
21612156
- databaseConfig
21622157
type: object
21632158
status:

config/crd/bases/apps.nvidia.com_nemoentitystores.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,6 @@ spec:
5555
items:
5656
type: string
5757
type: array
58-
authSecret:
59-
description: The name of an secret that contains authn for the NGC
60-
NIM service API
61-
type: string
6258
command:
6359
items:
6460
type: string
@@ -2157,7 +2153,6 @@ spec:
21572153
format: int64
21582154
type: integer
21592155
required:
2160-
- authSecret
21612156
- databaseConfig
21622157
type: object
21632158
status:

deployments/helm/k8s-nim-operator/crds/apps.nvidia.com_nemoentitystores.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,6 @@ spec:
5555
items:
5656
type: string
5757
type: array
58-
authSecret:
59-
description: The name of an secret that contains authn for the NGC
60-
NIM service API
61-
type: string
6258
command:
6359
items:
6460
type: string
@@ -2157,7 +2153,6 @@ spec:
21572153
format: int64
21582154
type: integer
21592155
required:
2160-
- authSecret
21612156
- databaseConfig
21622157
type: object
21632158
status:

0 commit comments

Comments
 (0)