Skip to content

Commit

Permalink
Add option to add annotations to the PostgreSQL pod
Browse files Browse the repository at this point in the history
  • Loading branch information
Footur committed Jul 26, 2023
1 parent 0d68b50 commit c39e796
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/fider/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: fider
description: An open platform to collect and prioritize feedback
type: application
version: 0.0.3
version: 0.0.4
appVersion: 0.21.1
icon: https://fider.io/favicon-32x32.png
home: https://fider.io/
Expand Down
3 changes: 2 additions & 1 deletion charts/fider/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# fider

![Version: 0.0.3](https://img.shields.io/badge/Version-0.0.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.21.1](https://img.shields.io/badge/AppVersion-0.21.1-informational?style=flat-square)
![Version: 0.0.4](https://img.shields.io/badge/Version-0.0.4-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.21.1](https://img.shields.io/badge/AppVersion-0.21.1-informational?style=flat-square)

An open platform to collect and prioritize feedback

Expand Down Expand Up @@ -75,6 +75,7 @@ The following table lists the configurable parameters of the chart and the defau
| postgresOperator.logicalBackupSchedule | string | `"0 0 * * *"` | |
| postgresOperator.parameters | object | `{}` | Consumers of this chart can override postgres parameters as follows: |
| postgresOperator.patroni | object | `{"retry_timeout":30,"ttl":70}` | Patroni is a template for high availability (HA) PostgreSQL solutions using Python |
| postgresOperator.podAnnotations | object | `{}` | Annotations to attach arbitrary non-identifying metadata to pods. Clients such as tools and libraries can retrieve this metadata. |
| postgresOperator.podPriorityClassName | string | `""` | Consumers of this chart can set pod priority for postgres pods |
| postgresOperator.resources | object | `{}` | |
| postgresOperator.tls.enabled | bool | `false` | |
Expand Down
8 changes: 7 additions & 1 deletion charts/fider/templates/postgresql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,10 @@ spec:
tls:
secretName: "{{ $fullName }}-postgres-tls"
{{- end }}
{{- end }}
{{- if .Values.postgresOperator.podAnnotations }}
{{- with .Values.postgresOperator.podAnnotations }}
podAnnotations:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- end }}
{{- end }}
2 changes: 2 additions & 0 deletions charts/fider/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -269,3 +269,5 @@ postgresOperator:
# -- Consumers of this chart can enable logical backups on a set schedule:
enableLogicalBackup: false
logicalBackupSchedule: "0 0 * * *"
# -- Annotations to attach arbitrary non-identifying metadata to pods. Clients such as tools and libraries can retrieve this metadata.
podAnnotations: {}

0 comments on commit c39e796

Please sign in to comment.