diff --git a/polymarket-bot/deployment-dashboard.yaml b/polymarket-bot/deployment-dashboard.yaml index e1c1e50..45fc32f 100644 --- a/polymarket-bot/deployment-dashboard.yaml +++ b/polymarket-bot/deployment-dashboard.yaml @@ -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":"dashboard","namespace":"polymarket-bot"},"spec":{"replicas":1,"selector":{"matchLabels":{"app":"dashboard"}},"template":{"metadata":{"labels":{"app":"dashboard"}},"spec":{"containers":[{"image":"docker.io/library/polymarket-bot-dashboard:v3","imagePullPolicy":"Never","name":"dashboard","ports":[{"containerPort":80}],"resources":{"limits":{"cpu":"200m","memory":"128Mi"},"requests":{"cpu":"50m","memory":"64Mi"}}}]}}}} - - ' name: dashboard namespace: polymarket-bot spec: @@ -46,4 +41,3 @@ spec: schedulerName: default-scheduler securityContext: {} terminationGracePeriodSeconds: 30 - diff --git a/polymarket-bot/ingress-polymarket-bot.yaml b/polymarket-bot/ingress-polymarket-bot.yaml index 4ff16db..2bc3e8d 100644 --- a/polymarket-bot/ingress-polymarket-bot.yaml +++ b/polymarket-bot/ingress-polymarket-bot.yaml @@ -1,15 +1,12 @@ apiVersion: networking.k8s.io/v1 kind: Ingress metadata: - annotations: - cert-manager.io/cluster-issuer: letsencrypt-prod - kubectl.kubernetes.io/last-applied-configuration: '{"apiVersion":"networking.k8s.io/v1","kind":"Ingress","metadata":{"annotations":{"cert-manager.io/cluster-issuer":"letsencrypt-prod","traefik.ingress.kubernetes.io/router.entrypoints":"websecure","traefik.ingress.kubernetes.io/router.tls":"true"},"name":"polymarket-bot","namespace":"polymarket-bot"},"spec":{"ingressClassName":"traefik","rules":[{"host":"polymarket.chemavx.xyz","http":{"paths":[{"backend":{"service":{"name":"api","port":{"number":8000}}},"path":"/api","pathType":"Prefix"},{"backend":{"service":{"name":"dashboard","port":{"number":80}}},"path":"/","pathType":"Prefix"}]}}],"tls":[{"hosts":["polymarket.chemavx.xyz"],"secretName":"polymarket-tls"}]}} - - ' - traefik.ingress.kubernetes.io/router.entrypoints: websecure - traefik.ingress.kubernetes.io/router.tls: 'true' name: polymarket-bot namespace: polymarket-bot + annotations: + cert-manager.io/cluster-issuer: letsencrypt-prod + traefik.ingress.kubernetes.io/router.entrypoints: websecure + traefik.ingress.kubernetes.io/router.tls: "true" spec: ingressClassName: traefik rules: @@ -34,4 +31,3 @@ spec: - hosts: - polymarket.chemavx.xyz secretName: polymarket-tls -