-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fully separated App-of-Apps now for crossplane with and without Exter…
…nal Secrets Operator for later clarity in blogs etc.
- Loading branch information
1 parent
b4f1ed8
commit 6e25dda
Showing
15 changed files
with
159 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# The ArgoCD Application for crossplane core components themselves | ||
--- | ||
apiVersion: argoproj.io/v1alpha1 | ||
kind: Application | ||
metadata: | ||
name: crossplane-core | ||
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: crossplane | ||
destination: | ||
server: https://kubernetes.default.svc | ||
namespace: crossplane-system | ||
syncPolicy: | ||
automated: | ||
prune: true | ||
syncOptions: | ||
- CreateNamespace=true | ||
retry: | ||
limit: 1 | ||
backoff: | ||
duration: 5s | ||
factor: 2 | ||
maxDuration: 1m |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: crossplane-helm-repo | ||
namespace: argocd | ||
labels: | ||
argocd.argoproj.io/secret-type: repository | ||
annotations: | ||
argocd.argoproj.io/sync-wave: "2" | ||
stringData: | ||
name: crossplane | ||
url: https://charts.crossplane.io/stable | ||
type: helm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# The ArgoCD Application for all Crossplane AWS providers incl. it's ProviderConfig | ||
--- | ||
apiVersion: argoproj.io/v1alpha1 | ||
kind: Application | ||
metadata: | ||
name: provider-aws | ||
namespace: argocd | ||
finalizers: | ||
- resources-finalizer.argocd.argoproj.io | ||
annotations: | ||
argocd.argoproj.io/sync-wave: "4" | ||
spec: | ||
project: default | ||
source: | ||
repoURL: https://github.com/jonashackt/crossplane-argocd | ||
targetRevision: HEAD | ||
path: upbound/provider-aws/provider-eos | ||
destination: | ||
namespace: default | ||
server: https://kubernetes.default.svc | ||
# Using syncPolicy.automated here, otherwise the deployement of our Crossplane provider will fail with | ||
# 'Resource not found in cluster: pkg.crossplane.io/v1/Provider:provider-aws-s3' | ||
syncPolicy: | ||
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 | ||
factor: 2 | ||
maxDuration: 1m |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# The ArgoCD App of Apps for all Crossplane components | ||
--- | ||
apiVersion: argoproj.io/v1alpha1 | ||
kind: Application | ||
metadata: | ||
name: crossplane | ||
namespace: argocd | ||
finalizers: | ||
- resources-finalizer.argocd.argoproj.io | ||
spec: | ||
project: default | ||
source: | ||
repoURL: https://github.com/jonashackt/crossplane-argocd | ||
targetRevision: HEAD | ||
path: argocd/applications-eso | ||
destination: | ||
server: https://kubernetes.default.svc | ||
namespace: crossplane-system | ||
syncPolicy: | ||
automated: | ||
prune: true | ||
syncOptions: | ||
- CreateNamespace=true | ||
retry: | ||
limit: 1 | ||
backoff: | ||
duration: 5s | ||
factor: 2 | ||
maxDuration: 1m |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
apiVersion: pkg.crossplane.io/v1 | ||
kind: Provider | ||
metadata: | ||
name: provider-aws-s3 | ||
spec: | ||
package: xpkg.upbound.io/upbound/provider-aws-s3:v0.46.0 | ||
packagePullPolicy: Always | ||
revisionActivationPolicy: Automatic | ||
revisionHistoryLimit: 1 |
11 changes: 11 additions & 0 deletions
11
upbound/provider-aws/provider-eos/provider-config-aws.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
apiVersion: aws.upbound.io/v1beta1 | ||
kind: ProviderConfig | ||
metadata: | ||
name: default | ||
spec: | ||
credentials: | ||
source: Secret | ||
secretRef: | ||
namespace: external-secrets | ||
name: aws-secrets-from-doppler | ||
key: creds |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters