Skip to content

Commit f907834

Browse files
committed
feat(argocd): switch to kustomize for crossplane-system app
Replaced directory recurse config with `kustomize` in ArgoCD Application. Added base `kustomization.yaml` to manage Crossplane manifests with Kustomize.
1 parent 069343a commit f907834

File tree

2 files changed

+17
-4
lines changed

2 files changed

+17
-4
lines changed

argocd/crossplane-system.yaml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,9 @@ spec:
77
project: default
88
source:
99
repoURL: "git@github.com:wnqueiroz/platform-engineering-backstack.git"
10-
targetRevision: main
10+
targetRevision: feature-argocd # TODO: change to main
1111
path: crossplane
12-
directory:
13-
recurse: true
12+
kustomize: {}
1413
destination:
1514
server: https://kubernetes.default.svc
1615
namespace: crossplane-system
@@ -28,6 +27,10 @@ spec:
2827
maxDuration: 1m
2928
ignoreDifferences:
3029
- group: "hooli.tech"
31-
kind: "NoSQL"
30+
kind: "XQueueClaim"
31+
jsonPointers:
32+
- "/metadata"
33+
- group: "hooli.tech"
34+
kind: "XQueue"
3235
jsonPointers:
3336
- "/metadata"

crossplane/kustomization.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
apiVersion: kustomize.config.k8s.io/v1
2+
kind: Kustomization
3+
4+
resources:
5+
- providers
6+
- providers-config
7+
- functions
8+
- compositions/aws
9+
- xrds
10+
- claims

0 commit comments

Comments
 (0)