Skip to content

Commit

Permalink
Sadly we can't get rid of the extra provider-aws-config Argo App :(
Browse files Browse the repository at this point in the history
  • Loading branch information
jonashackt committed Jan 26, 2024
1 parent 9620301 commit 7fd1cf2
Show file tree
Hide file tree
Showing 7 changed files with 58 additions and 13 deletions.
29 changes: 29 additions & 0 deletions argocd/applications-eso/crossplane-provider-aws-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# The ArgoCD Application for all Crossplane AWS providers incl. it's ProviderConfig
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: provider-aws-config
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
annotations:
argocd.argoproj.io/sync-wave: "5"
spec:
project: default
source:
repoURL: https://github.com/jonashackt/crossplane-argocd
targetRevision: HEAD
path: upbound/provider-aws/config-eos
destination:
namespace: default
server: https://kubernetes.default.svc
syncPolicy:
automated:
prune: true
retry:
limit: 5
backoff:
duration: 5s
factor: 2
maxDuration: 1m
2 changes: 0 additions & 2 deletions argocd/applications-eso/crossplane-provider-aws.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ spec:
automated:
prune: true
retry:
# Using limit 5, so that the ProviderConfig can "wait" (via retry) for the Provider and it's CRDs to be deployed
# and not to run into 'The Kubernetes API could not find aws.upbound.io/ProviderConfig for requested resource default/default.'
limit: 5
backoff:
duration: 5s
Expand Down
29 changes: 29 additions & 0 deletions argocd/applications/crossplane-provider-aws-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# The ArgoCD Application for all Crossplane AWS providers incl. it's ProviderConfig
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: provider-aws-config
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
annotations:
argocd.argoproj.io/sync-wave: "3"
spec:
project: default
source:
repoURL: https://github.com/jonashackt/crossplane-argocd
targetRevision: HEAD
path: upbound/provider-aws/config
destination:
namespace: default
server: https://kubernetes.default.svc
syncPolicy:
automated:
prune: true
retry:
limit: 5
backoff:
duration: 5s
factor: 2
maxDuration: 1m
2 changes: 0 additions & 2 deletions argocd/applications/crossplane-provider-aws.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ spec:
automated:
prune: true
retry:
# Using limit 5, so that the ProviderConfig can "wait" (via retry) for the Provider and it's CRDs to be deployed
# and not to run into 'The Kubernetes API could not find aws.upbound.io/ProviderConfig for requested resource default/default.'
limit: 5
backoff:
duration: 5s
Expand Down
9 changes: 0 additions & 9 deletions upbound/provider-aws/provider-eos/provider-aws-s3.yaml

This file was deleted.

0 comments on commit 7fd1cf2

Please sign in to comment.