From fc9ea677b9a38fcca888a101db34ec1376ed5a88 Mon Sep 17 00:00:00 2001 From: groundhog2k <10630407+groundhog2k@users.noreply.github.com> Date: Fri, 11 Dec 2020 17:44:23 +0100 Subject: [PATCH] Updated mariadb chart to use multi-arch image (#115) --- charts/mariadb/Chart.yaml | 2 +- charts/mariadb/README.md | 5 ++--- charts/mariadb/values.yaml | 3 +-- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/charts/mariadb/Chart.yaml b/charts/mariadb/Chart.yaml index 5ad2b557..d3aa1ae8 100644 --- a/charts/mariadb/Chart.yaml +++ b/charts/mariadb/Chart.yaml @@ -8,7 +8,7 @@ maintainers: - name: groundhog2k # This is the chart version. -version: 0.1.5 +version: 0.2.0 # This is the version number of the application being deployed. appVersion: "10.5.8" diff --git a/charts/mariadb/README.md b/charts/mariadb/README.md index 337a21f5..743755bf 100644 --- a/charts/mariadb/README.md +++ b/charts/mariadb/README.md @@ -1,6 +1,6 @@ # MariaDB -   +   A Helm chart for MariaDB on Kubernetes @@ -15,8 +15,7 @@ $ helm install my-release groundhog2k/mariadb This chart uses the original [MariaDB image from Docker Hub](https://hub.docker.com/_/mariadb) to deploy a stateful MariaDB instance in a Kubernetes cluster. -It allows fully supports the deployment of the [ARM64v8 image of MariaDB](https://hub.docker.com/r/arm64v8/mariadb) on a ARM64 based Kubernetes cluster just by exchanging the existing `image.repository` value. - +It fully supports deployment of arm64v8 and amd64 multi-architecture docker image. Just set the `nodeSelector` value to `kubernetes.io/arch: "arm64"` (default is `"amd64"`) ## Prerequisites diff --git a/charts/mariadb/values.yaml b/charts/mariadb/values.yaml index e5be3f55..e4a8f8e3 100644 --- a/charts/mariadb/values.yaml +++ b/charts/mariadb/values.yaml @@ -1,7 +1,6 @@ ## Default values for MariaDB deployment ## MariaDB docker image -## use arm64v8/mariadb for the same image on ARM64v8 image: repository: mariadb pullPolicy: IfNotPresent @@ -24,7 +23,7 @@ serviceAccount: name: "" ## Default node type for the image -## use arm64v8 for the arm64v8/mariadb image +## use arm64 for the arm64v8 image nodeSelector: kubernetes.io/arch: amd64 -- GitLab