Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Annotations for the Postges Pod #5

Merged
merged 1 commit into from
Jul 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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: {}