From af02e4e203fbb34d08aaee9f60ad7cc094baf07d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simen=20R=C3=B8stvik?= Date: Tue, 13 Dec 2022 17:23:17 +0100 Subject: [PATCH] apps --- apps/templates/metallb.yaml | 39 ++++++++++++++++++++++++++++++ apps/templates/metrics-server.yaml | 25 +++++++++++++++++++ 2 files changed, 64 insertions(+) create mode 100644 apps/templates/metallb.yaml create mode 100644 apps/templates/metrics-server.yaml diff --git a/apps/templates/metallb.yaml b/apps/templates/metallb.yaml new file mode 100644 index 0000000..0f1540b --- /dev/null +++ b/apps/templates/metallb.yaml @@ -0,0 +1,39 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: metallb + namespace: argo-cd + finalizers: + - resources-finalizer.argocd.argoproj.io +spec: + destination: + server: https://kubernetes.default.svc + namespace: metallb-system + project: default + source: + chart: metallb + + repoURL: https://metallb.github.io/metallb + targetRevision: 0.13.7 + + syncPolicy: + automated: + prune: true + selfHeal: true + syncOptions: + - CreateNamespace=true +--- +apiVersion: metallb.io/v1beta1 +kind: IPAddressPool +metadata: + name: first-pool + namespace: metallb-system +spec: + addresses: + - 10.0.2.40-10.0.2.50 +--- +apiVersion: metallb.io/v1beta1 +kind: L2Advertisement +metadata: + name: first-pool-advertisement + namespace: metallb-system diff --git a/apps/templates/metrics-server.yaml b/apps/templates/metrics-server.yaml new file mode 100644 index 0000000..e3a6ddc --- /dev/null +++ b/apps/templates/metrics-server.yaml @@ -0,0 +1,25 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: metrics-server + namespace: argo-cd + finalizers: + - resources-finalizer.argocd.argoproj.io +spec: + destination: + server: https://kubernetes.default.svc + namespace: kube-system + project: default + source: + chart: metrics-server + helm: + values: | + args: + - --kubelet-insecure-tls + repoURL: https://kubernetes-sigs.github.io/metrics-server/ + targetRevision: 3.8.2 + + syncPolicy: + automated: + prune: true + selfHeal: true \ No newline at end of file