Skip to content

Commit

Permalink
Merge pull request #36 from evilmartians/0.9.0-cloudsql-backup
Browse files Browse the repository at this point in the history
Update cloudsql-backup chart
  • Loading branch information
deponian authored Jul 18, 2024
2 parents 329375c + 797b874 commit 2b0ca26
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 18 deletions.
6 changes: 2 additions & 4 deletions charts/cloudsql-backup/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
apiVersion: v2
appVersion: "0.12.0"
appVersion: "0.16.5"
description: A Helm chart for periodical backup of cloud postgresql
name: cloudsql-backup
version: 0.8.1
version: 0.9.0
maintainers:
- name: Maxim Filatov
email: [email protected]
- name: Kirill Kuznetsov
email: [email protected]
- name: Ilya Cherepanov
Expand Down
16 changes: 8 additions & 8 deletions charts/cloudsql-backup/pgrestic.dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
FROM postgres:13.4-alpine
FROM postgres:14.12-alpine

RUN apk -U --no-cache upgrade && apk add --no-cache ca-certificates

# restic installation
ARG RESTIC_URL=https://github.com/restic/restic/releases/download/v0.12.1/restic_0.12.1_linux_amd64.bz2
ARG RESTIC=restic_0.12.1_linux_amd64
ARG RESTIC_ARCHIVE=restic_0.12.1_linux_amd64.bz2
ARG RESTIC_SHA256SUM=11d6ee35ec73058dae73d31d9cd17fe79661090abeb034ec6e13e3c69a4e7088
ARG RESTIC_URL=https://github.com/restic/restic/releases/download/v0.16.5/restic_0.16.5_linux_amd64.bz2
ARG RESTIC=restic_0.16.5_linux_amd64
ARG RESTIC_ARCHIVE=restic_0.16.5_linux_amd64.bz2
ARG RESTIC_SHA256SUM=f1a9c39d396d1217c05584284352f4a3bef008be5d06ce1b81a6cf88f6f3a7b1

RUN wget -q "$RESTIC_URL" \
RUN wget -q "${RESTIC_URL}" \
&& echo "${RESTIC_SHA256SUM} ${RESTIC_ARCHIVE}" | sha256sum -c - \
&& bzip2 -d "${RESTIC_ARCHIVE}" \
&& chmod +x "$RESTIC" \
&& mv "$RESTIC" /usr/bin/restic
&& chmod +x "${RESTIC}" \
&& mv "${RESTIC}" /usr/bin/restic
2 changes: 1 addition & 1 deletion charts/cloudsql-backup/templates/backup-check-cronjob.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{- range .Values.apps }}
---
apiVersion: batch/v1beta1
apiVersion: batch/v1
kind: CronJob
metadata:
annotations:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{- range .Values.apps }}
---
apiVersion: batch/v1beta1
apiVersion: batch/v1
kind: CronJob
metadata:
annotations:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{- range .Values.apps }}
---
apiVersion: batch/v1beta1
apiVersion: batch/v1
kind: CronJob
metadata:
annotations:
Expand Down
2 changes: 1 addition & 1 deletion charts/cloudsql-backup/templates/backup-prune-cronjob.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{- range .Values.apps }}
---
apiVersion: batch/v1beta1
apiVersion: batch/v1
kind: CronJob
metadata:
annotations:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{- range .Values.apps }}
---
apiVersion: batch/v1beta1
apiVersion: batch/v1
kind: CronJob
metadata:
annotations:
Expand Down
2 changes: 1 addition & 1 deletion charts/cloudsql-backup/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,5 @@ restic:
affinity: {}
image:
repository: quay.io/evl.ms/pgrestic
tag: 0.12.1-r0-13.4-alpine
tag: 0.16.5-14.12-alpine
pullPolicy: IfNotPresent

0 comments on commit 2b0ca26

Please sign in to comment.