From 388c374197f76ccdad6d15e13b4760a37710f043 Mon Sep 17 00:00:00 2001 From: Miro Date: Wed, 18 Jan 2023 12:14:59 +0100 Subject: [PATCH] fix: missing files --- README.md | 2 ++ charts/deno/Chart.yaml | 2 +- charts/deno/templates/mariadb.yml | 9 +-------- charts/deno/values.yaml | 3 --- 4 files changed, 4 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 79f3a43..3551b89 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # deno-webserver deno-webserser deployment using kubernetes +``` 1) helm repo add miroyld https://miroyld.github.io/deno-webserver/ 2) helm install deno-webserver miroyld/deno-webserver +``` diff --git a/charts/deno/Chart.yaml b/charts/deno/Chart.yaml index 5b62cfd..841705d 100644 --- a/charts/deno/Chart.yaml +++ b/charts/deno/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.0 +version: 0.2.0 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/deno/templates/mariadb.yml b/charts/deno/templates/mariadb.yml index 12b2e35..c346b5a 100644 --- a/charts/deno/templates/mariadb.yml +++ b/charts/deno/templates/mariadb.yml @@ -1,5 +1,5 @@ apiVersion: apps/v1 -kind: Deployment +kind: StatefulSet metadata: annotations: deployment.kubernetes.io/revision: "3" @@ -8,17 +8,10 @@ metadata: name: {{ .Values.server.mariadb.service.name }} namespace: {{ .Values.server.mariadb.service.namespace }} spec: - progressDeadlineSeconds: 600 - replicas: {{ .Values.server.mariadb.service.replicas }} revisionHistoryLimit: 10 selector: matchLabels: app: {{ .Values.server.mariadb.service.name }} - strategy: - rollingUpdate: - maxSurge: {{ .Values.server.mariadb.service.maxSurge }} - maxUnavailable: {{ .Values.server.mariadb.service.maxUnavailable }} - type: RollingUpdate template: metadata: labels: diff --git a/charts/deno/values.yaml b/charts/deno/values.yaml index e3f3938..6cc960a 100644 --- a/charts/deno/values.yaml +++ b/charts/deno/values.yaml @@ -62,9 +62,6 @@ server: service: name: maria-db port: 3306 - maxSurge: 25% - maxUnavailable: 25% - replicas: 1 namespace: default replicaCount: 3