k8s-and-chill/rendered/argocd/production/env-production.yaml
Felix Wolf 6f717a602f feat: Initial setup of GitOps-managed Kubernetes cluster
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.
2026-03-30 18:21:05 +02:00

38 lines
785 B
YAML

apiVersion: argoproj.io/v1alpha1
kind: AppProject
metadata:
name: env-production
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
annotations:
myks.dev/environment: production
spec:
description: Project for "production" environment
clusterResourceWhitelist:
- group: '*'
kind: '*'
destinations:
- namespace: '*'
name: production
namespaceResourceWhitelist:
- group: '*'
kind: '*'
sourceRepos:
- '*'
---
apiVersion: v1
kind: Secret
metadata:
labels:
argocd.argoproj.io/secret-type: cluster
name: production
namespace: argocd
annotations:
myks.dev/environment: production
stringData:
config: ARGOCD_CLUSTER_CONNECT_CONFIG
name: production
project: env-production
server: ARGOCD_CLUSTER_SERVER_URL