fix(osint-dashboard): fix critical manifest issues found during audit
- Fix PostgreSQL topologySpreadConstraints label selector (cnpg.io/cluster) - Fix Ingress HTTPRoutes: route API and WS traffic to correct backends - Fix API NetworkPolicy port mismatch (4000 -> 8000) - Fix MinIO bucket index syntax (_0 -> 0) in ConfigMap - Add postgresql.port and postgresql.database to values.yaml - Add container-level securityContext to API deployment - Restrict monitoring NetworkPolicy ingress to monitoring namespace - Enable readOnlyRootFilesystem for MinIO container - Add activeDeadlineSeconds (3600s) to all 4 CronJobs
This commit is contained in:
parent
87c22e71a4
commit
54f2f42710
9 changed files with 35 additions and 10 deletions
|
|
@ -19,8 +19,19 @@ spec:
|
|||
type: PathPrefix
|
||||
value: {{ $rule.path }}
|
||||
backendRefs:
|
||||
{{- if eq $host.host "dashboard.siriusdevops.com" }}
|
||||
- name: dashboard-web
|
||||
port: 3000
|
||||
{{- else if eq $host.host "api.siriusdevops.com" }}
|
||||
- name: {{ include "osint-dashboard.fullname" $ }}-api
|
||||
port: 8000
|
||||
{{- else if eq $host.host "ws.siriusdevops.com" }}
|
||||
- name: {{ include "osint-dashboard.fullname" $ }}-api
|
||||
port: 8000
|
||||
{{- else }}
|
||||
- name: dashboard-web
|
||||
port: 3000
|
||||
{{- end }}
|
||||
weight: 100
|
||||
{{- end }}
|
||||
---
|
||||
|
|
|
|||
Loading…
Reference in a new issue