Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Dominik Rosiek <[email protected]>
  • Loading branch information
Frapschen and sumo-drosiek committed Jun 27, 2023
1 parent a72d525 commit 52a3d48
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion helm/tailing-sidecar-operator/conf/operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ sidecar:
leaderElection:
leaseDuration: {{ .Values.operator.leaderElection.leaseDuration }}
renewDeadline: {{ .Values.operator.leaderElection.renewDeadline }}
retryPeriod: {{ .Values.operator.leaderElection.retryPeriod }}
retryPeriod: {{ .Values.operator.leaderElection.retryPeriod }}
1 change: 1 addition & 0 deletions operator/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ func ReadConfig(configPath string) (Config, error) {
Sidecar: SidecarConfig{
Image: "sumologic/tailing-sidecar:latest",
},
// reference for values: https://github.com/open-telemetry/opentelemetry-operator/blob/a8653601cd6a6e2b35fd7f3e1a28b4e9608fb794/main.go#L181
leaderElection: leaderElectionConfig{
LeaseDuration: time.Second * 137,
RenewDeadline: time.Second * 107,
Expand Down

0 comments on commit 52a3d48

Please sign in to comment.