114 lines
2.7 KiB
YAML
114 lines
2.7 KiB
YAML
# Default values for vhaudiquet-fr.
|
|
# This is a YAML-formatted file.
|
|
# Declare variables to be passed into your templates.
|
|
|
|
# Number of replicas
|
|
replicaCount: 1
|
|
|
|
# Container image configuration
|
|
image:
|
|
repository: git.vhaudiquet.fr/vhaudiquet/vhaudiquet.fr
|
|
pullPolicy: IfNotPresent
|
|
# The image tag defaults to the chart appVersion (which is set to git SHA by CI).
|
|
# Override this only if you need a specific version.
|
|
tag: ""
|
|
|
|
# Image pull secrets for private registries
|
|
imagePullSecrets: []
|
|
|
|
# Override the name of the chart
|
|
nameOverride: ""
|
|
fullnameOverride: ""
|
|
|
|
# Service account configuration
|
|
serviceAccount:
|
|
# Specifies whether a service account should be created
|
|
create: true
|
|
# Annotations to add to the service account
|
|
annotations: {}
|
|
# The name of the service account to use.
|
|
# If not set and create is true, a name is generated using the fullname template
|
|
name: ""
|
|
|
|
# Pod annotations
|
|
podAnnotations: {}
|
|
|
|
# Pod security context
|
|
podSecurityContext: {}
|
|
# fsGroup: 2000
|
|
|
|
# Container security context
|
|
securityContext: {}
|
|
# capabilities:
|
|
# drop:
|
|
# - ALL
|
|
# readOnlyRootFilesystem: true
|
|
# runAsNonRoot: true
|
|
# runAsUser: 1000
|
|
|
|
# Service configuration
|
|
service:
|
|
type: ClusterIP
|
|
port: 80
|
|
|
|
# Ingress configuration
|
|
ingress:
|
|
enabled: true
|
|
className: ""
|
|
annotations: {}
|
|
# kubernetes.io/ingress.class: nginx
|
|
# kubernetes.io/tls-acme: "true"
|
|
hosts:
|
|
- host: vhaudiquet.fr
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
tls: []
|
|
# - secretName: vhaudiquet-fr-tls
|
|
# hosts:
|
|
# - vhaudiquet.fr
|
|
|
|
# Resource limits and requests
|
|
resources: {}
|
|
# limits:
|
|
# cpu: 100m
|
|
# memory: 128Mi
|
|
# requests:
|
|
# cpu: 100m
|
|
# memory: 128Mi
|
|
|
|
# Node selector
|
|
nodeSelector: {}
|
|
|
|
# Tolerations
|
|
tolerations: []
|
|
|
|
# Affinity
|
|
affinity: {}
|
|
|
|
# Environment variables
|
|
env:
|
|
NGINX_HOST: vhaudiquet.fr
|
|
NGINX_PORT: "80"
|
|
|
|
# NFS Storage configuration for public files
|
|
nfs:
|
|
enabled: true
|
|
# NFS server IP address - REQUIRED when enabled
|
|
server: ""
|
|
# NFS export path
|
|
path: /mnt/main_storage/public
|
|
# Mount path inside the container
|
|
mountPath: /usr/share/nginx/html/public
|
|
# Storage size for PVC
|
|
storageSize: 10Gi
|
|
# Storage class name (leave empty for default)
|
|
storageClassName: ""
|
|
# When true, use a sidecar container with mount propagation instead of PV/PVC
|
|
# so the pod can still start if the NFS server is unreachable. The sidecar
|
|
# will attempt to mount NFS directly into the shared volume; if it fails the
|
|
# app runs with an empty public directory. Files are served directly from NFS
|
|
# (no copying), making this suitable for large volumes.
|
|
# Requires: SYS_ADMIN capability on the sidecar, mountPropagation support.
|
|
softFail: false
|