c13b2ae999
- 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
36 lines
828 B
YAML
36 lines
828 B
YAML
---
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: forgebot-operator
|
|
namespace: forgebot
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: forgebot-operator
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: forgebot-operator
|
|
spec:
|
|
serviceAccountName: forgebot-operator
|
|
containers:
|
|
- name: operator
|
|
image: forgebot-operator:dev
|
|
imagePullPolicy: Never
|
|
args:
|
|
- --metrics-bind-address=:8080
|
|
- --health-probe-bind-address=:8081
|
|
ports:
|
|
- containerPort: 8080
|
|
name: metrics
|
|
- containerPort: 8081
|
|
name: health
|
|
readinessProbe:
|
|
httpGet:
|
|
path: /readyz
|
|
port: 8081
|
|
initialDelaySeconds: 5
|
|
periodSeconds: 5
|