Files
gitea-mcp-forward-auth/deploy/k3s/deployment.yaml
T
torben ea4aac6641
Build and Test / verify (push) Failing after 22s
Add initial implementation of gitea-mcp-forward-auth microservice
- Create build and release workflows for CI/CD
- Implement Dockerfile for multi-stage builds
- Add core authentication logic with token validation
- Include HTTP handler for authorization checks
- Set up Kubernetes deployment and service manifests
- Update README with usage instructions and configuration details
2026-07-11 21:58:58 +02:00

51 lines
1.3 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: gitea-mcp-auth-proxy
labels:
app: gitea-mcp-auth-proxy
spec:
replicas: 1
selector:
matchLabels:
app: gitea-mcp-auth-proxy
template:
metadata:
labels:
app: gitea-mcp-auth-proxy
spec:
containers:
- name: auth-proxy
image: gitea.nehmer.net/torben/gitea-mcp-auth-proxy:latest
imagePullPolicy: IfNotPresent
ports:
- containerPort: 8080
name: http
env:
- name: AUTH_PROXY_LISTEN_ADDR
value: ":8080"
- name: AUTH_PROXY_TOKENS_DIR
value: /var/run/secrets/auth-proxy
- name: AUTH_PROXY_LOG_LEVEL
value: info
volumeMounts:
- name: auth-tokens
mountPath: /var/run/secrets/auth-proxy
readOnly: true
readinessProbe:
httpGet:
path: /healthz
port: http
initialDelaySeconds: 2
periodSeconds: 10
livenessProbe:
httpGet:
path: /healthz
port: http
initialDelaySeconds: 5
periodSeconds: 15
volumes:
- name: auth-tokens
secret:
secretName: gitea-mcp-auth-proxy-tokens