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":"api","namespace":"polymarket-bot"},"spec":{"replicas":1,"selector":{"matchLabels":{"app":"api"}},"template":{"metadata":{"labels":{"app":"api"}},"spec":{"containers":[{"command":["uvicorn","api.main:app","--host","0.0.0.0","--port","8000"],"envFrom":[{"secretRef":{"name":"bot-secrets"}}],"image":"docker.io/library/polymarket-bot-api:v2","imagePullPolicy":"Never","name":"api","ports":[{"containerPort":8000}],"resources":{"limits":{"cpu":"500m","memory":"512Mi"},"requests":{"cpu":"100m","memory":"256Mi"}}}]}}}}
|
||||
|
||||
'
|
||||
name: api
|
||||
namespace: polymarket-bot
|
||||
spec:
|
||||
@@ -25,6 +20,8 @@ spec:
|
||||
labels:
|
||||
app: api
|
||||
spec:
|
||||
imagePullSecrets:
|
||||
- name: gitea-registry
|
||||
containers:
|
||||
- command:
|
||||
- uvicorn
|
||||
@@ -32,7 +29,7 @@ spec:
|
||||
- --host
|
||||
- 0.0.0.0
|
||||
- --port
|
||||
- '8000'
|
||||
- "8000"
|
||||
envFrom:
|
||||
- secretRef:
|
||||
name: bot-secrets
|
||||
@@ -56,4 +53,3 @@ spec:
|
||||
schedulerName: default-scheduler
|
||||
securityContext: {}
|
||||
terminationGracePeriodSeconds: 30
|
||||
|
||||
|
||||
Reference in New Issue
Block a user