451f543e6d
Add comprehensive Helm chart for deploying WeKnora to Kubernetes clusters. Features: - Core services: app, frontend, docreader, postgresql, redis - Optional services: MinIO, Neo4j, Qdrant, Jaeger (matching docker-compose profiles) - CNCF security best practices (SecurityContext, ServiceAccount, non-root) - Comprehensive documentation (README.md, NOTES.txt) - Required secrets validation (no default passwords) References: - https://helm.sh/docs/chart_best_practices/ - https://github.com/argoproj/argo-helm - https://github.com/prometheus-community/helm-charts - https://github.com/cert-manager/cert-manager Fixes #478 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
25 lines
693 B
YAML
25 lines
693 B
YAML
{{/*
|
|
Copyright 2025 Tencent
|
|
SPDX-License-Identifier: MIT
|
|
|
|
ServiceAccount for WeKnora components.
|
|
Ref: https://helm.sh/docs/chart_best_practices/rbac/
|
|
*/}}
|
|
{{- if .Values.serviceAccount.create }}
|
|
apiVersion: v1
|
|
kind: ServiceAccount
|
|
metadata:
|
|
name: {{ include "weknora.serviceAccountName" . }}
|
|
namespace: {{ .Release.Namespace }}
|
|
labels:
|
|
{{- include "weknora.labels" . | nindent 4 }}
|
|
{{- with .Values.serviceAccount.labels }}
|
|
{{- toYaml . | nindent 4 }}
|
|
{{- end }}
|
|
{{- with .Values.serviceAccount.annotations }}
|
|
annotations:
|
|
{{- toYaml . | nindent 4 }}
|
|
{{- end }}
|
|
automountServiceAccountToken: {{ .Values.serviceAccount.automountServiceAccountToken }}
|
|
{{- end }}
|