api/bot: imagePullSecrets gitea-registry -> gitea-registry-infisical. dashboard: add gitea-registry-infisical (previously had NO pull secret despite pulling a private image — fixes latent ErrImagePull-on-reschedule bug). Old gitea-registry stays as rollback net until decommission. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
46 lines
1.1 KiB
YAML
46 lines
1.1 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: dashboard
|
|
namespace: polymarket-bot
|
|
spec:
|
|
progressDeadlineSeconds: 600
|
|
replicas: 1
|
|
revisionHistoryLimit: 10
|
|
selector:
|
|
matchLabels:
|
|
app: dashboard
|
|
strategy:
|
|
rollingUpdate:
|
|
maxSurge: 25%
|
|
maxUnavailable: 25%
|
|
type: RollingUpdate
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: dashboard
|
|
spec:
|
|
imagePullSecrets:
|
|
- name: gitea-registry-infisical
|
|
containers:
|
|
- image: git.chemavx.xyz/chemavx/polymarket-bot-dashboard:4928a3c1
|
|
imagePullPolicy: Always
|
|
name: dashboard
|
|
ports:
|
|
- containerPort: 80
|
|
protocol: TCP
|
|
resources:
|
|
limits:
|
|
cpu: 200m
|
|
memory: 128Mi
|
|
requests:
|
|
cpu: 50m
|
|
memory: 64Mi
|
|
terminationMessagePath: /dev/termination-log
|
|
terminationMessagePolicy: File
|
|
dnsPolicy: ClusterFirst
|
|
restartPolicy: Always
|
|
schedulerName: default-scheduler
|
|
securityContext: {}
|
|
terminationGracePeriodSeconds: 30
|