Configures `myks` for Helm chart rendering with `ytt` overlays to manage cluster applications. Defines prototypes and environment-specific configurations for core applications including ArgoCD, Traefik, Cert-Manager, and Forgejo. Adds comprehensive documentation covering cluster setup, GitOps structure, and development environment. Integrates `direnv` for environment variable management, `gitignore` for file exclusion, and `sops` for secret encryption. Includes rendered Kubernetes manifests and ArgoCD application resources for initial deployment.
26 lines
548 B
YAML
26 lines
548 B
YAML
apiVersion: argoproj.io/v1alpha1
|
|
kind: Application
|
|
metadata:
|
|
annotations:
|
|
myks.dev/environment: production
|
|
finalizers:
|
|
- resources-finalizer.argocd.argoproj.io
|
|
name: app-production-argocd
|
|
namespace: argocd
|
|
spec:
|
|
destination:
|
|
name: production
|
|
namespace: argocd
|
|
project: env-production
|
|
source:
|
|
path: rendered/envs/production/argocd
|
|
repoURL: ""
|
|
targetRevision: main
|
|
syncPolicy:
|
|
automated:
|
|
prune: true
|
|
selfHeal: true
|
|
syncOptions:
|
|
- CreateNamespace=true
|
|
- ServerSideApply=true
|