Skip to content

Commit 5e853a1

Browse files
authored
fix: Fix typo in operator's arguments (#261)
Operator's arguments changed from `--eanble-services` to `--enable-services`. trustyai.opendatahub.io_lmevaljobs.yaml and zz_generated.deepcopy.go regenerated.
1 parent 7e1a712 commit 5e853a1

File tree

3 files changed

+98
-1
lines changed

3 files changed

+98
-1
lines changed

api/lmes/v1alpha1/zz_generated.deepcopy.go

+23
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/crd/bases/trustyai.opendatahub.io_lmevaljobs.yaml

+74
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,80 @@ spec:
6868
- env
6969
type: object
7070
type: array
71+
fileSecrets:
72+
description: Use secrets as files
73+
items:
74+
properties:
75+
mountPath:
76+
description: The path to mount the secret
77+
type: string
78+
secretRef:
79+
description: The secret object
80+
properties:
81+
defaultMode:
82+
description: 'defaultMode is Optional: mode bits used to
83+
set permissions on created files by default. Must be an
84+
octal value between 0000 and 0777 or a decimal value between
85+
0 and 511. YAML accepts both octal and decimal values,
86+
JSON requires decimal values for mode bits. Defaults to
87+
0644. Directories within the path are not affected by
88+
this setting. This might be in conflict with other options
89+
that affect the file mode, like fsGroup, and the result
90+
can be other mode bits set.'
91+
format: int32
92+
type: integer
93+
items:
94+
description: items If unspecified, each key-value pair in
95+
the Data field of the referenced Secret will be projected
96+
into the volume as a file whose name is the key and content
97+
is the value. If specified, the listed keys will be projected
98+
into the specified paths, and unlisted keys will not be
99+
present. If a key is specified which is not present in
100+
the Secret, the volume setup will error unless it is marked
101+
optional. Paths must be relative and may not contain the
102+
'..' path or start with '..'.
103+
items:
104+
description: Maps a string key to a path within a volume.
105+
properties:
106+
key:
107+
description: key is the key to project.
108+
type: string
109+
mode:
110+
description: 'mode is Optional: mode bits used to
111+
set permissions on this file. Must be an octal value
112+
between 0000 and 0777 or a decimal value between
113+
0 and 511. YAML accepts both octal and decimal values,
114+
JSON requires decimal values for mode bits. If not
115+
specified, the volume defaultMode will be used.
116+
This might be in conflict with other options that
117+
affect the file mode, like fsGroup, and the result
118+
can be other mode bits set.'
119+
format: int32
120+
type: integer
121+
path:
122+
description: path is the relative path of the file
123+
to map the key to. May not be an absolute path.
124+
May not contain the path element '..'. May not start
125+
with the string '..'.
126+
type: string
127+
required:
128+
- key
129+
- path
130+
type: object
131+
type: array
132+
optional:
133+
description: optional field specify whether the Secret or
134+
its keys must be defined
135+
type: boolean
136+
secretName:
137+
description: 'secretName is the name of the secret in the
138+
pod''s namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret'
139+
type: string
140+
type: object
141+
required:
142+
- mountPath
143+
type: object
144+
type: array
71145
genArgs:
72146
description: Map to `--gen_kwargs` parameter for the underlying library.
73147
items:

config/manager/manager.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ spec:
3232
- /manager
3333
args:
3434
- --leader-elect
35-
- --eanble-services
35+
- --enable-services
3636
- TAS
3737
image: $(trustyaiOperatorImage)
3838
name: manager

0 commit comments

Comments
 (0)