freeleaps-ops/freeleaps/helm-pkg/frontend/values.alpha.yaml
2025-02-25 02:14:16 +08:00

58 lines
1.3 KiB
YAML

global:
registry: docker.io
repository: freeleaps
nodeSelector: {}
frontend:
replicas: 1
image:
registry:
repository: freeleaps
name: frontend
tag: 1.0.0
imagePullPolicy: IfNotPresent
ports:
- name: http
containerPort: 8080
protocol: TCP
resources:
requests:
cpu: "0.5"
memory: "512Mi"
limits:
cpu: "1"
memory: "1Gi"
# FIXME: Wait until the developers implements the probes APIs
probes: {}
services:
- name: frontend-service
type: ClusterIP
port: 8080
targetPort: 8080
# Defaults to {}, which means doesn't have any ingress
ingresses:
- name: frontend-ingress
host: alpha.freeleaps.mathmast.com
class: nginx
rules:
- path: /
pathType: Prefix
backend:
service:
name: frontend-service
port:
number: 8080
tls:
exists: false
issuerRef:
name: mathmast-dot-com
kind: ClusterIssuer
name: alpha.freeleaps.mathmast.com-cert
configs:
# TZ
tz: "UTC"
# FRONTEND_PORT
frontendPort: 8080
# FREELEAPS_CHAT_ENDPOINT
freeleapsChatEndpoint: "https://alpha.chat.freeleaps.mathmast.com"
# FREELEAPS_BACKEND_ENDPOINT
freeleapsBackendEndpoint: "https://alpha.api.freeleaps.mathmast.com"