diff --git a/gitops/components/multus/resources.yaml b/gitops/components/multus/resources.yaml index 7817f95..27e40d7 100644 --- a/gitops/components/multus/resources.yaml +++ b/gitops/components/multus/resources.yaml @@ -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 diff --git a/gitops/components/whereabouts/kustomization.yaml b/gitops/components/whereabouts/kustomization.yaml new file mode 100644 index 0000000..516562d --- /dev/null +++ b/gitops/components/whereabouts/kustomization.yaml @@ -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 + diff --git a/gitops/components/whereabouts/resources.yaml b/gitops/components/whereabouts/resources.yaml new file mode 100644 index 0000000..bcad418 --- /dev/null +++ b/gitops/components/whereabouts/resources.yaml @@ -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