You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

45 lines
1.3 KiB

apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ .Release.Name }}-ghostfolio
labels:
app: ghostfolio
spec:
replicas: {{ .Values.ghostfolio.replicaCount }}
selector:
matchLabels:
app: ghostfolio
template:
metadata:
labels:
app: ghostfolio
spec:
containers:
- name: ghostfolio
image: {{ .Values.ghostfolio.repository }}:{{ .Values.ghostfolio.tag }}
imagePullPolicy: {{ .Values.ghostfolio.pullPolicy }}
env:
{{- range .Values.ghostfolio.env }}
- name: {{ .name }}
value: {{ .value }}
{{- end }}
ports:
- containerPort: {{ .Values.ghostfolio.port }}
readinessProbe:
httpGet:
path: /api/v1/health
port: {{ .Values.ghostfolio.port }}
initialDelaySeconds: 5
periodSeconds: 5
timeoutSeconds: 5
successThreshold: 1
failureThreshold: 3
livenessProbe:
httpGet:
path: /api/v1/health
port: {{ .Values.ghostfolio.port }}
initialDelaySeconds: 5
periodSeconds: 5
timeoutSeconds: 5
successThreshold: 1
failureThreshold: 3