Skip to content

Commit

Permalink
Adjusting Argo CD sync parameters for cnv/image-builder apps. (#140)
Browse files Browse the repository at this point in the history
  • Loading branch information
nasx authored Sep 20, 2021
1 parent 35e4a79 commit b12cc85
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,9 @@ spec:
automated:
prune: false
selfHeal: true
retry:
limit: 30
backoff:
duration: 20s
factor: 2
maxDuration: 20m
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,9 @@ spec:
automated:
prune: false
selfHeal: true
retry:
limit: 30
backoff:
duration: 20s
factor: 2
maxDuration: 20m
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
namespace: openshift-cnv
name: kubevirt-hyperconverged
annotations:
argocd.argoproj.io/sync-wave: "5"
argocd.argoproj.io/sync-wave: "1"
argocd.argoproj.io/compare-options: IgnoreExtraneous
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
deployOVS: "false"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ apiVersion: kubevirt.io/v1alpha3
kind: VirtualMachine
metadata:
annotations:
argocd.argoproj.io/sync-wave: "10"
argocd.argoproj.io/compare-options: IgnoreExtraneous
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
description: RHEL 8 With Image Builder
name.os.template.kubevirt.io/rhel8.3: Red Hat Enterprise Linux 8.0 or higher
name: image-builder
Expand Down Expand Up @@ -107,4 +110,4 @@ spec:
secretName: image-builder-ssh-key
- name: serviceaccount
serviceAccount:
serviceAccountName: rfe-automation
serviceAccountName: rfe-automation
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: batch/v1
kind: Job
metadata:
annotations:
argocd.argoproj.io/hook: Sync
argocd.argoproj.io/hook: PreSync
argocd.argoproj.io/hook-delete-policy: HookSucceeded
labels:
run: redhat-image-downloader-ansible-job
Expand Down Expand Up @@ -46,4 +46,4 @@ spec:
restartPolicy: OnFailure
serviceAccount: rfe-automation
serviceAccountName: rfe-automation
terminationGracePeriodSeconds: 30
terminationGracePeriodSeconds: 30

0 comments on commit b12cc85

Please sign in to comment.