Graph-Native Infrastructure for Context and Accountable AI Systems
Python agent-memoryaiai-governanceai-infrastructureartificial-intelligencecontext-engineeringcontext-graphsdata-engineeringdecision-intelligencedeveloper-toolsexplainable-aigenerative-aigraph-ragknowledge-graphllmontologyprovenancepythonreasoningsemantic-search
fix(ci): resolve MSDO/checkov and Terrascan failures on K8s and Helm manifests
KaifAhmad1095e8c8714ef
diff --git a/deploy/helm/knowledge-explorer/values.prod.yaml b/deploy/helm/knowledge-explorer/values.prod.yamlindex 7305a8e2..1d1ee6d6 100644--- a/deploy/helm/knowledge-explorer/values.prod.yaml+++ b/deploy/helm/knowledge-explorer/values.prod.yaml@@ -1,6 +1,7 @@image:repository: ghcr.io/semantica-agi/semantica-knowledge-explorer- tag: latest+ # Pin to a specific release tag or digest before deploying to production.+ tag: "0.5.0"pullPolicy: IfNotPresentingress:diff --git a/deploy/helm/knowledge-explorer/values.yaml b/deploy/helm/knowledge-explorer/values.yamlindex ee179986..7b5914b0 100644--- a/deploy/helm/knowledge-explorer/values.yaml+++ b/deploy/helm/knowledge-explorer/values.yaml@@ -3,13 +3,16 @@ replicaCount: 2image:repository: semantica-knowledge-explorerpullPolicy: IfNotPresent- tag: latest+ # Use a pinned tag (e.g. "0.5.0") or digest in production; empty string falls back to .Chart.AppVersion.+ tag: ""imagePullSecrets: []nameOverride: ""fullnameOverride: ""-podAnnotations: {}+podAnnotations:+ # AppArmor — must match the container name defined in the Deployment template ("explorer").+ container.apparmor.security.beta.kubernetes.io/explorer: runtime/defaultpodLabels: {}podSecurityContext:@@ -20,7 +23,10 @@ podSecurityContext:securityContext:allowPrivilegeEscalation: falsereadOnlyRootFilesystem: true+ runAsNonRoot: truerunAsUser: 1000+ seccompProfile:+ type: RuntimeDefaultcapabilities:drop:- ALLdiff --git a/deploy/kubernetes/deployment.yaml b/deploy/kubernetes/deployment.yamlindex 61c87c34..4a6c9d3d 100644--- a/deploy/kubernetes/deployment.yaml+++ b/deploy/kubernetes/deployment.yaml@@ -18,6 +18,8 @@ spec:app.kubernetes.io/name: knowledge-explorertemplate:metadata:+ annotations:+ container.apparmor.security.beta.kubernetes.io/explorer: runtime/defaultlabels:app.kubernetes.io/name: knowledge-explorerapp.kubernetes.io/part-of: semantica@@ -65,7 +67,10 @@ spec:securityContext:allowPrivilegeEscalation: falsereadOnlyRootFilesystem: true+ runAsNonRoot: truerunAsUser: 1000+ seccompProfile:+ type: RuntimeDefaultcapabilities:drop:- ALLdiff --git a/deploy/kubernetes/ingress.yaml b/deploy/kubernetes/ingress.yamlindex a9b1c0cd..50264357 100644--- a/deploy/kubernetes/ingress.yaml+++ b/deploy/kubernetes/ingress.yaml@@ -6,6 +6,7 @@ metadata:annotations:kubernetes.io/ingress.class: nginxcert-manager.io/cluster-issuer: letsencrypt-prod+ nginx.ingress.kubernetes.io/ssl-redirect: "true"spec:tls:- hosts:diff --git a/deploy/kubernetes/namespace.yaml b/deploy/kubernetes/namespace.yamlindex ebca2fdc..1bf5ecda 100644--- a/deploy/kubernetes/namespace.yaml+++ b/deploy/kubernetes/namespace.yaml@@ -2,3 +2,5 @@ apiVersion: v1kind: Namespacemetadata:name: semantica+ labels:+ owner: semantica