Files
ljwx-children/deployment/helm/gold-template/templates/configmap.yaml
T
bruno a48c913971 feat: add complete Kubernetes deployment and CI/CD pipeline
Major Features:
- ☸️ Complete Helm Chart with OrbStack optimization
- 🐳 Production-ready multi-stage Dockerfile (ARM64 support)
- 🚀 One-click deployment script for Mac Studio + OrbStack
- 🔒 Comprehensive security integration (Trivy, Bandit, Safety, Gitleaks)
- 🤖 New k8s-helper Claude Code Skill for cluster management
- 🔄 Complete CI/CD pipeline with 8 stages
- 📚 Comprehensive deployment documentation

Deployment Components:
- Helm Chart with multi-environment support (dev/staging/prod)
- OrbStack-optimized values (single-node, local registry)
- All K8s resources: Deployment, Service, Ingress, ConfigMap, Secret, PVC, HPA
- Intelligent deployment script with auto-detection and verification
- Port forwarding automation

Claude Code Skills:
- k8s-helper: Cluster status, pod logs, health checks, port forwarding, shell access

CI/CD Pipeline:
- Code quality & security scanning
- Automated testing with coverage
- Multi-arch Docker builds (amd64, arm64)
- Container vulnerability scanning
- Auto-deploy to dev, manual approval for prod
- Post-deployment verification

Documentation:
- DEPLOYMENT-GUIDE.md: Complete 20+ page deployment guide
- QUICK-REFERENCE.md: Quick command reference
- CLAUDE.md: Updated project guide for Claude Code
- README.md: Updated with new features

Environment:
- Tested on Mac Studio (ARM64) + OrbStack K8s v1.33.5
- Docker 28.5.2, Helm v4.0.0, kubectl v1.33.3

🤖 Generated with Claude Code
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-30 19:07:29 +08:00

11 lines
261 B
YAML

{{- if .Values.configMap.enabled -}}
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ include "gold-template.fullname" . }}
labels:
{{- include "gold-template.labels" . | nindent 4 }}
data:
{{- toYaml .Values.configMap.data | nindent 2 }}
{{- end }}