From 627b0b67697984e2745ce7ad064cea6b8cfb45f4 Mon Sep 17 00:00:00 2001 From: Endre Czirbesz Date: Fri, 23 Oct 2020 15:43:30 +0100 Subject: [PATCH 1/3] Add encryption --- charts/mgob/Chart.yaml | 2 +- charts/mgob/templates/configmap.yaml | 4 ++++ charts/mgob/values.yaml | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/charts/mgob/Chart.yaml b/charts/mgob/Chart.yaml index e4a6dee..86a8fc1 100644 --- a/charts/mgob/Chart.yaml +++ b/charts/mgob/Chart.yaml @@ -3,7 +3,7 @@ description: | MongoDB dockerized backup agent. Runs scheduled backups with retention, S3 & SFTP upload, notifications, instrumentation with Prometheus and more. name: mgob -version: 1.0.0 +version: 1.0.1 sources: - https://github.com/stefanprodan/mgob maintainers: diff --git a/charts/mgob/templates/configmap.yaml b/charts/mgob/templates/configmap.yaml index 4122199..478c4b4 100644 --- a/charts/mgob/templates/configmap.yaml +++ b/charts/mgob/templates/configmap.yaml @@ -15,6 +15,10 @@ data: target: {{ toYaml . | nindent 6 | trim }} {{- end }} + {{- with $value.encryption }} + encryption: + {{ toYaml . | nindent 6 | trim }} + {{- end }} {{- with $value.s3 }} s3: {{ toYaml . | nindent 6 | trim }} diff --git a/charts/mgob/values.yaml b/charts/mgob/values.yaml index c9ab557..014eaf8 100644 --- a/charts/mgob/values.yaml +++ b/charts/mgob/values.yaml @@ -12,7 +12,7 @@ image: # -- Image pull policy pullPolicy: IfNotPresent # -- Image tag - tag: 1.1 + tag: 1.2 service: # -- Service name name: mgob From 8a106e00c0e5fa61416f9ae0f43648768c29df32 Mon Sep 17 00:00:00 2001 From: Endre Czirbesz Date: Mon, 26 Oct 2020 17:29:57 +0000 Subject: [PATCH 2/3] Update mgob chart with encryption --- charts/mgob/Chart.yaml | 2 +- charts/mgob/values.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/mgob/Chart.yaml b/charts/mgob/Chart.yaml index 86a8fc1..7273d6c 100644 --- a/charts/mgob/Chart.yaml +++ b/charts/mgob/Chart.yaml @@ -3,7 +3,7 @@ description: | MongoDB dockerized backup agent. Runs scheduled backups with retention, S3 & SFTP upload, notifications, instrumentation with Prometheus and more. name: mgob -version: 1.0.1 +version: 1.1.0 sources: - https://github.com/stefanprodan/mgob maintainers: diff --git a/charts/mgob/values.yaml b/charts/mgob/values.yaml index 014eaf8..ca57f74 100644 --- a/charts/mgob/values.yaml +++ b/charts/mgob/values.yaml @@ -12,7 +12,7 @@ image: # -- Image pull policy pullPolicy: IfNotPresent # -- Image tag - tag: 1.2 + tag: 1.3 service: # -- Service name name: mgob From 5bca78315fca49666f8adedec03bf82a310733b5 Mon Sep 17 00:00:00 2001 From: Endre Czirbesz Date: Tue, 27 Oct 2020 09:54:07 +0000 Subject: [PATCH 3/3] Update mgob chart README --- charts/mgob/README.md | 4 ++-- charts/mgob/values.yaml | 12 ++++++++++++ 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/charts/mgob/README.md b/charts/mgob/README.md index 65ee81b..97c18c1 100644 --- a/charts/mgob/README.md +++ b/charts/mgob/README.md @@ -1,6 +1,6 @@ # mgob -![Version: 1.0.0](https://img.shields.io/badge/Version-1.0.0-informational?style=flat-square) +![Version: 1.1.0](https://img.shields.io/badge/Version-1.1.0-informational?style=flat-square) MongoDB dockerized backup agent. Runs scheduled backups with retention, S3 & SFTP upload, notifications, instrumentation with Prometheus and more. @@ -23,7 +23,7 @@ Runs scheduled backups with retention, S3 & SFTP upload, notifications, instrume | env | object | `{}` | | | image.pullPolicy | string | `"IfNotPresent"` | Image pull policy | | image.repository | string | `"stefanprodan/mgob"` | Image repo | -| image.tag | float | `1.1` | Image tag | +| image.tag | float | `1.3` | Image tag | | replicaCount | int | `1` | Number of replicas | | resources | object | `{"limits":{"cpu":"100m","memory":"128Mi"},"requests":{"cpu":"100m","memory":"128Mi"}}` | Resource requests and limits ref: http://kubernetes.io/docs/user-guide/compute-resources/ | | secret | object | `{}` | Secret(s) to mount. For details, see [values.yaml](values.yaml) | diff --git a/charts/mgob/values.yaml b/charts/mgob/values.yaml index ca57f74..9370f53 100644 --- a/charts/mgob/values.yaml +++ b/charts/mgob/values.yaml @@ -64,6 +64,18 @@ config: {} # password: "secret" # # add custom params to mongodump (eg. Auth or SSL support), leave blank if not needed # params: "--ssl --authenticationDatabase admin" +# # Encryption (optional) +# encryption: +# # At the time being, only gpg asymmetric encryption is supported +# # Public key file or at least one recipient is mandatory +# gpg: +# # optional path to a public key file, only the first key is used. +# keyFile: /secret/mgob-key/key.pub +# # optional key server, defaults to hkps://keys.openpgp.org +# keyServer: hkps://keys.openpgp.org +# # optional list of recipients, they will be looked up on key server +# recipients: +# - example@example.com # # S3 upload (optional) # s3: # url: "https://play.minio.io:9000"