Files
forgebot/hack/kind/manifests/test-resources.yaml
T
unkinben c13b2ae999 Fix UUID cast in task creation, add kind test manifests
- Fix parent_task_id NULLIF cast to UUID type in INSERT query
- Fix itoa helper to use strconv.Itoa
- Handle AddReaction errors gracefully in webhook handler
- Add hack/kind/ manifests for local testing with kind cluster
2026-06-10 22:22:57 +10:00

68 lines
1.3 KiB
YAML

---
apiVersion: v1
kind: Secret
metadata:
name: litellm-api-key
namespace: forgebot
stringData:
api-key: "sk-test-dummy-key"
---
apiVersion: v1
kind: Secret
metadata:
name: forgebot-api-token
namespace: forgebot
stringData:
token: "test-token"
---
apiVersion: forgebot.unkin.net/v1alpha1
kind: AgentPool
metadata:
name: test-pool
namespace: forgebot
spec:
model: claude-sonnet-4-20250514
endpoint: https://litellm.k8s.syd1.au.unkin.net
maxConcurrent: 2
image: busybox:latest
resources:
requests:
cpu: 100m
memory: 128Mi
limits:
cpu: 500m
memory: 512Mi
credentialSecretRef:
name: litellm-api-key
serviceAccountName: default
---
apiVersion: forgebot.unkin.net/v1alpha1
kind: ProviderQueue
metadata:
name: gitea-queue
namespace: forgebot
spec:
provider: gitea
endpoint: http://forgebot-api.forgebot.svc.cluster.local:8000/api/v1
pollInterval: "10s"
credentialSecretRef:
name: forgebot-api-token
---
apiVersion: forgebot.unkin.net/v1alpha1
kind: RepositoryBinding
metadata:
name: test-repo
namespace: forgebot
spec:
repository: unkin/test-repo
providerQueueRef: gitea-queue
agentPoolRef: test-pool
allowedUsers:
- unkinben
allowedCommands:
- plan
- review
- implement
- test
- fix