ce7cb702218693d08ea6d83464d2457c9250027c
This commit is contained in:
commit
34c5f8963c
1 changed files with 145336 additions and 0 deletions
23
clusters/main/services/ca-sync.yaml
Normal file
23
clusters/main/services/ca-sync.yaml
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||
kind: Kustomization
|
||||
metadata:
|
||||
name: ca-sync
|
||||
namespace: flux-system
|
||||
spec:
|
||||
interval: 1m
|
||||
dependsOn:
|
||||
- name: platform-vault-config
|
||||
sourceRef:
|
||||
kind: GitRepository
|
||||
name: flux-system
|
||||
path: ./services/ca-sync
|
||||
prune: true
|
||||
wait: true
|
||||
timeout: 1m
|
||||
healthCheckExprs:
|
||||
- apiVersion: batch/v1
|
||||
kind: CronJob
|
||||
current: >-
|
||||
has(status.lastSuccessfulTime) &&
|
||||
(!has(status.lastScheduleTime) ||
|
||||
timestamp(status.lastSuccessfulTime) >= timestamp(status.lastScheduleTime))
|
||||
Loading…
Reference in a new issue