Skip to content

Update KubeAid config files and disable ArgoCD servicemonitors#39

Open
param20h wants to merge 16 commits intoObmondo:mainfrom
param20h:main
Open

Update KubeAid config files and disable ArgoCD servicemonitors#39
param20h wants to merge 16 commits intoObmondo:mainfrom
param20h:main

Conversation

@param20h
Copy link

This pull request introduces a new ArgoCD "root app" pattern for managing a local Kubernetes cluster (my-local-cluster). It sets up hierarchical ArgoCD Application CRs to deploy and manage core infrastructure components (such as ArgoCD itself, cert-manager, sealed-secrets, and kube-prometheus), and provides the associated configuration and secrets for GitOps workflows. The changes also include initial values and configuration files for these apps, as well as sealed secrets for repository authentication.

ArgoCD Application Definitions and Management

  • Introduced a root ArgoCD Application in root.yaml to serve as the entry point, which manages the other application manifests in the cluster. This enables a hierarchical, GitOps-driven deployment model. (k8s/my-local-cluster/argocd-apps/templates/root.yaml)
  • Added ArgoCD Application manifests for argocd, cert-manager, sealed-secrets, secrets, and kube-prometheus, each specifying their sources, sync policies, and deployment order via labels. (k8s/my-local-cluster/argocd-apps/templates/argocd.yaml, cert-manager.yaml, sealed-secrets.yaml, secrets.yaml, kube-prometheus.yaml) [1] [2] [3] [4] [5]
  • Added a Chart.yaml to define the Helm chart for the root app. (k8s/my-local-cluster/argocd-apps/Chart.yaml)

Configuration and Values

  • Added initial values files for argocd, cert-manager, and sealed-secrets to customize Helm chart deployments. (values-argocd.yaml, values-cert-manager.yaml, values-sealed-secrets.yaml) [1] [2] [3]
  • Added a cluster bootstrap configuration YAML, defining Git repository URLs, SSH key paths, cluster metadata, and deployment key references. (k8s/my-local-cluster/kubeaid-bootstrap-script.general.yaml)
  • Added my-local-cluster-vars.jsonnet with cluster-specific variables for resource requests, Prometheus configuration, and feature toggles. (k8s/my-local-cluster/my-local-cluster-vars.jsonnet)

Sealed Secrets for GitOps

  • Added sealed secrets for ArgoCD to authenticate with the kubeaid and kubeaid-config Git repositories, storing encrypted SSH keys and repository URLs as Kubernetes secrets. (k8s/my-local-cluster/sealed-secrets/argocd/repo-kubeaid.yaml, repo-kubeaid-config.yaml) [1] [2]

These changes lay the foundation for a reproducible, GitOps-managed local cluster setup, with secure repository access and modular, hierarchical application management.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants