# This sets the container image more information can be found here: https://kubernetes.io/docs/concepts/containers/images/
# This sets the container image more information can be found here: https://kubernetes.io/docs/concepts/containers/images/
image:
image:
repository:tambedou/odoo# Remplacez par le nom de votre image Docker
repository:tambedou/odoo-image# Remplacez par le nom de votre image Docker
tag:latest# Vous pouvez définir une version spécifique si vous le souhaitez
tag:latest# Vous pouvez définir une version spécifique si vous le souhaitez
pullPolicy:IfNotPresent
pullPolicy:IfNotPresent
env:
-name:DB_HOST
value:"postgresql"
-name:DB_PORT
value:"5432"
-name:DB_USER
value:"postgresadmin"
-name:DB_PASSWORD
valueFrom:
secretKeyRef:
name:odoo-db-secret
key:password
postgresql:
image:
repository:postgres
tag:13
service:
type:ClusterIP
port:5432
env:
-name:POSTGRES_USER
value:"postgresadmin"
-name:POSTGRES_PASSWORD
valueFrom:
secretKeyRef:
name:odoo-db-secret
key:password
# This is for the secretes for pulling an image from a private repository more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
# This is for the secretes for pulling an image from a private repository more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
#imagePullSecrets: []
#imagePullSecrets: []
...
@@ -76,31 +105,32 @@ ingress:
...
@@ -76,31 +105,32 @@ ingress:
# hosts:
# hosts:
# - chart-example.local
# - chart-example.local
resources:{}
resources:
# We usually recommend not to specify default resources and to leave this as a conscious
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
# limits:
requests:
# cpu: 100m
memory:"512Mi"
# memory: 128Mi
cpu:"500m"
# requests:
limits:
# cpu: 100m
memory:"1Gi"
# memory: 128Mi
cpu:"1"
# This is to setup the liveness and readiness probes more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/
# This is to setup the liveness and readiness probes more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/
livenessProbe:
livenessProbe:
httpGet:
httpGet:
path:/
path:/
port:http
port:8069
initialDelaySeconds:30# Délai initial pour éviter des erreurs au démarrage
initialDelaySeconds:60# Délai initial pour éviter des erreurs au démarrage