Skip to content

Commit

Permalink
Fix pattern: regex to support days (d)
Browse files Browse the repository at this point in the history
While Vault API supports setting ttl and expiryOffset with d suffix CRD is not supporting that.
  • Loading branch information
0megam authored Nov 27, 2024
1 parent 6ab056c commit bd69135
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chart/crds/secrets.hashicorp.com_vaultpkisecrets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ spec:
ExpiryOffset to use for computing when the certificate should be renewed.
The rotation time will be difference between the expiration and the offset.
Should be in duration notation e.g. 30s, 120s, etc.
pattern: ^([0-9]+(\.[0-9]+)?(s|m|h))$
pattern: ^([0-9]+(\.[0-9]+)?(s|m|h|d))$
type: string
format:
description: |-
Expand Down Expand Up @@ -316,7 +316,7 @@ spec:
Note: this only has an effect when generating a CA cert or signing a CA cert,
not when generating a CSR for an intermediate CA.
Should be in duration notation e.g. 120s, 2h, etc.
pattern: ^([0-9]+(\.[0-9]+)?(s|m|h))$
pattern: ^([0-9]+(\.[0-9]+)?(s|m|h|d))$
type: string
uriSans:
description: The requested URI SANs.
Expand Down

0 comments on commit bd69135

Please sign in to comment.