From 22eb1a2fea8fa8be3d0a758639077730aeadb9e9 Mon Sep 17 00:00:00 2001 From: Masayuki Ishii Date: Tue, 20 Sep 2022 08:57:53 +0000 Subject: [PATCH] Normalize time values in Certificate resource Signed-off-by: Masayuki Ishii --- charts/moco/templates/certificate.yaml | 4 ++-- config/certmanager/grpc.yaml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/charts/moco/templates/certificate.yaml b/charts/moco/templates/certificate.yaml index cc9253d7a..3bfa7c897 100644 --- a/charts/moco/templates/certificate.yaml +++ b/charts/moco/templates/certificate.yaml @@ -25,12 +25,12 @@ metadata: {{- include "moco.labels" . | nindent 4 }} spec: commonName: MOCO gRPC CA - duration: 87600h + duration: 87600h0m0s isCA: true issuerRef: kind: Issuer name: moco-selfsigned-issuer - renewBefore: 720h + renewBefore: 720h0m0s secretName: moco-grpc-ca --- apiVersion: cert-manager.io/v1 diff --git a/config/certmanager/grpc.yaml b/config/certmanager/grpc.yaml index 0b73a0633..0bd8bc307 100644 --- a/config/certmanager/grpc.yaml +++ b/config/certmanager/grpc.yaml @@ -8,8 +8,8 @@ metadata: spec: commonName: MOCO gRPC CA isCA: true - duration: 87600h # 10 years - renewBefore: 720h # 30 days + duration: 87600h0m0s # 10 years + renewBefore: 720h0m0s # 30 days issuerRef: kind: Issuer name: selfsigned-issuer