You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pod Security Policies (PSPs) were deprecated in Kubernetes 1.21 and will be removed in 1.25. PSPs were replaced with Pod Security Admission labels and Pod Security Standards (Privileged, Baseline, Restricted).
Check to see if Baseline security standard has any warnings on a fresh deployment: kubectl label --overwrite ns default pod-security.kubernetes.io/warn=baseline pod-security.kubernetes.io/warn-version=v1.27
deploy-sourcegraph-helm git:(jdp/psp-deprecation) ✗ helm upgrade --install sourcegraph charts/sourcegraph/.
Release "sourcegraph" does not exist. Installing it now.
W0821 17:01:20.631517 37370 warnings.go:70] would violate PodSecurity "baseline:v1.27": hostPath volumes (volumes "rootfs", "var-run", "sys", "docker", "disk", "kmsg"), privileged (container "cadvisor" must not set securityContext.privileged=true)
W0821 17:01:20.637322 37370 warnings.go:70] would violate PodSecurity "baseline:v1.27": host namespaces (hostPID=true), hostPath volumes (volumes "rootfs", "sys", "proc")
W0821 17:01:20.637348 37370 warnings.go:70] would violate PodSecurity "baseline:v1.27": hostPort (container "otel-agent" uses hostPorts 4317, 4318, 55679)
W0821 17:01:22.456934 37370 warnings.go:70] annotation "kubernetes.io/ingress.class" is deprecated, please use 'spec.ingressClassName' instead
NAME: sourcegraph
LAST DEPLOYED: Mon Aug 21 17:01:05 2023
NAMESPACE: default
STATUS: deployed
REVISION: 1
NOTES:
Thank you for installing sourcegraph.
Your release is named sourcegraph.
To learn more about supported configuration, check out https://docs.sourcegraph.com/admin/install/kubernetes/helm.
Pod Security Policies (PSPs) were deprecated in Kubernetes 1.21 and will be removed in 1.25. PSPs were replaced with Pod Security Admission labels and Pod Security Standards (
Privileged, Baseline, Restricted
).TODO:
Original Slack Thread: https://sourcegraph.slack.com/archives/C05DWT4ANHH/p1692636601829699
The text was updated successfully, but these errors were encountered: