Add sync waves to cert-manager

This commit is contained in:
Stefan Reimer 2020-07-16 14:09:00 +01:00
parent 62a528691a
commit 545ab623dc
2 changed files with 8 additions and 1 deletions

View File

@ -2,7 +2,7 @@ apiVersion: v2
name: kubezero-cert-manager name: kubezero-cert-manager
description: KubeZero Umbrella Chart for cert-manager description: KubeZero Umbrella Chart for cert-manager
type: application type: application
version: 0.3.4 version: 0.3.5
home: https://kubezero.com home: https://kubezero.com
icon: https://cdn.zero-downtime.net/assets/kubezero/logo-small-64.png icon: https://cdn.zero-downtime.net/assets/kubezero/logo-small-64.png
keywords: keywords:

View File

@ -2,6 +2,7 @@
{{- if .Values.localCA.selfsigning }} {{- if .Values.localCA.selfsigning }}
# KubeZero / Local cluster CA # KubeZero / Local cluster CA
# The resources are serialized via waves in Argo
apiVersion: cert-manager.io/v1alpha2 apiVersion: cert-manager.io/v1alpha2
kind: Issuer kind: Issuer
metadata: metadata:
@ -9,6 +10,8 @@ metadata:
namespace: kube-system namespace: kube-system
labels: labels:
{{ include "kubezero-lib.labels" . | indent 4 }} {{ include "kubezero-lib.labels" . | indent 4 }}
annotations:
argocd.argoproj.io/sync-wave: "10"
spec: spec:
selfSigned: {} selfSigned: {}
--- ---
@ -19,6 +22,8 @@ metadata:
namespace: kube-system namespace: kube-system
labels: labels:
{{ include "kubezero-lib.labels" . | indent 4 }} {{ include "kubezero-lib.labels" . | indent 4 }}
annotations:
argocd.argoproj.io/sync-wave: "11"
spec: spec:
secretName: kubezero-ca-tls secretName: kubezero-ca-tls
commonName: "kubezero-local-ca" commonName: "kubezero-local-ca"
@ -50,6 +55,8 @@ metadata:
namespace: kube-system namespace: kube-system
labels: labels:
{{ include "kubezero-lib.labels" . | indent 4 }} {{ include "kubezero-lib.labels" . | indent 4 }}
annotations:
argocd.argoproj.io/sync-wave: "12"
spec: spec:
ca: ca:
secretName: kubezero-ca-tls secretName: kubezero-ca-tls