Skip to content

Commit dca71d7

Browse files
committed
Remove authSecret from NeMoDatastore spec
Signed-off-by: Sheng Lin <shelin@nvidia.com>
1 parent 4e06af5 commit dca71d7

4 files changed

Lines changed: 4 additions & 21 deletions

File tree

api/apps/v1alpha1/nemo_datastore_types.go

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

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

bundle/manifests/apps.nvidia.com_nemodatastores.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
@@ -2322,7 +2318,6 @@ spec:
23222318
format: int64
23232319
type: integer
23242320
required:
2325-
- authSecret
23262321
- databaseConfig
23272322
- expose
23282323
- image

config/crd/bases/apps.nvidia.com_nemodatastores.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
@@ -2322,7 +2318,6 @@ spec:
23222318
format: int64
23232319
type: integer
23242320
required:
2325-
- authSecret
23262321
- databaseConfig
23272322
- expose
23282323
- image

deployments/helm/k8s-nim-operator/crds/apps.nvidia.com_nemodatastores.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
@@ -2322,7 +2318,6 @@ spec:
23222318
format: int64
23232319
type: integer
23242320
required:
2325-
- authSecret
23262321
- databaseConfig
23272322
- expose
23282323
- image

0 commit comments

Comments
 (0)