From f8ba54dca4f254dd809fa8bf7fb36cf383efbd58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Busse?= Date: Mon, 12 Feb 2024 18:11:06 +0100 Subject: [PATCH] Add manifests --- clusters/minikube/gtfso-import.yaml | 15 +++++++++++++++ clusters/minikube/gtfso-vbb.yaml | 15 +++++++++++++++ clusters/minikube/pgsql-ha.yaml | 16 ++++++++++++++++ clusters/minikube/prometheus-stack.yaml | 16 ++++++++++++++++ clusters/minikube/source_bitnami.yaml | 10 ++++++++++ clusters/minikube/source_e2m.yaml | 11 +++++++++++ clusters/minikube/source_prometheus.yaml | 9 +++++++++ clusters/minikube/source_spinnaker.yaml | 9 +++++++++ clusters/minikube/source_trivy.yaml | 9 +++++++++ clusters/minikube/spinnaker.yaml | 16 ++++++++++++++++ clusters/minikube/trivy.yaml | 16 ++++++++++++++++ 11 files changed, 142 insertions(+) create mode 100644 clusters/minikube/gtfso-import.yaml create mode 100644 clusters/minikube/gtfso-vbb.yaml create mode 100644 clusters/minikube/pgsql-ha.yaml create mode 100644 clusters/minikube/prometheus-stack.yaml create mode 100644 clusters/minikube/source_bitnami.yaml create mode 100644 clusters/minikube/source_e2m.yaml create mode 100644 clusters/minikube/source_prometheus.yaml create mode 100644 clusters/minikube/source_spinnaker.yaml create mode 100644 clusters/minikube/source_trivy.yaml create mode 100644 clusters/minikube/spinnaker.yaml create mode 100644 clusters/minikube/trivy.yaml diff --git a/clusters/minikube/gtfso-import.yaml b/clusters/minikube/gtfso-import.yaml new file mode 100644 index 0000000..a6abfc4 --- /dev/null +++ b/clusters/minikube/gtfso-import.yaml @@ -0,0 +1,15 @@ +--- +apiVersion: helm.toolkit.fluxcd.io/v2beta2 +kind: HelmRelease +metadata: + name: gtfso-import + namespace: app +spec: + chart: + spec: + chart: charts/gtfso-import + reconcileStrategy: ChartVersion + sourceRef: + kind: GitRepository + name: e2m + interval: 1m0s diff --git a/clusters/minikube/gtfso-vbb.yaml b/clusters/minikube/gtfso-vbb.yaml new file mode 100644 index 0000000..396d3ec --- /dev/null +++ b/clusters/minikube/gtfso-vbb.yaml @@ -0,0 +1,15 @@ +--- +apiVersion: helm.toolkit.fluxcd.io/v2beta2 +kind: HelmRelease +metadata: + name: gtfso-vbb + namespace: app +spec: + chart: + spec: + chart: charts/gtfso-vbb + reconcileStrategy: ChartVersion + sourceRef: + kind: GitRepository + name: e2m + interval: 1m0s diff --git a/clusters/minikube/pgsql-ha.yaml b/clusters/minikube/pgsql-ha.yaml new file mode 100644 index 0000000..f729760 --- /dev/null +++ b/clusters/minikube/pgsql-ha.yaml @@ -0,0 +1,16 @@ +--- +apiVersion: helm.toolkit.fluxcd.io/v2beta2 +kind: HelmRelease +metadata: + name: pgsql-ha + namespace: app +spec: + chart: + spec: + chart: postgresql-ha + reconcileStrategy: ChartVersion + sourceRef: + kind: HelmRepository + name: bitnami + version: 12.3.7 + interval: 1m0s diff --git a/clusters/minikube/prometheus-stack.yaml b/clusters/minikube/prometheus-stack.yaml new file mode 100644 index 0000000..cf17668 --- /dev/null +++ b/clusters/minikube/prometheus-stack.yaml @@ -0,0 +1,16 @@ +--- +apiVersion: helm.toolkit.fluxcd.io/v2beta2 +kind: HelmRelease +metadata: + name: prometheus + namespace: monitoring +spec: + chart: + spec: + chart: kube-prometheus-stack + reconcileStrategy: ChartVersion + sourceRef: + kind: HelmRepository + name: prometheus-community + version: 55.7.0 + interval: 1m0s diff --git a/clusters/minikube/source_bitnami.yaml b/clusters/minikube/source_bitnami.yaml new file mode 100644 index 0000000..9f437f4 --- /dev/null +++ b/clusters/minikube/source_bitnami.yaml @@ -0,0 +1,10 @@ +--- +apiVersion: source.toolkit.fluxcd.io/v1beta2 +kind: HelmRepository +metadata: + name: bitnami + namespace: app +spec: + interval: 1m0s + type: oci + url: oci://registry-1.docker.io/bitnamicharts diff --git a/clusters/minikube/source_e2m.yaml b/clusters/minikube/source_e2m.yaml new file mode 100644 index 0000000..3c65ee2 --- /dev/null +++ b/clusters/minikube/source_e2m.yaml @@ -0,0 +1,11 @@ +--- +apiVersion: source.toolkit.fluxcd.io/v1 +kind: GitRepository +metadata: + name: e2m + namespace: app +spec: + interval: 1m0s + ref: + branch: dev + url: https://git.e2m.io/mue/obch diff --git a/clusters/minikube/source_prometheus.yaml b/clusters/minikube/source_prometheus.yaml new file mode 100644 index 0000000..fd01cdc --- /dev/null +++ b/clusters/minikube/source_prometheus.yaml @@ -0,0 +1,9 @@ +--- +apiVersion: source.toolkit.fluxcd.io/v1beta2 +kind: HelmRepository +metadata: + name: prometheus-community + namespace: monitoring +spec: + interval: 1m0s + url: https://prometheus-community.github.io/helm-charts diff --git a/clusters/minikube/source_spinnaker.yaml b/clusters/minikube/source_spinnaker.yaml new file mode 100644 index 0000000..a6b98f6 --- /dev/null +++ b/clusters/minikube/source_spinnaker.yaml @@ -0,0 +1,9 @@ +--- +apiVersion: source.toolkit.fluxcd.io/v1beta2 +kind: HelmRepository +metadata: + name: armory + namespace: cicd +spec: + interval: 1m0s + url: https://armory.jfrog.io/artifactory/charts/ diff --git a/clusters/minikube/source_trivy.yaml b/clusters/minikube/source_trivy.yaml new file mode 100644 index 0000000..5b4cce6 --- /dev/null +++ b/clusters/minikube/source_trivy.yaml @@ -0,0 +1,9 @@ +--- +apiVersion: source.toolkit.fluxcd.io/v1beta2 +kind: HelmRepository +metadata: + name: aqua + namespace: security-scan +spec: + interval: 1m0s + url: https://aquasecurity.github.io/helm-charts/ diff --git a/clusters/minikube/spinnaker.yaml b/clusters/minikube/spinnaker.yaml new file mode 100644 index 0000000..7bd4715 --- /dev/null +++ b/clusters/minikube/spinnaker.yaml @@ -0,0 +1,16 @@ +--- +apiVersion: helm.toolkit.fluxcd.io/v2beta2 +kind: HelmRelease +metadata: + name: spinnaker + namespace: cicd +spec: + chart: + spec: + chart: armory-spinnaker-operator + reconcileStrategy: ChartVersion + sourceRef: + kind: HelmRepository + name: armory + version: 1.8.11 + interval: 1m0s diff --git a/clusters/minikube/trivy.yaml b/clusters/minikube/trivy.yaml new file mode 100644 index 0000000..7fb51ea --- /dev/null +++ b/clusters/minikube/trivy.yaml @@ -0,0 +1,16 @@ +--- +apiVersion: helm.toolkit.fluxcd.io/v2beta2 +kind: HelmRelease +metadata: + name: trivy + namespace: security-scan +spec: + chart: + spec: + chart: trivy-operator + reconcileStrategy: ChartVersion + sourceRef: + kind: HelmRepository + name: aqua + version: 0.18.4 + interval: 1m0s