mirror of
https://github.com/semantica-agi/semantica.git
synced 2026-08-29 04:26:20 +00:00
Without an explicit namespace in metadata, checkov (CKV_K8S_21) flags every resource as using the default namespace. Using .Release.Namespace lets helm install --namespace semantica --create-namespace correctly scope all resources to the target namespace.
12 lines
301 B
YAML
12 lines
301 B
YAML
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: {{ include "knowledge-explorer.fullname" . }}
|
|
namespace: {{ .Release.Namespace }}
|
|
labels:
|
|
{{- include "knowledge-explorer.labels" . | nindent 4 }}
|
|
data:
|
|
{{- range $key, $value := .Values.env }}
|
|
{{ $key }}: {{ $value | quote }}
|
|
{{- end }}
|