From 325cd9eb9ceab7850637cdfabc3807030a311b49 Mon Sep 17 00:00:00 2001 From: Muse Mulatu Date: Mon, 23 Sep 2024 14:36:10 -0600 Subject: [PATCH 1/2] feat: add initial support for PerfectScale --- index.yaml | 7 +++++ perfectscale/components/application.yaml | 31 ++++++++++++++++++++ perfectscale/components/external-secret.yaml | 16 ++++++++++ perfectscale/perfectscale.yaml | 25 ++++++++++++++++ 4 files changed, 79 insertions(+) create mode 100644 perfectscale/components/application.yaml create mode 100644 perfectscale/components/external-secret.yaml create mode 100644 perfectscale/perfectscale.yaml diff --git a/index.yaml b/index.yaml index 597bf36..4ef4f2b 100644 --- a/index.yaml +++ b/index.yaml @@ -148,6 +148,13 @@ apps: description: "Polaris is an open source policy engine for Kubernetes." category: Security + - name: perfectscale + displayName: PerfectScale + website: "https://www.perfectscale.io/" + imageUrl: "" + description: "" + category: Architecture + - name: stormforge-agent displayName: Stormforge Agent website: "https://stormforge.io" diff --git a/perfectscale/components/application.yaml b/perfectscale/components/application.yaml new file mode 100644 index 0000000..970598f --- /dev/null +++ b/perfectscale/components/application.yaml @@ -0,0 +1,31 @@ +--- +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: -perfectscale + namespace: argocd + finalizers: + - resources-finalizer.argocd.argoproj.io +spec: + destination: + namespace: perfectscale + name: + project: + source: + chart: exporter + repoURL: https://perfectscale-io.github.io + targetRevision: v1.0.39 + helm: + releaseName: perfectscale + values: | + secret: + create: false + name: "perfectscale-secret" + settings: + clusterName: + syncPolicy: + automated: + prune: true + selfHeal: true + syncOptions: + - CreateNamespace=true diff --git a/perfectscale/components/external-secret.yaml b/perfectscale/components/external-secret.yaml new file mode 100644 index 0000000..0732f7d --- /dev/null +++ b/perfectscale/components/external-secret.yaml @@ -0,0 +1,16 @@ +--- +apiVersion: external-secrets.io/v1beta1 +kind: ExternalSecret +metadata: + name: -perfectscale-secret + namespace: perfectscale +spec: + target: + name: perfectscale-secret + secretStoreRef: + kind: ClusterSecretStore + name: vault-kv-secret + refreshInterval: "10s" + dataFrom: + - extract: + key: /perfectscale diff --git a/perfectscale/perfectscale.yaml b/perfectscale/perfectscale.yaml new file mode 100644 index 0000000..fbc7e0c --- /dev/null +++ b/perfectscale/perfectscale.yaml @@ -0,0 +1,25 @@ +--- +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: -perfectscale-components + namespace: argocd + annotations: + argocd.argoproj.io/sync-wave: '100' + finalizers: + - resources-finalizer.argocd.argoproj.io +spec: + project: default + source: + repoURL: + path: /components/perfectscale + targetRevision: HEAD + destination: + name: in-cluster + namespace: perfectscale + syncPolicy: + automated: + prune: true + selfHeal: true + syncOptions: + - CreateNamespace=true From c374a11204897425149e9b658bb3bae085a02a5e Mon Sep 17 00:00:00 2001 From: Muse Mulatu Date: Mon, 23 Sep 2024 15:00:40 -0600 Subject: [PATCH 2/2] feat: add logo and description for perfectscale --- index.yaml | 4 ++-- logos/perfectscale.svg | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 logos/perfectscale.svg diff --git a/index.yaml b/index.yaml index 4ef4f2b..f6ae5b2 100644 --- a/index.yaml +++ b/index.yaml @@ -151,8 +151,8 @@ apps: - name: perfectscale displayName: PerfectScale website: "https://www.perfectscale.io/" - imageUrl: "" - description: "" + imageUrl: "https://raw.githubusercontent.com/kubefirst/gitops-catalog/main/logos/perfectscale.svg" + description: "Effortlessly right-size and right-scale your Kubernetes environment" category: Architecture - name: stormforge-agent diff --git a/logos/perfectscale.svg b/logos/perfectscale.svg new file mode 100644 index 0000000..c32da11 --- /dev/null +++ b/logos/perfectscale.svg @@ -0,0 +1 @@ + \ No newline at end of file