Skip to content
This repository was archived by the owner on Mar 27, 2024. It is now read-only.

Commit 3ecb03a

Browse files
author
firat
committed
final version
1 parent 4541730 commit 3ecb03a

File tree

4 files changed

+18
-2
lines changed

4 files changed

+18
-2
lines changed

charts/deno/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 1.2.0
18+
version: 1.3.0
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to

charts/deno/templates/deno/deployment/main.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,12 @@ spec:
4848
volumeMounts:
4949
- mountPath: /srv/app/pvc
5050
name: {{ .Release.Name }}-logs
51+
livenessProbe:
52+
initialDelaySeconds: 30
53+
periodSeconds: 60
54+
httpGet:
55+
path: /probe?probeType=liveness
56+
port: {{ .Values.server.web.service.port }}
5157
dnsPolicy: ClusterFirst
5258
restartPolicy: Always
5359
schedulerName: default-scheduler

charts/deno/templates/mariadb/statefulset/main.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,14 @@ spec:
4040
volumeMounts:
4141
- name: {{ .Release.Name }}-{{ .Values.server.mariadb.service.name }}
4242
mountPath: /var/lib/mysql
43+
# readinessProbe:
44+
# initialDelaySeconds: 20
45+
# periodSeconds: 60
46+
# exec:
47+
# command:
48+
# - "/bin/sh"
49+
# - "-c"
50+
# - "mysqladmin status -u root -p {{ .Values.server.mariadb.rootPassword }}"
4351
volumes:
4452
- name: {{ .Release.Name }}-{{ .Values.server.mariadb.service.name }}
4553
persistentVolumeClaim:

charts/deno/values.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
apiVersion: 2.1
22

3+
# volumes var for deno
34
deno:
45
pv:
56
name: deno-pv
@@ -10,7 +11,7 @@ deno:
1011
name: deno-pvc
1112
size: 1Gi
1213
volumeName: deno-pv
13-
14+
# deno var for mariadb
1415
maria:
1516
pv:
1617
name: maria-pv
@@ -22,6 +23,7 @@ maria:
2223
size: 1Gi
2324
volumeName: maria-pv
2425

26+
# var for servers (web and mariadb)
2527
server:
2628
web:
2729
volumeMount:

0 commit comments

Comments
 (0)