From 421da8fcd54e1290450bfb9fa078b01146b4fa6c Mon Sep 17 00:00:00 2001 From: Konstantinos Samaras-Tsakiris <ksamtsak@gmail.com> Date: Thu, 3 Feb 2022 22:35:29 +0100 Subject: [PATCH] Argocd skip --- chart/drupal-operations/templates/clear-cache.yaml | 3 +++ chart/drupal-operations/templates/database-restore.yaml | 3 +++ chart/drupal-operations/templates/drupalsite-backup.yaml | 3 +++ chart/drupal-operations/templates/drupalsite-restore.yaml | 3 +++ 4 files changed, 12 insertions(+) diff --git a/chart/drupal-operations/templates/clear-cache.yaml b/chart/drupal-operations/templates/clear-cache.yaml index 36d16fb..8438d35 100644 --- a/chart/drupal-operations/templates/clear-cache.yaml +++ b/chart/drupal-operations/templates/clear-cache.yaml @@ -6,6 +6,9 @@ metadata: app: drupal annotations: argocd.argoproj.io/compare-options: IgnoreExtraneous + # ArgoCD needs to wait until the SupportedDrupalVersions CRD has been deployed by another ArgoCD application + # before creating this custom resource. + argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true spec: params: - name: drupalSite diff --git a/chart/drupal-operations/templates/database-restore.yaml b/chart/drupal-operations/templates/database-restore.yaml index 699426a..e3ff635 100644 --- a/chart/drupal-operations/templates/database-restore.yaml +++ b/chart/drupal-operations/templates/database-restore.yaml @@ -6,6 +6,9 @@ metadata: app: drupal annotations: argocd.argoproj.io/compare-options: IgnoreExtraneous + # ArgoCD needs to wait until the SupportedDrupalVersions CRD has been deployed by another ArgoCD application + # before creating this custom resource. + argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true spec: params: - name: drupalSite diff --git a/chart/drupal-operations/templates/drupalsite-backup.yaml b/chart/drupal-operations/templates/drupalsite-backup.yaml index 964d32a..03d9877 100644 --- a/chart/drupal-operations/templates/drupalsite-backup.yaml +++ b/chart/drupal-operations/templates/drupalsite-backup.yaml @@ -6,6 +6,9 @@ metadata: app: drupal annotations: argocd.argoproj.io/compare-options: IgnoreExtraneous + # ArgoCD needs to wait until the SupportedDrupalVersions CRD has been deployed by another ArgoCD application + # before creating this custom resource. + argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true spec: params: - name: drupalSite diff --git a/chart/drupal-operations/templates/drupalsite-restore.yaml b/chart/drupal-operations/templates/drupalsite-restore.yaml index a185c08..9831e85 100644 --- a/chart/drupal-operations/templates/drupalsite-restore.yaml +++ b/chart/drupal-operations/templates/drupalsite-restore.yaml @@ -6,6 +6,9 @@ metadata: app: drupal annotations: argocd.argoproj.io/compare-options: IgnoreExtraneous + # ArgoCD needs to wait until the SupportedDrupalVersions CRD has been deployed by another ArgoCD application + # before creating this custom resource. + argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true spec: params: - name: drupalSite -- GitLab