diff --git a/charts/fider/Chart.yaml b/charts/fider/Chart.yaml index 800e2d2..a69a8dc 100644 --- a/charts/fider/Chart.yaml +++ b/charts/fider/Chart.yaml @@ -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/ diff --git a/charts/fider/README.md b/charts/fider/README.md index 54c0c00..a581699 100644 --- a/charts/fider/README.md +++ b/charts/fider/README.md @@ -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 @@ -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` | | diff --git a/charts/fider/templates/postgresql.yaml b/charts/fider/templates/postgresql.yaml index f8327c6..d28c0b2 100644 --- a/charts/fider/templates/postgresql.yaml +++ b/charts/fider/templates/postgresql.yaml @@ -57,4 +57,10 @@ spec: tls: secretName: "{{ $fullName }}-postgres-tls" {{- end }} -{{- end }} \ No newline at end of file + {{- if .Values.postgresOperator.podAnnotations }} + {{- with .Values.postgresOperator.podAnnotations }} + podAnnotations: + {{- toYaml . | nindent 4 }} + {{- end }} + {{- end }} +{{- end }} diff --git a/charts/fider/values.yaml b/charts/fider/values.yaml index 7c5c875..58a3e1e 100644 --- a/charts/fider/values.yaml +++ b/charts/fider/values.yaml @@ -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: {}