forked from TrueCloudLab/certificates
Quicker renewals
This commit is contained in:
parent
4b4b0d6202
commit
f47e356ba3
4 changed files with 6 additions and 6 deletions
|
@ -14,8 +14,8 @@ spec:
|
|||
spec:
|
||||
containers:
|
||||
- name: hello-mtls-client
|
||||
image: hello-mtls-client-node:latest
|
||||
imagePullPolicy: Never
|
||||
image: sourishkrout/hello-mtls-client-node:latest
|
||||
imagePullPolicy: IfNotPresent
|
||||
resources: {requests: {cpu: 10m, memory: 20Mi}}
|
||||
env:
|
||||
- name: HELLO_MTLS_URL
|
||||
|
|
|
@ -28,6 +28,6 @@ spec:
|
|||
spec:
|
||||
containers:
|
||||
- name: hello-mtls
|
||||
image: hello-mtls-server-node:latest
|
||||
imagePullPolicy: Never
|
||||
image: sourishkrout/hello-mtls-server-node:latest
|
||||
imagePullPolicy: IfNotPresent
|
||||
resources: {requests: {cpu: 10m, memory: 20Mi}}
|
||||
|
|
|
@ -25,7 +25,7 @@ data:
|
|||
certLifetime: 24h
|
||||
renewer:
|
||||
name: autocert-renewer
|
||||
image: smallstep/autocert-renewer:0.8.3
|
||||
image: sourishkrout/autocert-renewer:dev
|
||||
resources: {requests: {cpu: 10m, memory: 20Mi}}
|
||||
imagePullPolicy: IfNotPresent
|
||||
volumeMounts:
|
||||
|
|
|
@ -5,4 +5,4 @@ ENV CRT="/var/run/autocert.step.sm/site.crt"
|
|||
ENV KEY="/var/run/autocert.step.sm/site.key"
|
||||
ENV STEP_ROOT="/var/run/autocert.step.sm/root.crt"
|
||||
|
||||
ENTRYPOINT ["/bin/bash", "-c", "step ca renew --daemon $CRT $KEY"]
|
||||
ENTRYPOINT ["/bin/bash", "-c", "step ca renew --daemon --renew-period 2m $CRT $KEY"]
|
||||
|
|
Loading…
Reference in a new issue