80 lines
1.4 KiB
YAML
80 lines
1.4 KiB
YAML
replicaCount: 2
|
|
|
|
image:
|
|
repository: vitrine-frontend
|
|
tag: "latest"
|
|
pullPolicy: IfNotPresent
|
|
|
|
imagePullSecrets: []
|
|
nameOverride: ""
|
|
fullnameOverride: ""
|
|
|
|
serviceAccount:
|
|
create: true
|
|
annotations: {}
|
|
name: ""
|
|
|
|
podAnnotations: {}
|
|
|
|
podSecurityContext:
|
|
runAsNonRoot: true
|
|
runAsUser: 101
|
|
fsGroup: 101
|
|
|
|
securityContext:
|
|
allowPrivilegeEscalation: false
|
|
readOnlyRootFilesystem: false
|
|
capabilities:
|
|
drop: ["ALL"]
|
|
|
|
service:
|
|
type: ClusterIP
|
|
port: 80
|
|
targetPort: 8080
|
|
|
|
# Ce chart ne crée pas d'Ingress : le routage est fait par charts/ingressroute
|
|
# (Traefik), qui envoie "/" ici et "/api/", "/uploads/" au backend sur le MÊME
|
|
# host -- le navigateur ne voit qu'une origine (cf. proxy dev de
|
|
# vite.config.ts). Ce bloc ne sert qu'à l'affichage de NOTES.txt : laisser
|
|
# enabled=false.
|
|
ingress:
|
|
enabled: false
|
|
host: ""
|
|
path: /
|
|
pathType: Prefix
|
|
annotations: {}
|
|
tls:
|
|
enabled: false
|
|
secretName: ""
|
|
|
|
resources:
|
|
requests:
|
|
cpu: 50m
|
|
memory: 64Mi
|
|
limits:
|
|
cpu: 200m
|
|
memory: 128Mi
|
|
|
|
autoscaling:
|
|
enabled: false
|
|
minReplicas: 2
|
|
maxReplicas: 6
|
|
targetCPUUtilizationPercentage: 75
|
|
|
|
nodeSelector: {}
|
|
tolerations: []
|
|
affinity: {}
|
|
|
|
livenessProbe:
|
|
httpGet:
|
|
path: /healthz
|
|
port: http
|
|
initialDelaySeconds: 3
|
|
periodSeconds: 10
|
|
readinessProbe:
|
|
httpGet:
|
|
path: /healthz
|
|
port: http
|
|
initialDelaySeconds: 3
|
|
periodSeconds: 10
|