Compare commits
18 Commits
postgres-c
...
postgres-c
Author | SHA1 | Date | |
---|---|---|---|
202a534e8e | |||
c36e4e371f | |||
1ac9444bb2 | |||
275fcd8568 | |||
158d4ca676 | |||
32e232d8e2 | |||
93d2f916fb | |||
b1a6a2fd39 | |||
d3307d4f70 | |||
1b7018d3bd | |||
b75721ae1d | |||
|
e0e4f6ee8a | ||
|
7dd80d4528 | ||
24af841f19 | |||
16211d4c62 | |||
513c46c957 | |||
3fad4e4ff0 | |||
1f867e0276 |
@@ -1,2 +1,2 @@
|
|||||||
# This file is processed by Renovate bot so that it creates a PR on new major Renovate versions
|
# This file is processed by Renovate bot so that it creates a PR on new major Renovate versions
|
||||||
FROM renovate/renovate:38
|
FROM renovate/renovate:39
|
7
.github/renovate.json
vendored
7
.github/renovate.json
vendored
@@ -6,14 +6,11 @@
|
|||||||
":rebaseStalePrs"
|
":rebaseStalePrs"
|
||||||
],
|
],
|
||||||
"timezone": "US/Central",
|
"timezone": "US/Central",
|
||||||
"schedule": [
|
|
||||||
"every weekday"
|
|
||||||
],
|
|
||||||
"labels": [],
|
"labels": [],
|
||||||
"packageRules": [
|
"packageRules": [
|
||||||
{
|
{
|
||||||
"description": "Disables for non major Renovate version",
|
"description": "Disables for non major Renovate version",
|
||||||
"matchPaths": [
|
"matchFileNames": [
|
||||||
".github/renovate-update-notification/Dockerfile"
|
".github/renovate-update-notification/Dockerfile"
|
||||||
],
|
],
|
||||||
"matchUpdateTypes": [
|
"matchUpdateTypes": [
|
||||||
@@ -27,7 +24,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"description": "Generate for major Renovate version",
|
"description": "Generate for major Renovate version",
|
||||||
"matchPaths": [
|
"matchFileNames": [
|
||||||
".github/renovate-update-notification/Dockerfile"
|
".github/renovate-update-notification/Dockerfile"
|
||||||
],
|
],
|
||||||
"matchUpdateTypes": [
|
"matchUpdateTypes": [
|
||||||
|
4
.github/workflows/lint-test.yaml
vendored
4
.github/workflows/lint-test.yaml
vendored
@@ -14,11 +14,11 @@ jobs:
|
|||||||
- name: Set up Helm
|
- name: Set up Helm
|
||||||
uses: azure/setup-helm@v4
|
uses: azure/setup-helm@v4
|
||||||
with:
|
with:
|
||||||
version: v3.13.3
|
version: latest
|
||||||
|
|
||||||
- uses: actions/setup-python@v5
|
- uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: "3.10"
|
python-version: "3.13"
|
||||||
check-latest: true
|
check-latest: true
|
||||||
|
|
||||||
- name: Set up chart-testing
|
- name: Set up chart-testing
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
name: cloudflared
|
name: cloudflared
|
||||||
version: 1.11.0
|
version: 1.12.0
|
||||||
description: Cloudflared Tunnel
|
description: Cloudflared Tunnel
|
||||||
keywords:
|
keywords:
|
||||||
- cloudflare
|
- cloudflare
|
||||||
@@ -15,4 +15,4 @@ dependencies:
|
|||||||
repository: https://bjw-s.github.io/helm-charts/
|
repository: https://bjw-s.github.io/helm-charts/
|
||||||
version: 3.5.1
|
version: 3.5.1
|
||||||
icon: https://avatars.githubusercontent.com/u/314135?s=48&v=4
|
icon: https://avatars.githubusercontent.com/u/314135?s=48&v=4
|
||||||
appVersion: "2024.12.1"
|
appVersion: "2024.12.2"
|
||||||
|
@@ -3,7 +3,7 @@ existingSecretName: cloudflared-secret
|
|||||||
existingSecretKey: cf-tunnel-token
|
existingSecretKey: cf-tunnel-token
|
||||||
image:
|
image:
|
||||||
repository: cloudflare/cloudflared
|
repository: cloudflare/cloudflared
|
||||||
tag: "2024.12.1"
|
tag: "2024.12.2"
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
name: postgres-cluster
|
name: postgres-cluster
|
||||||
version: 3.17.0
|
version: 3.20.10
|
||||||
description: Chart for cloudnative-pg cluster
|
description: Chart for cloudnative-pg cluster
|
||||||
keywords:
|
keywords:
|
||||||
- database
|
- database
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
bootstrap:
|
bootstrap:
|
||||||
{{- if eq .Values.mode "standalone" }}
|
{{- if eq .Values.mode "standalone" }}
|
||||||
initdb:
|
initdb:
|
||||||
{{- with .Values.cluster.initdb }}
|
{{- with .Values.bootstrap.initdb }}
|
||||||
{{- with (omit . "postInitApplicationSQL") }}
|
{{- with (omit . "postInitApplicationSQL") }}
|
||||||
{{- . | toYaml | nindent 4 }}
|
{{- . | toYaml | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
@@ -10,7 +10,7 @@ bootstrap:
|
|||||||
{{- if eq .Values.type "tensorchord" }}
|
{{- if eq .Values.type "tensorchord" }}
|
||||||
dataChecksums: true
|
dataChecksums: true
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if or (eq .Values.type "postgis") (eq .Values.type "timescaledb") (eq .Values.type "tensorchord") (.Values.cluster.initdb.postInitApplicationSQL) }}
|
{{- if or (eq .Values.type "postgis") (eq .Values.type "timescaledb") (eq .Values.type "tensorchord") (.Values.bootstrap.initdb.postInitApplicationSQL) }}
|
||||||
postInitApplicationSQL:
|
postInitApplicationSQL:
|
||||||
{{- if eq .Values.type "postgis" }}
|
{{- if eq .Values.type "postgis" }}
|
||||||
- CREATE EXTENSION IF NOT EXISTS postgis;
|
- CREATE EXTENSION IF NOT EXISTS postgis;
|
||||||
@@ -29,7 +29,7 @@ bootstrap:
|
|||||||
- GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA vectors TO "app";
|
- GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA vectors TO "app";
|
||||||
- GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA public TO "app";
|
- GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA public TO "app";
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.cluster.initdb }}
|
{{- with .Values.bootstrap.initdb }}
|
||||||
{{- range .postInitApplicationSQL }}
|
{{- range .postInitApplicationSQL }}
|
||||||
{{- printf "- %s" . | nindent 6 }}
|
{{- printf "- %s" . | nindent 6 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
@@ -61,6 +61,11 @@ bootstrap:
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
source:
|
source:
|
||||||
externalCluster: "{{ include "cluster.name" . }}-cluster"
|
externalCluster: "{{ include "cluster.name" . }}-cluster"
|
||||||
|
{{- with .Values.bootstrap.initdb }}
|
||||||
|
{{- with (omit . "postInitApplicationSQL") }}
|
||||||
|
{{- . | toYaml | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
externalClusters:
|
externalClusters:
|
||||||
- name: "{{ include "cluster.name" . }}-cluster"
|
- name: "{{ include "cluster.name" . }}-cluster"
|
||||||
{{- with .Values.replica.externalCluster }}
|
{{- with .Values.replica.externalCluster }}
|
||||||
|
@@ -60,4 +60,5 @@ spec:
|
|||||||
enablePodMonitor: {{ and .Values.cluster.monitoring.enabled .Values.cluster.monitoring.podMonitor.enabled }}
|
enablePodMonitor: {{ and .Values.cluster.monitoring.enabled .Values.cluster.monitoring.podMonitor.enabled }}
|
||||||
|
|
||||||
{{ include "cluster.bootstrap" . | nindent 2 }}
|
{{ include "cluster.bootstrap" . | nindent 2 }}
|
||||||
|
|
||||||
{{ include "cluster.backup" . | nindent 2 }}
|
{{ include "cluster.backup" . | nindent 2 }}
|
||||||
|
@@ -21,7 +21,7 @@ cluster:
|
|||||||
|
|
||||||
image:
|
image:
|
||||||
repository: ghcr.io/cloudnative-pg/postgresql
|
repository: ghcr.io/cloudnative-pg/postgresql
|
||||||
tag: "16.6-20"
|
tag: "16.6-22"
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
|
|
||||||
# The UID and GID of the postgres user inside the image
|
# The UID and GID of the postgres user inside the image
|
||||||
@@ -80,6 +80,7 @@ cluster:
|
|||||||
hot_standby_feedback: "on"
|
hot_standby_feedback: "on"
|
||||||
shared_preload_libraries: []
|
shared_preload_libraries: []
|
||||||
|
|
||||||
|
bootstrap:
|
||||||
# BootstrapInitDB is the configuration of the bootstrap process when initdb is used.
|
# BootstrapInitDB is the configuration of the bootstrap process when initdb is used.
|
||||||
# See: https://cloudnative-pg.io/documentation/current/bootstrap/
|
# See: https://cloudnative-pg.io/documentation/current/bootstrap/
|
||||||
# See: https://cloudnative-pg.io/documentation/current/cloudnative-pg.v1/#postgresql-cnpg-io-v1-bootstrapinitdb
|
# See: https://cloudnative-pg.io/documentation/current/cloudnative-pg.v1/#postgresql-cnpg-io-v1-bootstrapinitdb
|
||||||
@@ -202,4 +203,4 @@ backup:
|
|||||||
retentionPolicy: "14d"
|
retentionPolicy: "14d"
|
||||||
|
|
||||||
# Scheduled backup in cron format
|
# Scheduled backup in cron format
|
||||||
schedule: "0 0 */3 * *"
|
schedule: "0 0 0 * * *"
|
||||||
|
Reference in New Issue
Block a user