You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// setTargetCertKeyPairSecret creates a new cert/key pair and sets them in the secret. Only one of client, serving, or signer rotation may be specified.
236
236
// TODO refactor with an interface for actually signing and move the one-of check higher in the stack.
// durationRound formats a duration into a human-readable string.
9
+
// Unlike Go's built-in `time.Duration.String()`, which returns a string like "72h3m0s", this function returns a more concise format like "3d" or "2h30m".
10
+
// Implementation is taken from https://github.com/gomodules/sprig/blob/master/date.go#L97-L139
0 commit comments