feat(step-ca): update step-ca version from 0.29.0 to 0.30.2
update note: - step-ca container doesn't support $PWDPATH anymore - add --password-file argument to exec
This commit is contained in:
@@ -152,7 +152,7 @@ services:
|
|||||||
version:
|
version:
|
||||||
packages:
|
packages:
|
||||||
sops: "3.12.1"
|
sops: "3.12.1"
|
||||||
step: "0.29.0"
|
step: "0.30.2"
|
||||||
kopia: "0.22.3"
|
kopia: "0.22.3"
|
||||||
blocky: "0.28.2"
|
blocky: "0.28.2"
|
||||||
alloy: "1.13.0"
|
alloy: "1.13.0"
|
||||||
@@ -160,7 +160,7 @@ version:
|
|||||||
# common
|
# common
|
||||||
caddy: "2.11.2"
|
caddy: "2.11.2"
|
||||||
# infra
|
# infra
|
||||||
step: "0.29.0"
|
step: "0.30.2"
|
||||||
ldap: "v0.6.2"
|
ldap: "v0.6.2"
|
||||||
x509-exporter: "3.21.0"
|
x509-exporter: "3.21.0"
|
||||||
prometheus: "v3.9.1"
|
prometheus: "v3.9.1"
|
||||||
|
|||||||
@@ -22,10 +22,13 @@ Volume=%h/containers/ca/db:/home/step/db:rw
|
|||||||
Volume=%h/containers/ca/templates:/home/step/templates:rw
|
Volume=%h/containers/ca/templates:/home/step/templates:rw
|
||||||
|
|
||||||
Environment="TZ=Asia/Seoul"
|
Environment="TZ=Asia/Seoul"
|
||||||
Environment="PWDPATH=/run/secrets/STEP_CA_PASSWORD"
|
# Since 0.30.0, Docker CMD no longer expands PWDPATH.
|
||||||
|
#Environment="PWDPATH=/run/secrets/STEP_CA_PASSWORD"
|
||||||
|
|
||||||
Secret=STEP_CA_PASSWORD,target=/run/secrets/STEP_CA_PASSWORD
|
Secret=STEP_CA_PASSWORD,target=/run/secrets/STEP_CA_PASSWORD
|
||||||
|
|
||||||
|
Exec=/usr/local/bin/step-ca --password-file /run/secrets/STEP_CA_PASSWORD /home/step/config/ca.json
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=10s
|
RestartSec=10s
|
||||||
|
|||||||
Reference in New Issue
Block a user