mirror of
https://github.com/dredx/prole.git
synced 2026-09-27 21:14:31 +00:00
- Makefile: Added 'init' and 'deploy' targets for k3s parity and Gitea staging. - OpenTofu: Fixed namespace handling in k3s main.tf to prevent metadata overwrites. - UI: Added 'GitOps' and 'Database Options' configuration screens. - Core: Enhanced monitoring, milestones, and environment handling for new services. - Supabase: Integrated full Helm chart and manifest rendering logic. - Gitea: Added deployment scripts and GitOps sync support. - Database: Added Percona/Postgres Dockerfile templates and improved TDE scripts. - Tests: Added coverage for new UI screens and navigation flows.
42 lines
1.1 KiB
YAML
42 lines
1.1 KiB
YAML
{{- if .Values.deployment.vector.enabled -}}
|
|
{{- if .Values.serviceAccount.vector.create -}}
|
|
apiVersion: v1
|
|
kind: ServiceAccount
|
|
metadata:
|
|
name: {{ include "supabase.vector.serviceAccountName" . }}
|
|
labels:
|
|
{{- include "supabase.labels" . | nindent 4 }}
|
|
{{- with .Values.serviceAccount.vector.annotations }}
|
|
annotations:
|
|
{{- toYaml . | nindent 4 }}
|
|
{{- end }}
|
|
---
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
kind: ClusterRole
|
|
metadata:
|
|
name: {{ include "supabase.fullname" . }}-reader
|
|
rules:
|
|
- apiGroups: [""]
|
|
resources: ["nodes", "namespaces", "pods"]
|
|
verbs: ["list", "watch"]
|
|
- apiGroups: [""]
|
|
resources: ["pods/log"]
|
|
resourceNames:
|
|
- {{ include "supabase.fullname" . }}-*
|
|
verbs: ["get"]
|
|
---
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
kind: ClusterRoleBinding
|
|
metadata:
|
|
name: {{ include "supabase.fullname" . }}-view
|
|
subjects:
|
|
- kind: ServiceAccount
|
|
name: {{ include "supabase.vector.serviceAccountName" . }}
|
|
namespace: {{ .Release.Namespace }}
|
|
roleRef:
|
|
kind: ClusterRole
|
|
name: {{ include "supabase.fullname" . }}-reader
|
|
apiGroup: rbac.authorization.k8s.io
|
|
{{- end }}
|
|
{{- end }}
|