Skip to content

Commit

Permalink
feat: pull whereabouts into it's down application deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
josmo committed Feb 14, 2024
1 parent dc47f8c commit 2d02280
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 29 deletions.
29 changes: 0 additions & 29 deletions gitops/components/multus/resources.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,32 +17,3 @@ spec:
repoURL: 'https://github.com/pelotech/foundation'
path: 'gitops/components/multus/kustomize'
targetRevision: main
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: whereabouts
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: admins
destination:
namespace: kube-system
name: in-cluster
syncPolicy:
automated: {}
source:
chart: whereabouts
repoURL: registry-1.docker.io/bitnamicharts
targetRevision: 0.5.11
helm:
releaseName: whereabouts
valuesObject:
tolerations:
- key: CriticalAddonsOnly
operator: Exists
- key: nidhogg.uswitch.com/kube-system.kube-multus-ds
operator: Exists
- key: pelo.tech/uki-labs
operator: Exists
17 changes: 17 additions & 0 deletions gitops/components/whereabouts/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
apiVersion: kustomize.config.k8s.io/v1alpha1
kind: Component

resources:
- ./resources.yaml

patches:
- target:
group: argoproj.io
version: v1alpha1
kind: AppProject
name: admins
patch: |-
- op: add
path: /spec/sourceRepos/-
value: registry-1.docker.io/bitnamicharts
29 changes: 29 additions & 0 deletions gitops/components/whereabouts/resources.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: whereabouts
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: admins
destination:
namespace: kube-system
name: in-cluster
syncPolicy:
automated: {}
source:
chart: whereabouts
repoURL: registry-1.docker.io/bitnamicharts
targetRevision: 0.10.2
helm:
releaseName: whereabouts
valuesObject:
tolerations:
- key: CriticalAddonsOnly
operator: Exists
- key: nidhogg.uswitch.com/kube-system.kube-multus-ds
operator: Exists
- key: pelo.tech/uki-labs
operator: Exists

0 comments on commit 2d02280

Please sign in to comment.