feat: allow westside-ai-assistant ingress to Ollama #246
No reviewers
Labels
No labels
domain:backend
domain:devops
domain:frontend
status:approved
status:in-progress
status:needs-fix
status:qa
type:bug
type:devops
type:feature
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
forgejo_admin/pal-e-platform!246
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "14-ollama-netpol"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Add
westside-ai-assistantnamespace to the Ollama NetworkPolicy ingress allowlist so the AI assistant service can reach the Ollama LLM endpoint.Changes
terraform/network-policies.tf-- addedwestside-ai-assistantnamespace selector tonetpol_ollamaingress rules, following the same pattern used for other namespace allowlist entriestofu plan Output
Test Plan
tofu validatepassestofu plan -lock=false -target=kubernetes_manifest.netpol_ollamashows exactly 1 resource updated in-placewestside-ai-assistantnamespace that it can reach OllamaReview Checklist
tofu fmtruntofu validatepassestofu plan -lock=falseoutput reviewednetwork-policies.tf)Related Notes
None.
Related
QA Review -- PR #246
Scope
Single-line addition to
terraform/network-policies.tf: addswestside-ai-assistantnamespace to the Ollama NetworkPolicy ingress allowlist.Findings
Diff correctness:
kubernetes.io/metadata.namematchLabel).pal-e-docswithin thenetpol_ollamaingress block.Validation:
tofu fmt-- passed (no formatting diff)tofu validate-- passedtofu plan -lock=false -target=kubernetes_manifest.netpol_ollama-- 0 to add, 1 to change, 0 to destroy. Only the expected ingress rule addition.PR hygiene:
14-ollama-netpolfollows{issue-number}-{kebab-case}convention.Closesreference.Closes forgejo_admin/westside-ai-assistant#14is correct.No issues found. This is a clean, minimal infrastructure change.
VERDICT: APPROVED