Some checks failed
AOC Guard CI / aoc-guard (push) Has been cancelled
AOC Guard CI / aoc-verify (push) Has been cancelled
Concelier Attestation Tests / attestation-tests (push) Has been cancelled
Docs CI / lint-and-preview (push) Has been cancelled
devportal-offline / build-offline (push) Has been cancelled
Mirror Thin Bundle Sign & Verify / mirror-sign (push) Has been cancelled
- Added AirgapTimelineImpact, AirgapTimelineImpactInput, and AirgapTimelineImpactResult records for managing air-gap bundle import impacts. - Introduced EvidenceSnapshotRecord, EvidenceSnapshotLinkInput, and EvidenceSnapshotLinkResult records for linking findings to evidence snapshots. - Created IEvidenceSnapshotRepository interface for managing evidence snapshot records. - Developed StalenessValidationService to validate staleness and enforce freshness thresholds. - Implemented AirgapTimelineService for emitting timeline events related to bundle imports. - Added EvidenceSnapshotService for linking findings to evidence snapshots and verifying their validity. - Introduced AirGapOptions for configuring air-gap staleness enforcement and thresholds. - Added minimal jsPDF stub for offline/testing builds in the web application. - Created TypeScript definitions for jsPDF to enhance type safety in the web application.
46 lines
1.4 KiB
YAML
46 lines
1.4 KiB
YAML
{{- if .Values.networkPolicy.enabled }}
|
|
apiVersion: networking.k8s.io/v1
|
|
kind: NetworkPolicy
|
|
metadata:
|
|
name: {{ include "stellaops.fullname" . }}-default
|
|
labels:
|
|
{{- include "stellaops.labels" . | nindent 4 }}
|
|
spec:
|
|
podSelector:
|
|
matchLabels:
|
|
{{- include "stellaops.selectorLabelsRoot" . | nindent 6 }}
|
|
policyTypes:
|
|
- Ingress
|
|
- Egress
|
|
ingress:
|
|
- from:
|
|
{{- if .Values.networkPolicy.ingressNamespaces }}
|
|
- namespaceSelector:
|
|
matchLabels:
|
|
{{- toYaml .Values.networkPolicy.ingressNamespaces | nindent 14 }}
|
|
{{- end }}
|
|
{{- if .Values.networkPolicy.ingressPods }}
|
|
- podSelector:
|
|
matchLabels:
|
|
{{- toYaml .Values.networkPolicy.ingressPods | nindent 14 }}
|
|
{{- end }}
|
|
ports:
|
|
- protocol: TCP
|
|
port: {{ default 80 .Values.networkPolicy.ingressPort }}
|
|
egress:
|
|
- to:
|
|
{{- if .Values.networkPolicy.egressNamespaces }}
|
|
- namespaceSelector:
|
|
matchLabels:
|
|
{{- toYaml .Values.networkPolicy.egressNamespaces | nindent 14 }}
|
|
{{- end }}
|
|
{{- if .Values.networkPolicy.egressPods }}
|
|
- podSelector:
|
|
matchLabels:
|
|
{{- toYaml .Values.networkPolicy.egressPods | nindent 14 }}
|
|
{{- end }}
|
|
ports:
|
|
- protocol: TCP
|
|
port: {{ default 443 .Values.networkPolicy.egressPort }}
|
|
{{- end }}
|