Skip to content

Commit

Permalink
Apply changes requested
Browse files Browse the repository at this point in the history
Signed-off-by: Alvaro Neira Ayuso <[email protected]>
  • Loading branch information
alvneiayu committed Nov 7, 2024
1 parent a9cfbd9 commit b58e83a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/controller/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func bindControllerFlags(f *controller.Flags, fs *flag.FlagSet) {
fs.DurationVar(&f.KeyRenewPeriod, "rotate-period", defaultKeyRenewPeriod, "")
_ = fs.MarkDeprecated("rotate-period", "please use key-renew-period instead")

fs.IntVar(&f.MaxRetries, "max-retries", 5, "Max retries.")
fs.IntVar(&f.MaxRetries, "max-unseal-retries", 5, "Max unseal retries.")
}

func bindFlags(f *controller.Flags, fs *flag.FlagSet, gofs *goflag.FlagSet) {
Expand Down
2 changes: 1 addition & 1 deletion helm/sealed-secrets/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ spec:
- {{ printf ":%s" (.Values.containerPorts.metrics | toString) }}
{{- end }}
{{- if .Values.maxRetries }}
- --max-retries
- --max-unseal-retries
- {{ .Values.maxRetries | quote }}
{{- end }}
{{- end }}
Expand Down

0 comments on commit b58e83a

Please sign in to comment.