Compare commits
38 Commits
postgres-c
...
generic-de
Author | SHA1 | Date | |
---|---|---|---|
77dd85362e | |||
d5bb83bf84 | |||
11d3dd927b | |||
1b67b5cbb6 | |||
56fe199fb9 | |||
8ec7f590b2 | |||
d2444fb544 | |||
202a534e8e | |||
c36e4e371f | |||
1ac9444bb2 | |||
275fcd8568 | |||
158d4ca676 | |||
32e232d8e2 | |||
93d2f916fb | |||
b1a6a2fd39 | |||
d3307d4f70 | |||
1b7018d3bd | |||
b75721ae1d | |||
|
e0e4f6ee8a | ||
|
7dd80d4528 | ||
24af841f19 | |||
16211d4c62 | |||
513c46c957 | |||
3fad4e4ff0 | |||
1f867e0276 | |||
601790ab7a | |||
16ebdda6a4 | |||
dbf8f14512 | |||
22dcd7a14c | |||
8862d97c27 | |||
1f4cd543c0 | |||
4aac272e98 | |||
b8602fb919 | |||
fb34897269 | |||
ec27eff4da | |||
2b31df483e | |||
53191f1d68 | |||
172526fb79 |
@@ -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
|
||||||
|
19
.pre-commit-config.yaml
Normal file
19
.pre-commit-config.yaml
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
repos:
|
||||||
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
|
rev: v2.3.0
|
||||||
|
hooks:
|
||||||
|
- id: end-of-file-fixer
|
||||||
|
- id: trailing-whitespace
|
||||||
|
- id: check-added-large-files
|
||||||
|
- id: check-yaml
|
||||||
|
exclude: 'charts/'
|
||||||
|
args:
|
||||||
|
- --multi
|
||||||
|
- repo: https://github.com/norwoodj/helm-docs
|
||||||
|
rev: v1.14.2
|
||||||
|
hooks:
|
||||||
|
- id: helm-docs
|
||||||
|
args:
|
||||||
|
- --chart-search-root=charts
|
||||||
|
- --template-files=./_templates.gotmpl
|
||||||
|
- --template-files=README.md.gotmpl
|
@@ -1,6 +1,6 @@
|
|||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
name: cloudflared
|
name: cloudflared
|
||||||
version: 1.8.0
|
version: 1.12.3
|
||||||
description: Cloudflared Tunnel
|
description: Cloudflared Tunnel
|
||||||
keywords:
|
keywords:
|
||||||
- cloudflare
|
- cloudflare
|
||||||
@@ -13,6 +13,6 @@ maintainers:
|
|||||||
dependencies:
|
dependencies:
|
||||||
- name: common
|
- name: common
|
||||||
repository: https://bjw-s.github.io/helm-charts/
|
repository: https://bjw-s.github.io/helm-charts/
|
||||||
version: 3.4.0
|
version: 3.6.0
|
||||||
icon: https://avatars.githubusercontent.com/u/314135?s=48&v=4
|
icon: https://avatars.githubusercontent.com/u/314135?s=48&v=4
|
||||||
appVersion: "2024.9.1"
|
appVersion: "2024.12.2"
|
||||||
|
@@ -1,16 +1,35 @@
|
|||||||
## Introduction
|
# cloudflared
|
||||||
|
|
||||||
[Cloudflared](https://github.com/cloudflare/cloudflared)
|
 
|
||||||
|
|
||||||
Contains the command-line client for Cloudflare Tunnel, a tunneling daemon that proxies traffic from the Cloudflare network to your origins.
|
Cloudflared Tunnel
|
||||||
|
|
||||||
This chart bootstraps a [Cloudflared](https://github.com/cloudflare/cloudflared) tunnel on a [Kubernetes](https://kubernetes.io) cluster using the [Helm](https://helm.sh) package manager.
|
## Maintainers
|
||||||
|
|
||||||
## Prerequisites
|
| Name | Email | Url |
|
||||||
|
| ---- | ------ | --- |
|
||||||
|
| alexlebens | | |
|
||||||
|
|
||||||
- Kubernetes
|
## Source Code
|
||||||
- Helm
|
|
||||||
|
|
||||||
## Parameters
|
* <https://github.com/cloudflare/cloudflared>
|
||||||
|
* <https://github.com/bjw-s/helm-charts/tree/main/charts/library/common>
|
||||||
|
|
||||||
See the [values files](values.yaml).
|
## Requirements
|
||||||
|
|
||||||
|
| Repository | Name | Version |
|
||||||
|
|------------|------|---------|
|
||||||
|
| https://bjw-s.github.io/helm-charts/ | common | 3.6.0 |
|
||||||
|
|
||||||
|
## Values
|
||||||
|
|
||||||
|
| Key | Type | Default | Description |
|
||||||
|
|-----|------|---------|-------------|
|
||||||
|
| existingSecretKey | string | `"cf-tunnel-token"` | Name of key that contains the token in the existingSecret |
|
||||||
|
| existingSecretName | string | `"cloudflared-secret"` | Name of existing secret that contains Cloudflare token |
|
||||||
|
| image | object | `{"pullPolicy":"IfNotPresent","repository":"cloudflare/cloudflared","tag":"2024.12.2"}` | Default image |
|
||||||
|
| name | string | `"cloudflared"` | Name override of release |
|
||||||
|
| resources | object | `{"requests":{"cpu":"100m","memory":"128Mi"}}` | Default resources |
|
||||||
|
|
||||||
|
----------------------------------------------
|
||||||
|
Autogenerated from chart metadata using [helm-docs v1.14.2](https://github.com/norwoodj/helm-docs/releases/v1.14.2)
|
||||||
|
@@ -1,10 +1,19 @@
|
|||||||
|
# -- Name override of release
|
||||||
name: cloudflared
|
name: cloudflared
|
||||||
|
|
||||||
|
# -- Name of existing secret that contains Cloudflare token
|
||||||
existingSecretName: cloudflared-secret
|
existingSecretName: cloudflared-secret
|
||||||
|
|
||||||
|
# -- Name of key that contains the token in the existingSecret
|
||||||
existingSecretKey: cf-tunnel-token
|
existingSecretKey: cf-tunnel-token
|
||||||
|
|
||||||
|
# -- Default image
|
||||||
image:
|
image:
|
||||||
repository: cloudflare/cloudflared
|
repository: cloudflare/cloudflared
|
||||||
tag: "2024.9.1"
|
tag: "2024.12.2"
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
|
|
||||||
|
# -- Default resources
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 100m
|
cpu: 100m
|
||||||
|
18
charts/generic-device-plugin/Chart.yaml
Normal file
18
charts/generic-device-plugin/Chart.yaml
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
apiVersion: v2
|
||||||
|
name: generic-device-plugin
|
||||||
|
version: 0.1.5
|
||||||
|
description: Generic Device Plugin
|
||||||
|
keywords:
|
||||||
|
- generic-device-plugin
|
||||||
|
- device
|
||||||
|
- plugin
|
||||||
|
sources:
|
||||||
|
- https://github.com/squat/generic-device-plugin
|
||||||
|
- https://github.com/bjw-s/helm-charts/tree/main/charts/library/common
|
||||||
|
maintainers:
|
||||||
|
- name: alexlebens
|
||||||
|
dependencies:
|
||||||
|
- name: common
|
||||||
|
repository: https://bjw-s.github.io/helm-charts/
|
||||||
|
version: 3.6.0
|
||||||
|
appVersion: 0.1.5
|
37
charts/generic-device-plugin/README.md
Normal file
37
charts/generic-device-plugin/README.md
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
# generic-device-plugin
|
||||||
|
|
||||||
|
 
|
||||||
|
|
||||||
|
Generic Device Plugin
|
||||||
|
|
||||||
|
## Maintainers
|
||||||
|
|
||||||
|
| Name | Email | Url |
|
||||||
|
| ---- | ------ | --- |
|
||||||
|
| alexlebens | | |
|
||||||
|
|
||||||
|
## Source Code
|
||||||
|
|
||||||
|
* <https://github.com/squat/generic-device-plugin>
|
||||||
|
* <https://github.com/bjw-s/helm-charts/tree/main/charts/library/common>
|
||||||
|
|
||||||
|
## Requirements
|
||||||
|
|
||||||
|
| Repository | Name | Version |
|
||||||
|
|------------|------|---------|
|
||||||
|
| https://bjw-s.github.io/helm-charts/ | common | 3.6.0 |
|
||||||
|
|
||||||
|
## Values
|
||||||
|
|
||||||
|
| Key | Type | Default | Description |
|
||||||
|
|-----|------|---------|-------------|
|
||||||
|
| config | object | `{"data":"devices:\n - name: serial\n groups:\n - paths:\n - path: /dev/ttyUSB*\n - paths:\n - path: /dev/ttyACM*\n - paths:\n - path: /dev/tty.usb*\n - paths:\n - path: /dev/cu.*\n - paths:\n - path: /dev/cuaU*\n - paths:\n - path: /dev/rfcomm*\n - name: video\n groups:\n - paths:\n - path: /dev/video0\n - name: fuse\n groups:\n - count: 10\n paths:\n - path: /dev/fuse\n - name: audio\n groups:\n - count: 10\n paths:\n - path: /dev/snd\n - name: capture\n groups:\n - paths:\n - path: /dev/snd/controlC0\n - path: /dev/snd/pcmC0D0c\n - paths:\n - path: /dev/snd/controlC1\n mountPath: /dev/snd/controlC0\n - path: /dev/snd/pcmC1D0c\n mountPath: /dev/snd/pcmC0D0c\n - paths:\n - path: /dev/snd/controlC2\n mountPath: /dev/snd/controlC0\n - path: /dev/snd/pcmC2D0c\n mountPath: /dev/snd/pcmC0D0c\n - paths:\n - path: /dev/snd/controlC3\n mountPath: /dev/snd/controlC0\n - path: /dev/snd/pcmC3D0c\n mountPath: /dev/snd/pcmC0D0c\n","enabled":true}` | Config map |
|
||||||
|
| config.data | string | See [values.yaml](./values.yaml) | generic-device-plugin config file [[ref]](https://github.com/squat/generic-device-plugin#usage) |
|
||||||
|
| deviceDomain | string | `"squat.ai"` | Domain used by devices for identifcation |
|
||||||
|
| image | object | `{"pullPolicy":"Always","repository":"ghcr.io/squat/generic-device-plugin","tag":"latest"}` | Default image |
|
||||||
|
| name | string | `"generic-device-plugin"` | Name override of release |
|
||||||
|
| resources | object | `{"limit":{"cpu":"100m","memory":"20Mi"},"requests":{"cpu":"50m","memory":"10Mi"}}` | Default resources |
|
||||||
|
| service | object | `{"listenPort":8080}` | Service port |
|
||||||
|
|
||||||
|
----------------------------------------------
|
||||||
|
Autogenerated from chart metadata using [helm-docs v1.14.2](https://github.com/norwoodj/helm-docs/releases/v1.14.2)
|
82
charts/generic-device-plugin/templates/common.yaml
Normal file
82
charts/generic-device-plugin/templates/common.yaml
Normal file
@@ -0,0 +1,82 @@
|
|||||||
|
{{ include "bjw-s.common.loader.init" . }}
|
||||||
|
|
||||||
|
{{ define "genericDevicePlugin.hardcodedValues" }}
|
||||||
|
{{ if not .Values.global.nameOverride }}
|
||||||
|
global:
|
||||||
|
nameOverride: {{ .Values.name }}
|
||||||
|
{{ end }}
|
||||||
|
controllers:
|
||||||
|
main:
|
||||||
|
type: daemonset
|
||||||
|
pod:
|
||||||
|
priorityClassName: system-node-critical
|
||||||
|
tolerations:
|
||||||
|
- operator: "Exists"
|
||||||
|
effect: "NoExecute"
|
||||||
|
- operator: "Exists"
|
||||||
|
effect: "NoSchedule"
|
||||||
|
containers:
|
||||||
|
main:
|
||||||
|
image:
|
||||||
|
repository: {{ .Values.image.repository }}
|
||||||
|
tag: {{ .Values.image.tag }}
|
||||||
|
pullPolicy: {{ .Values.image.pullPolicy }}
|
||||||
|
args:
|
||||||
|
- --config=/config/config.yaml
|
||||||
|
env:
|
||||||
|
- name: LISTEN
|
||||||
|
value: :{{ .Values.service.listenPort }}
|
||||||
|
- name: PLUGIN_DIRECTORY
|
||||||
|
value: /var/lib/kubelet/device-plugins
|
||||||
|
- name: DOMAIN
|
||||||
|
value: {{ .Values.deviceDomain }}
|
||||||
|
probes:
|
||||||
|
liveness:
|
||||||
|
type: HTTP
|
||||||
|
path: /health
|
||||||
|
readiness:
|
||||||
|
type: HTTP
|
||||||
|
path: /health
|
||||||
|
startup:
|
||||||
|
type: HTTP
|
||||||
|
path: /health
|
||||||
|
securityContext:
|
||||||
|
privileged: True
|
||||||
|
configMaps:
|
||||||
|
config:
|
||||||
|
enabled: {{ .Values.config.enabled }}
|
||||||
|
data:
|
||||||
|
config.yaml: {{ toYaml .Values.config.data | nindent 8 }}
|
||||||
|
service:
|
||||||
|
main:
|
||||||
|
controller: main
|
||||||
|
ports:
|
||||||
|
http:
|
||||||
|
port: {{ .Values.service.listenPort }}
|
||||||
|
persistence:
|
||||||
|
config:
|
||||||
|
enabled: true
|
||||||
|
type: configMap
|
||||||
|
name: {{ .Values.name }}-config
|
||||||
|
device-plugins:
|
||||||
|
enabled: true
|
||||||
|
type: hostPath
|
||||||
|
hostPath: /var/lib/kubelet/device-plugins
|
||||||
|
dev:
|
||||||
|
enabled: true
|
||||||
|
type: hostPath
|
||||||
|
hostPath: /dev
|
||||||
|
serviceMonitor:
|
||||||
|
main:
|
||||||
|
serviceName: generic-device-plugin
|
||||||
|
endpoints:
|
||||||
|
- port: http
|
||||||
|
scheme: http
|
||||||
|
path: /metrics
|
||||||
|
interval: 30s
|
||||||
|
scrapeTimeout: 10s
|
||||||
|
{{ end }}
|
||||||
|
{{ $_ := mergeOverwrite .Values (include "genericDevicePlugin.hardcodedValues" . | fromYaml) }}
|
||||||
|
|
||||||
|
{{/* Render the templates */}}
|
||||||
|
{{ include "bjw-s.common.loader.generate" . }}
|
80
charts/generic-device-plugin/values.yaml
Normal file
80
charts/generic-device-plugin/values.yaml
Normal file
@@ -0,0 +1,80 @@
|
|||||||
|
# -- Name override of release
|
||||||
|
name: generic-device-plugin
|
||||||
|
|
||||||
|
# -- Default image
|
||||||
|
image:
|
||||||
|
repository: ghcr.io/squat/generic-device-plugin
|
||||||
|
pullPolicy: Always
|
||||||
|
tag: latest
|
||||||
|
|
||||||
|
# -- Domain used by devices for identifcation
|
||||||
|
deviceDomain: squat.ai
|
||||||
|
|
||||||
|
# -- Service port
|
||||||
|
service:
|
||||||
|
listenPort: 8080
|
||||||
|
|
||||||
|
# -- Default resources
|
||||||
|
resources:
|
||||||
|
limit:
|
||||||
|
cpu: 100m
|
||||||
|
memory: 20Mi
|
||||||
|
requests:
|
||||||
|
cpu: 50m
|
||||||
|
memory: 10Mi
|
||||||
|
|
||||||
|
# -- Config map
|
||||||
|
config:
|
||||||
|
enabled: true
|
||||||
|
# -- generic-device-plugin config file [[ref]](https://github.com/squat/generic-device-plugin#usage)
|
||||||
|
# @default -- See [values.yaml](./values.yaml)
|
||||||
|
data: |
|
||||||
|
devices:
|
||||||
|
- name: serial
|
||||||
|
groups:
|
||||||
|
- paths:
|
||||||
|
- path: /dev/ttyUSB*
|
||||||
|
- paths:
|
||||||
|
- path: /dev/ttyACM*
|
||||||
|
- paths:
|
||||||
|
- path: /dev/tty.usb*
|
||||||
|
- paths:
|
||||||
|
- path: /dev/cu.*
|
||||||
|
- paths:
|
||||||
|
- path: /dev/cuaU*
|
||||||
|
- paths:
|
||||||
|
- path: /dev/rfcomm*
|
||||||
|
- name: video
|
||||||
|
groups:
|
||||||
|
- paths:
|
||||||
|
- path: /dev/video0
|
||||||
|
- name: fuse
|
||||||
|
groups:
|
||||||
|
- count: 10
|
||||||
|
paths:
|
||||||
|
- path: /dev/fuse
|
||||||
|
- name: audio
|
||||||
|
groups:
|
||||||
|
- count: 10
|
||||||
|
paths:
|
||||||
|
- path: /dev/snd
|
||||||
|
- name: capture
|
||||||
|
groups:
|
||||||
|
- paths:
|
||||||
|
- path: /dev/snd/controlC0
|
||||||
|
- path: /dev/snd/pcmC0D0c
|
||||||
|
- paths:
|
||||||
|
- path: /dev/snd/controlC1
|
||||||
|
mountPath: /dev/snd/controlC0
|
||||||
|
- path: /dev/snd/pcmC1D0c
|
||||||
|
mountPath: /dev/snd/pcmC0D0c
|
||||||
|
- paths:
|
||||||
|
- path: /dev/snd/controlC2
|
||||||
|
mountPath: /dev/snd/controlC0
|
||||||
|
- path: /dev/snd/pcmC2D0c
|
||||||
|
mountPath: /dev/snd/pcmC0D0c
|
||||||
|
- paths:
|
||||||
|
- path: /dev/snd/controlC3
|
||||||
|
mountPath: /dev/snd/controlC0
|
||||||
|
- path: /dev/snd/pcmC3D0c
|
||||||
|
mountPath: /dev/snd/pcmC0D0c
|
@@ -1,6 +1,6 @@
|
|||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
name: postgres-cluster
|
name: postgres-cluster
|
||||||
version: 3.12.1
|
version: 4.0.1
|
||||||
description: Chart for cloudnative-pg cluster
|
description: Chart for cloudnative-pg cluster
|
||||||
keywords:
|
keywords:
|
||||||
- database
|
- database
|
||||||
@@ -10,4 +10,4 @@ sources:
|
|||||||
maintainers:
|
maintainers:
|
||||||
- name: alexlebens
|
- name: alexlebens
|
||||||
icon: https://avatars.githubusercontent.com/u/100373852?s=48&v=4
|
icon: https://avatars.githubusercontent.com/u/100373852?s=48&v=4
|
||||||
appVersion: v1.24.0
|
appVersion: v1.25.0
|
||||||
|
@@ -1,17 +1,99 @@
|
|||||||
## Introduction
|
# postgres-cluster
|
||||||
|
|
||||||
[CloudNative PG](https://github.com/cloudnative-pg/cloudnative-pg)
|
 
|
||||||
|
|
||||||
CloudNativePG is the Kubernetes operator that covers the full lifecycle of a highly available PostgreSQL database cluster with a primary/standby architecture, using native streaming replication.
|
Chart for cloudnative-pg cluster
|
||||||
|
|
||||||
This chart bootstraps a [CNPG](https://github.com/cloudnative-pg/cloudnative-pg) cluster on a [Kubernetes](https://kubernetes.io) cluster using the [Helm](https://helm.sh) package manager.
|
## Maintainers
|
||||||
|
|
||||||
## Prerequisites
|
| Name | Email | Url |
|
||||||
|
| ---- | ------ | --- |
|
||||||
|
| alexlebens | | |
|
||||||
|
|
||||||
- Kubernetes
|
## Source Code
|
||||||
- Helm
|
|
||||||
- CloudNative PG Operator
|
|
||||||
|
|
||||||
## Parameters
|
* <https://github.com/cloudnative-pg/cloudnative-pg>
|
||||||
|
|
||||||
See the [values files](values.yaml).
|
## Values
|
||||||
|
|
||||||
|
| Key | Type | Default | Description |
|
||||||
|
|-----|------|---------|-------------|
|
||||||
|
| backup.backupIndex | int | `1` | |
|
||||||
|
| backup.backupName | string | `""` | |
|
||||||
|
| backup.data.compression | string | `"snappy"` | |
|
||||||
|
| backup.data.encryption | string | `""` | |
|
||||||
|
| backup.data.jobs | int | `2` | |
|
||||||
|
| backup.destinationPath | string | `""` | |
|
||||||
|
| backup.enabled | bool | `false` | |
|
||||||
|
| backup.endpointCA | string | `""` | |
|
||||||
|
| backup.endpointCredentials | string | `""` | |
|
||||||
|
| backup.endpointURL | string | `""` | |
|
||||||
|
| backup.historyTags.backupRetentionPolicy | string | `""` | |
|
||||||
|
| backup.retentionPolicy | string | `"14d"` | |
|
||||||
|
| backup.schedule | string | `"0 0 0 * * *"` | |
|
||||||
|
| backup.tags.backupRetentionPolicy | string | `""` | |
|
||||||
|
| backup.wal.compression | string | `"snappy"` | |
|
||||||
|
| backup.wal.encryption | string | `""` | |
|
||||||
|
| backup.wal.maxParallel | int | `2` | |
|
||||||
|
| bootstrap.initdb | object | `{}` | |
|
||||||
|
| cluster.additionalLabels | object | `{}` | |
|
||||||
|
| cluster.affinity.enablePodAntiAffinity | bool | `true` | |
|
||||||
|
| cluster.affinity.topologyKey | string | `"kubernetes.io/hostname"` | |
|
||||||
|
| cluster.annotations | object | `{}` | |
|
||||||
|
| cluster.enableSuperuserAccess | bool | `false` | |
|
||||||
|
| cluster.image.pullPolicy | string | `"IfNotPresent"` | |
|
||||||
|
| cluster.image.repository | string | `"ghcr.io/cloudnative-pg/postgresql"` | |
|
||||||
|
| cluster.image.tag | string | `"17.2-22"` | |
|
||||||
|
| cluster.instances | int | `3` | |
|
||||||
|
| cluster.logLevel | string | `"info"` | |
|
||||||
|
| cluster.monitoring.enabled | bool | `false` | |
|
||||||
|
| cluster.monitoring.podMonitor.enabled | bool | `true` | |
|
||||||
|
| cluster.monitoring.prometheusRule.enabled | bool | `false` | |
|
||||||
|
| cluster.monitoring.prometheusRule.excludeRules | list | `[]` | |
|
||||||
|
| cluster.postgresGID | int | `26` | |
|
||||||
|
| cluster.postgresUID | int | `26` | |
|
||||||
|
| cluster.postgresql.parameters.hot_standby_feedback | string | `"on"` | |
|
||||||
|
| cluster.postgresql.parameters.max_slot_wal_keep_size | string | `"2000MB"` | |
|
||||||
|
| cluster.postgresql.parameters.shared_buffers | string | `"128MB"` | |
|
||||||
|
| cluster.postgresql.shared_preload_libraries | list | `[]` | |
|
||||||
|
| cluster.primaryUpdateMethod | string | `"switchover"` | |
|
||||||
|
| cluster.primaryUpdateStrategy | string | `"unsupervised"` | |
|
||||||
|
| cluster.priorityClassName | string | `""` | |
|
||||||
|
| cluster.resources.limits.cpu | string | `"800m"` | |
|
||||||
|
| cluster.resources.limits.hugepages-2Mi | string | `"256Mi"` | |
|
||||||
|
| cluster.resources.limits.memory | string | `"1Gi"` | |
|
||||||
|
| cluster.resources.requests.cpu | string | `"10m"` | |
|
||||||
|
| cluster.resources.requests.memory | string | `"256Mi"` | |
|
||||||
|
| cluster.storage.size | string | `"10Gi"` | |
|
||||||
|
| cluster.storage.storageClass | string | `""` | |
|
||||||
|
| cluster.walStorage.size | string | `"2Gi"` | |
|
||||||
|
| cluster.walStorage.storageClass | string | `""` | |
|
||||||
|
| mode | string | `"standalone"` | |
|
||||||
|
| nameOverride | string | `""` | Override the name of the cluster |
|
||||||
|
| recovery.data.compression | string | `"snappy"` | |
|
||||||
|
| recovery.data.encryption | string | `""` | |
|
||||||
|
| recovery.data.jobs | int | `2` | |
|
||||||
|
| recovery.destinationPath | string | `""` | |
|
||||||
|
| recovery.endpointCA | string | `""` | |
|
||||||
|
| recovery.endpointCredentials | string | `""` | |
|
||||||
|
| recovery.endpointURL | string | `""` | |
|
||||||
|
| recovery.pitrTarget.time | string | `""` | |
|
||||||
|
| recovery.recoveryIndex | int | `1` | |
|
||||||
|
| recovery.recoveryInstanceName | string | `""` | |
|
||||||
|
| recovery.recoveryServerName | string | `""` | |
|
||||||
|
| recovery.wal.compression | string | `"snappy"` | |
|
||||||
|
| recovery.wal.encryption | string | `""` | |
|
||||||
|
| recovery.wal.maxParallel | int | `2` | |
|
||||||
|
| replica.externalCluster.connectionParameters.dbname | string | `"app"` | |
|
||||||
|
| replica.externalCluster.connectionParameters.host | string | `"postgresql"` | |
|
||||||
|
| replica.externalCluster.connectionParameters.user | string | `"app"` | |
|
||||||
|
| replica.externalCluster.password.key | string | `"password"` | |
|
||||||
|
| replica.externalCluster.password.name | string | `"postgresql"` | |
|
||||||
|
| replica.importDatabases[0] | string | `"app"` | |
|
||||||
|
| replica.importRoles | list | `[]` | |
|
||||||
|
| replica.importType | string | `"microservice"` | |
|
||||||
|
| replica.postImportApplicationSQL | list | `[]` | |
|
||||||
|
| type | string | `"postgresql"` | Type of the CNPG database. Available types: * `postgresql` * `postgis` * `timescaledb` * `tensorchord` |
|
||||||
|
|
||||||
|
----------------------------------------------
|
||||||
|
Autogenerated from chart metadata using [helm-docs v1.14.2](https://github.com/norwoodj/helm-docs/releases/v1.14.2)
|
||||||
|
@@ -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 }}
|
||||||
|
@@ -18,6 +18,7 @@ spec:
|
|||||||
imagePullPolicy: {{ .Values.cluster.image.pullPolicy }}
|
imagePullPolicy: {{ .Values.cluster.image.pullPolicy }}
|
||||||
postgresUID: {{ .Values.cluster.postgresUID }}
|
postgresUID: {{ .Values.cluster.postgresUID }}
|
||||||
postgresGID: {{ .Values.cluster.postgresGID }}
|
postgresGID: {{ .Values.cluster.postgresGID }}
|
||||||
|
enableSuperuserAccess: {{ .Values.cluster.enableSuperuserAccess }}
|
||||||
walStorage:
|
walStorage:
|
||||||
size: {{ .Values.cluster.walStorage.size }}
|
size: {{ .Values.cluster.walStorage.size }}
|
||||||
storageClass: {{ .Values.cluster.walStorage.storageClass }}
|
storageClass: {{ .Values.cluster.walStorage.storageClass }}
|
||||||
@@ -60,4 +61,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,13 +21,15 @@ cluster:
|
|||||||
|
|
||||||
image:
|
image:
|
||||||
repository: ghcr.io/cloudnative-pg/postgresql
|
repository: ghcr.io/cloudnative-pg/postgresql
|
||||||
tag: "16.4-26"
|
tag: "17.2-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
|
||||||
postgresUID: 26
|
postgresUID: 26
|
||||||
postgresGID: 26
|
postgresGID: 26
|
||||||
|
|
||||||
|
enableSuperuserAccess: false
|
||||||
|
|
||||||
walStorage:
|
walStorage:
|
||||||
size: 2Gi
|
size: 2Gi
|
||||||
storageClass: ""
|
storageClass: ""
|
||||||
@@ -80,6 +82,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
|
||||||
@@ -178,9 +181,9 @@ backup:
|
|||||||
|
|
||||||
# Tags to add to backups. Add in key value beneath the type.
|
# Tags to add to backups. Add in key value beneath the type.
|
||||||
tags:
|
tags:
|
||||||
backupRetentionPolicy: "expire"
|
backupRetentionPolicy: ""
|
||||||
historyTags:
|
historyTags:
|
||||||
backupRetentionPolicy: "keep"
|
backupRetentionPolicy: ""
|
||||||
|
|
||||||
# Configuration for the WAL and data files.
|
# Configuration for the WAL and data files.
|
||||||
wal:
|
wal:
|
||||||
@@ -199,7 +202,7 @@ backup:
|
|||||||
jobs: 2
|
jobs: 2
|
||||||
|
|
||||||
# Retention policy for backups
|
# Retention policy for backups
|
||||||
retentionPolicy: "60d"
|
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