Files
fission-console/helm/fission-console/values.yaml
T

87 lines
2.5 KiB
YAML

# ─────────────────────────────────────────────
# Fission Console — values.yaml
# Все секреты и домен задаются при установке:
# helm install ... --set ingress.host=... --set auth.username=... --set auth.password=...
# ─────────────────────────────────────────────
# Образ консоли
image:
repository: naeel/fission-console
tag: "v1.3.56"
pullPolicy: Always
# Количество реплик
replicaCount: 1
# Namespace, в котором работает Fission (не namespace самой консоли)
fission:
namespace: "default"
routerUrl: "http://router.fission.svc.cluster.local"
storagesvcUrl: "http://storagesvc.fission.svc.cluster.local"
httpTimeout: "30s"
invokeTimeout: "60s"
# Порт контейнера
service:
port: 8090
# Аутентификация (секрет router в кластере)
# Значения передаются через --set или отдельный values-secrets.yaml (не коммитить!)
auth:
# Имя Kubernetes Secret, из которого берутся username/password
secretName: "router"
usernameKey: "username"
passwordKey: "password"
# Ingress
ingress:
enabled: true
className: "nginx"
host: "" # ОБЯЗАТЕЛЬНО указать: --set ingress.host=fission.mycompany.ru
tls:
enabled: true
certManager:
enabled: true
clusterIssuer: "letsencrypt-prod"
secretName: "fission-console-tls" # имя TLS-секрета (cert-manager создаст сам)
annotations:
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
# Пути, проксируемые через Ingress
# По умолчанию: /, /fn, /console, /cron, /default
# Переопределять не нужно в большинстве случаев
paths:
- path: /
pathType: Exact
- path: /fn
pathType: Prefix
- path: /console
pathType: Prefix
- path: /cron
pathType: Prefix
- path: /default
pathType: Prefix
# Ресурсы контейнера
resources:
requests:
cpu: 20m
memory: 32Mi
limits:
cpu: 200m
memory: 128Mi
# Liveness/Readiness пробы
probes:
liveness:
path: /health
initialDelaySeconds: 5
periodSeconds: 20
readiness:
path: /health
initialDelaySeconds: 3
periodSeconds: 10
# RBAC
rbac:
create: true