Quicker renewals

This commit is contained in:
Sebastian Tiedtke 2019-03-06 15:47:30 -08:00
parent 4b4b0d6202
commit f47e356ba3
4 changed files with 6 additions and 6 deletions

View file

@ -14,8 +14,8 @@ spec:
spec: spec:
containers: containers:
- name: hello-mtls-client - name: hello-mtls-client
image: hello-mtls-client-node:latest image: sourishkrout/hello-mtls-client-node:latest
imagePullPolicy: Never imagePullPolicy: IfNotPresent
resources: {requests: {cpu: 10m, memory: 20Mi}} resources: {requests: {cpu: 10m, memory: 20Mi}}
env: env:
- name: HELLO_MTLS_URL - name: HELLO_MTLS_URL

View file

@ -28,6 +28,6 @@ spec:
spec: spec:
containers: containers:
- name: hello-mtls - name: hello-mtls
image: hello-mtls-server-node:latest image: sourishkrout/hello-mtls-server-node:latest
imagePullPolicy: Never imagePullPolicy: IfNotPresent
resources: {requests: {cpu: 10m, memory: 20Mi}} resources: {requests: {cpu: 10m, memory: 20Mi}}

View file

@ -25,7 +25,7 @@ data:
certLifetime: 24h certLifetime: 24h
renewer: renewer:
name: autocert-renewer name: autocert-renewer
image: smallstep/autocert-renewer:0.8.3 image: sourishkrout/autocert-renewer:dev
resources: {requests: {cpu: 10m, memory: 20Mi}} resources: {requests: {cpu: 10m, memory: 20Mi}}
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
volumeMounts: volumeMounts:

View file

@ -5,4 +5,4 @@ ENV CRT="/var/run/autocert.step.sm/site.crt"
ENV KEY="/var/run/autocert.step.sm/site.key" ENV KEY="/var/run/autocert.step.sm/site.key"
ENV STEP_ROOT="/var/run/autocert.step.sm/root.crt" 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"]