Skip to content

Commit 9b1a018

Browse files
sync: update external libs (rh-ecosystem-edge#1009)
Co-authored-by: kononovn <[email protected]>
1 parent f4edd9f commit 9b1a018

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

pkg/schemes/argocd/argocdoperator/argocd_types.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,10 @@ type ArgoCDApplicationSet struct {
216216

217217
// VolumeMounts adds volumeMounts to the Argo CD ApplicationSet Controller container.
218218
VolumeMounts []corev1.VolumeMount `json:"volumeMounts,omitempty"`
219+
220+
// LogFormat refers to the log format used by the ApplicationSet component. Defaults to ArgoCDDefaultLogFormat if not configured. Valid options are text or json.
221+
// +kubebuilder:validation:Enum=text;json
222+
LogFormat string `json:"logformat,omitempty"`
219223
}
220224

221225
func (a *ArgoCDApplicationSet) IsEnabled() bool {
@@ -403,6 +407,10 @@ type ArgoCDNotifications struct {
403407

404408
// 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.
405409
LogLevel string `json:"logLevel,omitempty"`
410+
411+
// LogFormat refers to the log format used by the argocd-notifications. Defaults to ArgoCDDefaultLogFormat if not configured. Valid options are text or json.
412+
// +kubebuilder:validation:Enum=text;json
413+
LogFormat string `json:"logformat,omitempty"`
406414
}
407415

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

0 commit comments

Comments
 (0)