diff --git a/api/v1alpha2/mondooauditconfig_types.go b/api/v1alpha2/mondooauditconfig_types.go index a9d0df4a..8b6c2584 100644 --- a/api/v1alpha2/mondooauditconfig_types.go +++ b/api/v1alpha2/mondooauditconfig_types.go @@ -116,7 +116,7 @@ type Nodes struct { PriorityClassName string `json:"priorityClassName,omitempty"` // Env allows setting extra environment variables for the node scanner. If the operator sets already an env // variable with the same name, the value specified here will override it. - Env []corev1.EnvVar `json:"envVar,omitempty"` + Env []corev1.EnvVar `json:"env,omitempty"` } type Admission struct { @@ -148,7 +148,7 @@ type Containers struct { Schedule string `json:"schedule,omitempty"` // Env allows setting extra environment variables for the node scanner. If the operator sets already an env // variable with the same name, the value specified here will override it. - Env []corev1.EnvVar `json:"envVar,omitempty"` + Env []corev1.EnvVar `json:"env,omitempty"` } type Image struct { diff --git a/config/crd/bases/k8s.mondoo.com_mondooauditconfigs.yaml b/config/crd/bases/k8s.mondoo.com_mondooauditconfigs.yaml index 7ce7c1f9..4ab1e99f 100644 --- a/config/crd/bases/k8s.mondoo.com_mondooauditconfigs.yaml +++ b/config/crd/bases/k8s.mondoo.com_mondooauditconfigs.yaml @@ -99,7 +99,7 @@ spec: properties: enable: type: boolean - envVar: + env: description: |- Env allows setting extra environment variables for the node scanner. If the operator sets already an env variable with the same name, the value specified here will override it. @@ -343,7 +343,7 @@ spec: properties: enable: type: boolean - envVar: + env: description: |- Env allows setting extra environment variables for the node scanner. If the operator sets already an env variable with the same name, the value specified here will override it.