Skip to content

Commit

Permalink
entitystore controller unittests
Browse files Browse the repository at this point in the history
Signed-off-by: Varun Ramachandra Sekar <[email protected]>
  • Loading branch information
varunrsekar authored and shivamerla committed Jan 28, 2025
1 parent 388e400 commit 3445276
Show file tree
Hide file tree
Showing 6 changed files with 361 additions and 22 deletions.
10 changes: 4 additions & 6 deletions api/apps/v1alpha1/nemo_entitystore_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,10 @@ const (

// NemoEntitystoreSpec defines the desired state of NemoEntitystore
type NemoEntitystoreSpec struct {
Image Image `json:"image,omitempty"`
Command []string `json:"command,omitempty"`
Args []string `json:"args,omitempty"`
Env []corev1.EnvVar `json:"env,omitempty"`
// The name of an secret that contains authn for the NGC NIM service API
AuthSecret string `json:"authSecret"`
Image Image `json:"image,omitempty"`
Command []string `json:"command,omitempty"`
Args []string `json:"args,omitempty"`
Env []corev1.EnvVar `json:"env,omitempty"`
Labels map[string]string `json:"labels,omitempty"`
Annotations map[string]string `json:"annotations,omitempty"`
NodeSelector map[string]string `json:"nodeSelector,omitempty"`
Expand Down
5 changes: 0 additions & 5 deletions bundle/manifests/apps.nvidia.com_nemoentitystores.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,6 @@ spec:
items:
type: string
type: array
authSecret:
description: The name of an secret that contains authn for the NGC
NIM service API
type: string
command:
items:
type: string
Expand Down Expand Up @@ -2157,7 +2153,6 @@ spec:
format: int64
type: integer
required:
- authSecret
- databaseConfig
type: object
status:
Expand Down
5 changes: 0 additions & 5 deletions config/crd/bases/apps.nvidia.com_nemoentitystores.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,6 @@ spec:
items:
type: string
type: array
authSecret:
description: The name of an secret that contains authn for the NGC
NIM service API
type: string
command:
items:
type: string
Expand Down Expand Up @@ -2157,7 +2153,6 @@ spec:
format: int64
type: integer
required:
- authSecret
- databaseConfig
type: object
status:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,6 @@ spec:
items:
type: string
type: array
authSecret:
description: The name of an secret that contains authn for the NGC
NIM service API
type: string
command:
items:
type: string
Expand Down Expand Up @@ -2157,7 +2153,6 @@ spec:
format: int64
type: integer
required:
- authSecret
- databaseConfig
type: object
status:
Expand Down
Loading

0 comments on commit 3445276

Please sign in to comment.