Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Normalize time values in Certificate resource #460

Merged
merged 1 commit into from
Sep 21, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions charts/moco/templates/certificate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions config/certmanager/grpc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down