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" # 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