refactor: remove 'ollama-external.yaml' and its manual exclusion from ArgoCD application

This commit is contained in:
Nik Afiq 2026-04-21 17:16:25 +09:00
parent e1fd813b7e
commit 91f8167323
2 changed files with 0 additions and 30 deletions

View File

@ -12,8 +12,6 @@ spec:
directory:
recurse: true
include: '*.yaml'
# This is applied manually since Endpoints resource cannot be managed by ArgoCD
exclude: 'ollama-external.yaml'
destination:
server: https://kubernetes.default.svc
namespace: default

View File

@ -1,28 +0,0 @@
---
# Apply: kubectl apply -f manifests/core/ollama-external.yaml
# Delete: kubectl delete -f manifests/core/ollama-external.yaml
# Description: Exposes the Mac Mini's Ollama instance to the K3s cluster via a headless Service + Endpoints pair.
# Allows any pod to reach Ollama at http://ollama.default.svc.cluster.local:11434
apiVersion: v1
kind: Endpoints
metadata:
name: ollama
namespace: default
subsets:
- addresses:
- ip: 192.168.7.96
ports:
- port: 11434
---
apiVersion: v1
kind: Service
metadata:
name: ollama
namespace: default
spec:
ports:
- name: http
port: 11434
targetPort: 11434
clusterIP: None