Skip to content

Commit

Permalink
Add New Postgres versions (#374)
Browse files Browse the repository at this point in the history
Add New Postgres versions ('9.6.23', '10.18', '11.13','12.8','13.4','14.0')

Signed-off-by: Emon46 <[email protected]>
  • Loading branch information
Emon46 authored Oct 8, 2021
1 parent 19094b7 commit b4e4d31
Show file tree
Hide file tree
Showing 15 changed files with 617 additions and 7 deletions.
12 changes: 11 additions & 1 deletion catalog/active_versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,18 +112,28 @@
],
"Postgres": [
"14.0",
"14.0-debian",
"14.0-bullseye",
"13.4",
"13.4-bullseye",
"timescaledb-2.1.0-pg13",
"13.2",
"13.2-debian",
"12.8",
"12.8-bullseye",
"timescaledb-2.1.0-pg12",
"12.6",
"12.6-debian",
"11.13",
"11.13-bullseye",
"timescaledb-2.1.0-pg11",
"11.11",
"11.11-debian",
"10.18",
"10.18-bullseye",
"10.16",
"10.16-debian",
"9.6.23",
"9.6.23-bullseye",
"9.6.21",
"9.6.21-debian"
],
Expand Down
12 changes: 11 additions & 1 deletion catalog/backup_tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -132,29 +132,39 @@
"5.7-cluster"
],
"postgres-backup-10.14": [
"10.18",
"10.18-bullseye",
"10.16",
"10.16-debian"
],
"postgres-backup-11.9": [
"timescaledb-2.1.0-pg11",
"11.13",
"11.13-bullseye",
"11.11",
"11.11-debian"
],
"postgres-backup-12.4": [
"timescaledb-2.1.0-pg12",
"12.8",
"12.8-bullseye",
"12.6",
"12.6-debian"
],
"postgres-backup-13.1": [
"timescaledb-2.1.0-pg13",
"13.4",
"13.4-bullseye",
"13.2",
"13.2-debian"
],
"postgres-backup-14.0": [
"14.0",
"14.0-debian"
"14.0-bullseye"
],
"postgres-backup-9.6.19": [
"9.6.23",
"9.6.23-bullseye",
"9.6.21",
"9.6.21-debian"
],
Expand Down
54 changes: 54 additions & 0 deletions catalog/raw/postgres/postgres-10.18-official.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
apiVersion: catalog.kubedb.com/v1alpha1
kind: PostgresVersion
metadata:
name: 10.18-bullseye
spec:
coordinator:
image: kubedb/pg-coordinator:v0.6.0
db:
image: postgres:10.18-bullseye
distribution: Official
exporter:
image: prometheuscommunity/postgres-exporter:v0.9.0
initContainer:
image: kubedb/postgres-init:0.3.0
podSecurityPolicies:
databasePolicyName: postgres-db
securityContext:
runAsAnyNonRoot: true
runAsUser: 999
stash:
addon:
backupTask:
name: postgres-backup-10.14
restoreTask:
name: postgres-restore-10.14
version: "10.18"

---
apiVersion: catalog.kubedb.com/v1alpha1
kind: PostgresVersion
metadata:
name: "10.18"
spec:
coordinator:
image: kubedb/pg-coordinator:v0.6.0
db:
image: postgres:10.18-bullseye
distribution: Official
exporter:
image: prometheuscommunity/postgres-exporter:v0.9.0
initContainer:
image: kubedb/postgres-init:0.3.0
podSecurityPolicies:
databasePolicyName: postgres-db
securityContext:
runAsAnyNonRoot: false
runAsUser: 70
stash:
addon:
backupTask:
name: postgres-backup-10.14
restoreTask:
name: postgres-restore-10.14
version: "10.18"
54 changes: 54 additions & 0 deletions catalog/raw/postgres/postgres-11.13-official.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
apiVersion: catalog.kubedb.com/v1alpha1
kind: PostgresVersion
metadata:
name: 11.13-bullseye
spec:
coordinator:
image: kubedb/pg-coordinator:v0.6.0
db:
image: postgres:11.13-bullseye
distribution: Official
exporter:
image: prometheuscommunity/postgres-exporter:v0.9.0
initContainer:
image: kubedb/postgres-init:0.3.0
podSecurityPolicies:
databasePolicyName: postgres-db
securityContext:
runAsAnyNonRoot: true
runAsUser: 999
stash:
addon:
backupTask:
name: postgres-backup-11.9
restoreTask:
name: postgres-restore-11.9
version: "11.13"

