put certjob to sync phase

This commit is contained in:
2024-03-16 13:03:06 +01:00
parent ac514578f3
commit b7eaa44d26

View File

@@ -3,7 +3,8 @@ kind: ServiceAccount
metadata:
name: zitadel-cert-creator
annotations:
argocd.argoproj.io/hook: PreSync
argocd.argoproj.io/hook: Sync
argocd.argoproj.io/sync-wave: "2"
---
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
@@ -19,7 +20,8 @@ kind: RoleBinding
metadata:
name: zitadel-cert-creator
annotations:
argocd.argoproj.io/hook: PreSync
argocd.argoproj.io/hook: Sync
argocd.argoproj.io/sync-wave: "2"
subjects:
- kind: ServiceAccount
name: zitadel-cert-creator
@@ -33,7 +35,8 @@ kind: Job
metadata:
name: create-zitadel-cert
annotations:
argocd.argoproj.io/hook: PreSync
argocd.argoproj.io/hook: Sync
argocd.argoproj.io/sync-wave: "2"
spec:
template:
spec: