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.
15 lines
309 B
YAML
15 lines
309 B
YAML
#@ load("@ytt:overlay", "overlay")
|
|
---
|
|
#@ def secret_fragment():
|
|
kind: Secret
|
|
metadata:
|
|
labels:
|
|
argocd.argoproj.io/secret-type: cluster
|
|
#@ end
|
|
|
|
#@overlay/match by=overlay.subset(secret_fragment()), expects="0+"
|
|
---
|
|
stringData:
|
|
config: ARGOCD_CLUSTER_CONNECT_CONFIG
|
|
server: ARGOCD_CLUSTER_SERVER_URL
|