controllers: main: enabled: true type: deployment replicas: 1 containers: main: image: repository: gitea.corredorconect.com/software-engineering/policy-ui tag: "{{ $.Chart.AppVersion }}" env: - name: NODE_ENV value: "production" - name: PORT value: "3000" - name: HOST value: "0.0.0.0" - name: NUXT_TELEMETRY_DISABLED value: "1" # API endpoints (hardcoded to dev) - name: NUXT_PUBLIC_CUSTOMER_API_BASE value: "https://dev.api.corredorconect.com/customer/api/v1" - name: NUXT_PUBLIC_POLICY_API_BASE value: "https://dev.api.corredorconect.com/policy/api/v1" - name: NUXT_PUBLIC_PROVIDERS_API_BASE value: "https://dev.api.corredorconect.com/provider/api/v1" - name: NUXT_PUBLIC_WORKLOAD_API_BASE value: "https://dev.api.corredorconect.com/workload/api/v1" - name: NUXT_PUBLIC_DOCUMENT_API_BASE value: "https://dev.api.corredorconect.com/document/api/v1" - name: AUTH_SECRET value: 0d85a9ed917254fc14c51a7e57e58f515574938d81f5a5146d407284c020b541 - name: AUTH_ORIGIN: value: https://dev.corredorconect.com/api/auth - name: ZITADEL_DOMAIN value: https://id.corredorconect.com - name: ZITADEL_CLIENT_ID value: 371939070261068337 # Policy API token from secret # - name: NUXT_PUBLIC_POLICY_API_TOKEN # valueFrom: # secretKeyRef: # name: policy-ui-secrets # key: policyApiToken ports: - name: http containerPort: 3000 probes: liveness: enabled: true custom: true spec: httpGet: path: / port: 3000 initialDelaySeconds: 30 periodSeconds: 10 readiness: enabled: true custom: true spec: httpGet: path: / port: 3000 initialDelaySeconds: 5 periodSeconds: 5 service: main: controller: main type: ClusterIP ports: http: port: 3000 protocol: HTTP targetPort: http ingress: main: enabled: false