mirror of
https://github.com/Traceworks2023/nxtgauge-gitops.git
synced 2026-06-11 22:34:41 +00:00
16 of 20 rust services had no PORT env var set; their main.rs calls
std::env::var('PORT').expect('PORT must be a valid u16') which panicked
on startup. This commit adds env.PORT matching the existing containerPort
for each service. Service ports: gateway=9100 users=9101 companies=9102
jobs=9103 job_seekers=9104 customers=9105 employees=9106 photographers=9107
tutors=9108 makeup_artists=9109 developers=9110 video_editors=9111
graphic_designers=9112 social_media_managers=9113 fitness_trainers=9114
catering_services=9115 payments=9116 ugc_content_creators=9117 leads=9118
24 lines
700 B
YAML
24 lines
700 B
YAML
apiVersion: argoproj.io/v1alpha1
|
|
kind: Application
|
|
metadata:
|
|
name: ai-guard
|
|
namespace: argocd
|
|
annotations:
|
|
argocd-image-updater.argoproj.io/image-list: guard=registry.nxtgauge.com/ai-guard:latest
|
|
argocd-image-updater.argoproj.io/guard.update-strategy: digest
|
|
argocd-image-updater.argoproj.io/write-back-method: argocd
|
|
spec:
|
|
project: default
|
|
source:
|
|
repoURL: https://github.com/Traceworks2023/nxtgauge-gitops.git
|
|
targetRevision: main
|
|
path: apps/ai-guard/overlays/prod
|
|
destination:
|
|
server: https://kubernetes.default.svc
|
|
namespace: nxtgauge-ai
|
|
syncPolicy:
|
|
automated:
|
|
prune: true
|
|
selfHeal: true
|
|
syncOptions:
|
|
- CreateNamespace=true
|