Skip to content

Commit 6956d89

Browse files
sync: update external libs (#1332)
Co-authored-by: kononovn <10511306+kononovn@users.noreply.github.com>
1 parent 1fe87bd commit 6956d89

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

pkg/schemes/argocd/argocdoperator/argocd_types.go

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,9 +217,12 @@ type ArgoCDApplicationSet struct {
217217
// VolumeMounts adds volumeMounts to the Argo CD ApplicationSet Controller container.
218218
VolumeMounts []corev1.VolumeMount `json:"volumeMounts,omitempty"`
219219

220+
// Deprecated: use LogFormat instead.
221+
Logformat string `json:"logformat,omitempty"`
222+
220223
// LogFormat refers to the log format used by the ApplicationSet component. Defaults to ArgoCDDefaultLogFormat if not configured. Valid options are text or json.
221224
// +kubebuilder:validation:Enum=text;json
222-
LogFormat string `json:"logformat,omitempty"`
225+
LogFormat string `json:"logFormat,omitempty"`
223226
}
224227

225228
func (a *ArgoCDApplicationSet) IsEnabled() bool {
@@ -429,9 +432,12 @@ type ArgoCDNotifications struct {
429432
// LogLevel describes the log level that should be used by the argocd-notifications. Defaults to ArgoCDDefaultLogLevel if not set. Valid options are debug,info, error, and warn.
430433
LogLevel string `json:"logLevel,omitempty"`
431434

435+
// Deprecated: use LogFormat instead.
436+
Logformat string `json:"logformat,omitempty"`
437+
432438
// LogFormat refers to the log format used by the argocd-notifications. Defaults to ArgoCDDefaultLogFormat if not configured. Valid options are text or json.
433439
// +kubebuilder:validation:Enum=text;json
434-
LogFormat string `json:"logformat,omitempty"`
440+
LogFormat string `json:"logFormat,omitempty"`
435441
}
436442

437443
// ArgoCDPrometheusSpec defines the desired state for the Prometheus component.

0 commit comments

Comments
 (0)