Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update cloudsql-backup chart #36

Merged
merged 1 commit into from
Jul 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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: bregor@evilmartians.com
- name: Kirill Kuznetsov
email: kir@evilmartians.com
- 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
Loading