From ac50ca2117c41ee255d061784dada00a96389b8e Mon Sep 17 00:00:00 2001 From: u1 Date: Tue, 6 Jan 2026 23:46:06 +0100 Subject: [PATCH] chore(staging): bump images + add mpabi.pl host - Switch custom images to gitea.mpabi.pl registry (rv32i.pl TLS no longer matches). - Bump frontend to sha-a12c86f. - Add staging ingress for mpabi.pl pointing to trade-frontend. --- kustomize/base/api/deployment.yaml | 2 +- kustomize/base/frontend/deployment.yaml | 2 +- kustomize/base/ingestor/deployment.yaml | 2 +- .../staging/frontend-ingress-root.yaml | 24 +++++++++++++++++++ kustomize/overlays/staging/kustomization.yaml | 1 + 5 files changed, 28 insertions(+), 3 deletions(-) create mode 100644 kustomize/overlays/staging/frontend-ingress-root.yaml diff --git a/kustomize/base/api/deployment.yaml b/kustomize/base/api/deployment.yaml index 33efb3e..49516fb 100644 --- a/kustomize/base/api/deployment.yaml +++ b/kustomize/base/api/deployment.yaml @@ -16,7 +16,7 @@ spec: - name: gitea-registry containers: - name: api - image: rv32i.pl/trade/trade-api:k3s-20260106013603 + image: gitea.mpabi.pl/trade/trade-api:k3s-20260106013603 imagePullPolicy: IfNotPresent ports: - name: http diff --git a/kustomize/base/frontend/deployment.yaml b/kustomize/base/frontend/deployment.yaml index 6b50469..d49f440 100644 --- a/kustomize/base/frontend/deployment.yaml +++ b/kustomize/base/frontend/deployment.yaml @@ -16,7 +16,7 @@ spec: - name: gitea-registry containers: - name: frontend - image: rv32i.pl/trade/trade-frontend:sha-6107c4e + image: gitea.mpabi.pl/trade/trade-frontend:sha-a12c86f imagePullPolicy: IfNotPresent ports: - name: http diff --git a/kustomize/base/ingestor/deployment.yaml b/kustomize/base/ingestor/deployment.yaml index 0372be1..d1498d5 100644 --- a/kustomize/base/ingestor/deployment.yaml +++ b/kustomize/base/ingestor/deployment.yaml @@ -16,7 +16,7 @@ spec: - name: gitea-registry containers: - name: ingestor - image: rv32i.pl/trade/trade-ingestor:k3s-20260106013603 + image: gitea.mpabi.pl/trade/trade-ingestor:k3s-20260106013603 imagePullPolicy: IfNotPresent env: - name: MARKET_NAME diff --git a/kustomize/overlays/staging/frontend-ingress-root.yaml b/kustomize/overlays/staging/frontend-ingress-root.yaml new file mode 100644 index 0000000..e798cd8 --- /dev/null +++ b/kustomize/overlays/staging/frontend-ingress-root.yaml @@ -0,0 +1,24 @@ +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + name: trade-frontend-root + annotations: + cert-manager.io/cluster-issuer: letsencrypt-prod + traefik.ingress.kubernetes.io/router.entrypoints: websecure +spec: + ingressClassName: traefik + tls: + - hosts: + - mpabi.pl + secretName: mpabi-pl-tls + rules: + - host: mpabi.pl + http: + paths: + - path: / + pathType: Prefix + backend: + service: + name: trade-frontend + port: + number: 8081 diff --git a/kustomize/overlays/staging/kustomization.yaml b/kustomize/overlays/staging/kustomization.yaml index a7d541d..b08b73f 100644 --- a/kustomize/overlays/staging/kustomization.yaml +++ b/kustomize/overlays/staging/kustomization.yaml @@ -7,6 +7,7 @@ resources: - ../../base - pgadmin.yaml - frontend-ingress.yaml + - frontend-ingress-root.yaml patchesStrategicMerge: - hasura-patch.yaml