---
apiVersion: catalog.kubedb.com/v1alpha1
kind: PostgresVersion
metadata:
name: "11.13"
spec:
coordinator:
image: kubedb/pg-coordinator:v0.6.0
db:
image: postgres:11.13-alpine
distribution: Official
exporter:
image: prometheuscommunity/postgres-exporter:v0.9.0
initContainer:
image: kubedb/postgres-init:0.3.0
podSecurityPolicies:
databasePolicyName: postgres-db
securityContext:
runAsAnyNonRoot: false
runAsUser: 70
stash:
addon:
backupTask:
name: postgres-backup-11.9
restoreTask:
name: postgres-restore-11.9
version: "11.13"
54 changes: 54 additions & 0 deletions catalog/raw/postgres/postgres-12.8-official.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
apiVersion: catalog.kubedb.com/v1alpha1
kind: PostgresVersion
metadata:
name: 12.8-bullseye
spec:
coordinator:
image: kubedb/pg-coordinator:v0.6.0
db:
image: postgres:12.8-bullseye
distribution: Official
exporter:
image: prometheuscommunity/postgres-exporter:v0.9.0
initContainer:
image: kubedb/postgres-init:0.3.0
podSecurityPolicies:
databasePolicyName: postgres-db
securityContext:
runAsAnyNonRoot: true
runAsUser: 999
stash:
addon:
backupTask:
name: postgres-backup-12.4
restoreTask:
name: postgres-restore-12.4
version: "12.8"

---
apiVersion: catalog.kubedb.com/v1alpha1
kind: PostgresVersion
metadata:
name: "12.8"
spec:
coordinator:
image: kubedb/pg-coordinator:v0.6.0
db:
image: postgres:12.8-alpine
distribution: Official
exporter:
image: prometheuscommunity/postgres-exporter:v0.9.0
initContainer:
image: kubedb/postgres-init:0.3.0
podSecurityPolicies:
databasePolicyName: postgres-db
securityContext:
runAsAnyNonRoot: false
runAsUser: 70
stash:
addon:
backupTask:
name: postgres-backup-12.4
restoreTask:
name: postgres-restore-12.4
version: "12.8"
54 changes: 54 additions & 0 deletions catalog/raw/postgres/postgres-13.4-official.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
apiVersion: catalog.kubedb.com/v1alpha1
kind: PostgresVersion
metadata:
name: 13.4-bullseye
spec:
coordinator:
image: kubedb/pg-coordinator:v0.6.0
db:
image: postgres:13.4-bullseye
distribution: Official
exporter:
image: prometheuscommunity/postgres-exporter:v0.9.0
initContainer:
image: kubedb/postgres-init:0.3.0
podSecurityPolicies:
databasePolicyName: postgres-db
securityContext:
runAsAnyNonRoot: true
runAsUser: 999
stash:
addon:
backupTask:
name: postgres-backup-13.1
restoreTask:
name: postgres-restore-13.1
version: "13.4"

---
apiVersion: catalog.kubedb.com/v1alpha1
kind: PostgresVersion
metadata:
name: "13.4"
spec:
coordinator:
image: kubedb/pg-coordinator:v0.6.0
db:
image: postgres:13.4-alpine
distribution: Official
exporter:
image: prometheuscommunity/postgres-exporter:v0.9.0
initContainer:
image: kubedb/postgres-init:0.3.0
podSecurityPolicies:
databasePolicyName: postgres-db
securityContext:
runAsAnyNonRoot: false
runAsUser: 70
stash:
addon:
backupTask:
name: postgres-backup-13.1
restoreTask:
name: postgres-restore-13.1
version: "13.4"
4 changes: 2 additions & 2 deletions catalog/raw/postgres/postgres-14.0-official.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
apiVersion: catalog.kubedb.com/v1alpha1
kind: PostgresVersion
metadata:
name: 14.0-debian
name: 14.0-bullseye
spec:
coordinator:
image: kubedb/pg-coordinator:panic-issue_linux_amd64
db:
image: postgres:14.0
image: postgres:14.0-bullseye
distribution: Official
exporter:
image: prometheuscommunity/postgres-exporter:v0.9.0
Expand Down
54 changes: 54 additions & 0 deletions catalog/raw/postgres/postgres-9.6.23-official.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
apiVersion: catalog.kubedb.com/v1alpha1
kind: PostgresVersion
metadata:
name: 9.6.23-bullseye
spec:
coordinator:
image: kubedb/pg-coordinator:v0.6.0
db:
image: postgres:9.6.23-bullseye
distribution: Official
exporter:
image: prometheuscommunity/postgres-exporter:v0.9.0
initContainer:
image: kubedb/postgres-init:0.3.0
podSecurityPolicies:
databasePolicyName: postgres-db
securityContext:
runAsAnyNonRoot: true
runAsUser: 999
stash:
addon:
backupTask:
name: postgres-backup-9.6.19
restoreTask:
name: postgres-restore-9.6.19
version: 9.6.23

---
apiVersion: catalog.kubedb.com/v1alpha1
kind: PostgresVersion
metadata:
name: 9.6.23
spec:
coordinator:
image: kubedb/pg-coordinator:v0.6.0
db:
image: postgres:9.6.23-alpine
distribution: Official
exporter:
image: prometheuscommunity/postgres-exporter:v0.9.0
initContainer:
image: kubedb/postgres-init:0.3.0
podSecurityPolicies:
databasePolicyName: postgres-db
securityContext:
runAsAnyNonRoot: false
runAsUser: 70
stash:
addon:
backupTask:
name: postgres-backup-9.6.19
restoreTask:
name: postgres-restore-9.6.19
version: 9.6.23
Loading

0 comments on commit b4e4d31

Please sign in to comment.