Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions roles/litellm/tasks/install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,22 @@
name: "{{ litellm_namespace }}"
state: present

# baseline (not restricted): the prisma-engine-seed initContainer must run as
# root to read the engines baked into /root at image build time (see below).
- name: "litellm | Label namespace — PSS"
kubernetes.core.k8s:
state: present
definition:
apiVersion: v1
kind: Namespace
metadata:
name: "{{ litellm_namespace }}"
labels:
pod-security.kubernetes.io/enforce: "baseline"
pod-security.kubernetes.io/audit: "restricted"
pod-security.kubernetes.io/warn: "restricted"
when: enforce_pss | default(false) | bool

# ReferenceGrant allows Envoy Gateway SecurityPolicy (in gateway namespace)
# to reference the LiteLLM service (in litellm namespace) for extAuth.
# Must be created after namespace exists — moved here from envoy_gateway role.
Expand Down
Loading