fix(polymarket-bot): fix corrupted secret and migrate to Gitea registry images
- Fix bot-secrets: replace corrupted REDACTED base64 values with correct ones - Update deployment-api and deployment-bot to use git.chemavx.xyz registry images - Add imagePullSecrets (gitea-registry) to api and bot deployments - Add secret-gitea-registry.yaml manifest for ArgoCD to manage Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,11 +1,6 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
annotations:
|
||||
deployment.kubernetes.io/revision: '1'
|
||||
kubectl.kubernetes.io/last-applied-configuration: '{"apiVersion":"apps/v1","kind":"Deployment","metadata":{"annotations":{},"name":"bot","namespace":"polymarket-bot"},"spec":{"replicas":1,"selector":{"matchLabels":{"app":"bot"}},"template":{"metadata":{"labels":{"app":"bot"}},"spec":{"containers":[{"command":["python3","-m","bot.main"],"envFrom":[{"secretRef":{"name":"bot-secrets"}}],"image":"docker.io/library/polymarket-bot:v5","imagePullPolicy":"Never","name":"bot","resources":{"limits":{"cpu":"500m","memory":"512Mi"},"requests":{"cpu":"100m","memory":"256Mi"}}}]}}}}
|
||||
|
||||
'
|
||||
name: bot
|
||||
namespace: polymarket-bot
|
||||
spec:
|
||||
@@ -25,6 +20,8 @@ spec:
|
||||
labels:
|
||||
app: bot
|
||||
spec:
|
||||
imagePullSecrets:
|
||||
- name: gitea-registry
|
||||
containers:
|
||||
- command:
|
||||
- python3
|
||||
@@ -50,4 +47,3 @@ spec:
|
||||
schedulerName: default-scheduler
|
||||
securityContext: {}
|
||||
terminationGracePeriodSeconds: 30
|
||||
|
||||
|
||||
Reference in New Issue
Block a user