060ac76748
Best Practices / Kube-score Analysis (push) Failing after 6s
Security Scan / Trivy PR Review (push) Has been skipped
Best Practices / Polaris PR Review (push) Has been skipped
Security Scan / Checkov PR Review (push) Has been skipped
Validate Manifests / YAML Lint (push) Successful in 4s
Validate Manifests / Kustomize Build Test (push) Successful in 3s
Security Scan / Trivy Security Scan (push) Successful in 12s
Best Practices / Polaris Audit (push) Failing after 9s
Best Practices / Resource Usage Analysis (push) Successful in 5s
Best Practices / PR Summary Report (push) Has been skipped
Validate Manifests / Kubernetes Schema Validation (push) Successful in 6s
Security Scan / Checkov IaC Scan (push) Failing after 52s
Replace CiliumNetworkPolicies with Istio AuthorizationPolicies, point the thelounge HTTPRoute at the istio-external gateway, and give each workload a dedicated ServiceAccount for precise mTLS identity. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
83 lines
2.3 KiB
YAML
83 lines
2.3 KiB
YAML
apiVersion: apps/v1
|
|
kind: StatefulSet
|
|
metadata:
|
|
name: znc
|
|
labels:
|
|
app.kubernetes.io/name: znc
|
|
app.kubernetes.io/instance: znc
|
|
annotations:
|
|
polaris.fairwinds.com/tagNotSpecified-exempt: "true"
|
|
polaris.fairwinds.com/topologySpreadConstraint-exempt: "true"
|
|
polaris.fairwinds.com/runAsRootAllowed-exempt: "true"
|
|
polaris.fairwinds.com/runAsPrivileged-exempt: "true"
|
|
polaris.fairwinds.com/dangerousCapabilities-exempt: "true"
|
|
polaris.fairwinds.com/insecureCapabilities-exempt: "true"
|
|
polaris.fairwinds.com/hostNetworkSet-exempt: "true"
|
|
polaris.fairwinds.com/notReadOnlyRootFilesystem-exempt: "true"
|
|
polaris.fairwinds.com/runAsNonRoot-exempt: "true"
|
|
polaris.fairwinds.com/privilegeEscalationAllowed-exempt: "true"
|
|
polaris.fairwinds.com/capabilitiesNotDropped-exempt: "true"
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
app.kubernetes.io/name: znc
|
|
app.kubernetes.io/instance: znc
|
|
replicas: 1
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app.kubernetes.io/name: znc
|
|
app.kubernetes.io/instance: znc
|
|
spec:
|
|
priorityClassName: low-priority
|
|
serviceAccountName: znc
|
|
automountServiceAccountToken: false
|
|
containers:
|
|
- name: znc
|
|
image: lscr.io/linuxserver/znc:latest
|
|
|
|
ports:
|
|
- containerPort: 6501
|
|
name: irc-6501
|
|
|
|
volumeMounts:
|
|
- name: config
|
|
mountPath: "/app/config"
|
|
|
|
resources:
|
|
requests:
|
|
memory: "256Mi"
|
|
cpu: "100m"
|
|
ephemeral-storage: "1Gi"
|
|
limits:
|
|
memory: "512Mi"
|
|
cpu: "500m"
|
|
ephemeral-storage: "2Gi"
|
|
|
|
livenessProbe:
|
|
tcpSocket:
|
|
port: 6501
|
|
initialDelaySeconds: 30
|
|
periodSeconds: 10
|
|
timeoutSeconds: 2
|
|
failureThreshold: 3
|
|
|
|
readinessProbe:
|
|
tcpSocket:
|
|
port: 6501
|
|
initialDelaySeconds: 10
|
|
periodSeconds: 5
|
|
timeoutSeconds: 2
|
|
failureThreshold: 3
|
|
|
|
volumeClaimTemplates:
|
|
- metadata:
|
|
name: config
|
|
spec:
|
|
storageClassName: ceph-block
|
|
accessModes:
|
|
- ReadWriteOnce
|
|
resources:
|
|
requests:
|
|
storage: 4Gi
|