f4d287abef
- chart 0.8.1 → 0.11.0 (appVersion 0.10.4 → 0.12.2) - deps: postgres 1.5.8 → 1.5.13, openfga 0.2.44 → 0.2.62 - ingress: Kong → APISIX (use-regex + path /.*, cluster-issuer) - openfga.playground 비활성화 (preshared 인증 패닉 방지) - breaking=false, custom-values 키 전부 호환 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
35 lines
1.1 KiB
YAML
35 lines
1.1 KiB
YAML
{{- if .Values.OPABridge.enabled }}
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: {{ include "iceberg-catalog.fullname" . }}-opa-policies
|
|
namespace: {{ .Release.Namespace }}
|
|
labels:
|
|
{{- include "iceberg-catalog.labels" . | nindent 4 }}
|
|
app.kubernetes.io/component: opa-bridge
|
|
data:
|
|
{{- range $path, $content := .Files.Glob "opa-bridge/v0.11/policies/**.rego" }}
|
|
{{ trimPrefix "opa-bridge/v0.11/policies/" $path | replace "/" "." }}: |2
|
|
{{ regexReplaceAll "[ \t]+\n" ($content | toString) "\n" | indent 4 }}
|
|
{{- end }}
|
|
catalogs.rego: |
|
|
# This file contains Trino catalog to Lakekeeper warehouse mappings.
|
|
# Generated from Helm values.
|
|
|
|
package configuration
|
|
|
|
trino_catalog := [
|
|
{{- range .Values.OPABridge.catalogs }}
|
|
{
|
|
"name": {{ .trinoCatalog | quote }},
|
|
"lakekeeper_id": "default",
|
|
"lakekeeper_warehouse": {{ .lakekeeperWarehouse | quote }}
|
|
},
|
|
{{- end }}
|
|
]
|
|
{{- range $filename, $content := .Values.OPABridge.customPolicies }}
|
|
{{ $filename }}: |
|
|
{{ $content | indent 4 }}
|
|
{{- end }}
|
|
{{- end }}
|