feat: migrate elastic-system to ArgoCD
Migrate ECK operator from Terragrunt to ArgoCD/Kustomize. Deploys eck-operator v3.2.0 with 2 replicas and PodDisruptionBudget in the elastic-system namespace. 💘 Generated with Crush Assisted-by: Claude Sonnet 4.6 via Crush <crush@charm.land>
This commit is contained in:
@@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
|
||||||
|
resources:
|
||||||
|
- namespace.yaml
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Namespace
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: elastic-system
|
||||||
|
name: elastic-system
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
---
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
|
||||||
|
namespace: elastic-system
|
||||||
|
|
||||||
|
resources:
|
||||||
|
- ../../../base/elastic-system
|
||||||
|
|
||||||
|
helmCharts:
|
||||||
|
- name: eck-operator
|
||||||
|
repo: https://helm.elastic.co
|
||||||
|
version: "3.2.0"
|
||||||
|
releaseName: elastic-operator
|
||||||
|
namespace: elastic-system
|
||||||
|
valuesFile: values.yaml
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
replicaCount: 2
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpu: 1
|
||||||
|
memory: 1Gi
|
||||||
|
requests:
|
||||||
|
cpu: 10m
|
||||||
|
memory: 150Mi
|
||||||
|
podDisruptionBudget:
|
||||||
|
enabled: true
|
||||||
|
minAvailable: 1
|
||||||
@@ -12,16 +12,17 @@ spec:
|
|||||||
directories:
|
directories:
|
||||||
- path: apps/overlays/*/artifactapi
|
- path: apps/overlays/*/artifactapi
|
||||||
- path: apps/overlays/*/cattle-system
|
- path: apps/overlays/*/cattle-system
|
||||||
- path: apps/overlays/*/certificates
|
|
||||||
- path: apps/overlays/*/cert-manager
|
- path: apps/overlays/*/cert-manager
|
||||||
|
- path: apps/overlays/*/certificates
|
||||||
- path: apps/overlays/*/cnpg-system
|
- path: apps/overlays/*/cnpg-system
|
||||||
|
- path: apps/overlays/*/elastic-system
|
||||||
- path: apps/overlays/*/externaldns
|
- path: apps/overlays/*/externaldns
|
||||||
- path: apps/overlays/*/inteldeviceplugins-system
|
- path: apps/overlays/*/inteldeviceplugins-system
|
||||||
|
- path: apps/overlays/*/jfrog
|
||||||
- path: apps/overlays/*/node-feature-discovery
|
- path: apps/overlays/*/node-feature-discovery
|
||||||
|
- path: apps/overlays/*/puppet
|
||||||
- path: apps/overlays/*/reflector-system
|
- path: apps/overlays/*/reflector-system
|
||||||
- path: apps/overlays/*/reloader-system
|
- path: apps/overlays/*/reloader-system
|
||||||
- path: apps/overlays/*/jfrog
|
|
||||||
- path: apps/overlays/*/puppet
|
|
||||||
- path: apps/overlays/*/woodpecker
|
- path: apps/overlays/*/woodpecker
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
|
|||||||
@@ -8,14 +8,15 @@ spec:
|
|||||||
description: Platform infrastructure and core services
|
description: Platform infrastructure and core services
|
||||||
sourceRepos:
|
sourceRepos:
|
||||||
- https://git.unkin.net/unkin/argocd-apps
|
- https://git.unkin.net/unkin/argocd-apps
|
||||||
|
- https://charts.jetstack.io
|
||||||
|
- https://cloudnative-pg.github.io/charts
|
||||||
|
- https://helm.elastic.co
|
||||||
|
- https://intel.github.io/helm-charts/
|
||||||
|
- https://kubernetes-sigs.github.io/external-dns/
|
||||||
|
- https://releases.rancher.com/server-charts/stable
|
||||||
|
- oci://gcr.io/k8s-staging-nfd/charts
|
||||||
- oci://ghcr.io/emberstack/helm-charts
|
- oci://ghcr.io/emberstack/helm-charts
|
||||||
- oci://ghcr.io/woodpecker-ci/helm/woodpecker
|
- oci://ghcr.io/woodpecker-ci/helm/woodpecker
|
||||||
- https://releases.rancher.com/server-charts/stable
|
|
||||||
- https://charts.jetstack.io
|
|
||||||
- https://kubernetes-sigs.github.io/external-dns/
|
|
||||||
- https://cloudnative-pg.github.io/charts
|
|
||||||
- oci://gcr.io/k8s-staging-nfd/charts
|
|
||||||
- https://intel.github.io/helm-charts/
|
|
||||||
destinations:
|
destinations:
|
||||||
- namespace: '*-system'
|
- namespace: '*-system'
|
||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
|
|||||||
Reference in New Issue
Block a user