default-ttl is not applied for the initially created certificates
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
vault-charm |
Triaged
|
Low
|
Unassigned |
Bug Description
With the following example bundle, I have set the default-ttl to 43800 hours, which is 5 years,
however certificate in keystone will be created with an expiration date for 1 year.
series: bionic
applications:
keystone:
charm: cs:keystone
num_units: 1
options:
worker-
os-
os-
os-
mysql:
charm: cs:percona-cluster
num_units: 1
options:
innodb-
performan
max-
vault:
charm: cs:vault
num_units: 1
options:
auto-
totally-
default-ttl: 43800h
relations:
- [ keystone, mysql ]
- [ "vault:shared-db", "mysql:shared-db"]
- ["vault:
The bundle uses totally-
The workaround, for now, is to run the following after deployment is completed.
$ juju run-action --wait vault/leader reissue-
Changed in vault-charm: | |
importance: | Undecided → Low |
status: | New → Triaged |