Skip to content

Commit bc2aa06

Browse files
committed
[OCTRL-1091] argsTransition param is optional
1 parent 1635a5e commit bc2aa06

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

control-operator/api/v1alpha1/environment_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ type TaskReference struct {
8282
Name string `json:"name"`
8383
Env []v1.EnvVar `json:"env"`
8484
ArgsCLI []string `json:"argsCLI"`
85-
ArgsTransition map[string]string `json:"argsTransition"`
85+
ArgsTransition map[string]string `json:"argsTransition,omitempty"`
8686
}
8787

8888
type TemplateSpecification struct {

control-operator/config/crd/bases/aliecs.alice.cern_environments.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4102,7 +4102,6 @@ spec:
41024102
type: string
41034103
required:
41044104
- argsCLI
4105-
- argsTransition
41064105
- env
41074106
- name
41084107
type: object

0 commit comments

Comments
 (0)