Skip to content

Commit

Permalink
Merge pull request #99 from OlivierCharuel/feat/deployment_annontations
Browse files Browse the repository at this point in the history
feat(pgbouncer): support deployment annotations
  • Loading branch information
pmint93 authored Feb 2, 2024
2 parents dd29584 + 7962de2 commit a0de031
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/pgbouncer/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: pgbouncer
version: "0.4.0"
version: "0.5.0"
description: A Helm chart for Pgbouncer
type: application
home: https://github.com/pmint93/helm-charts
Expand Down
1 change: 1 addition & 0 deletions charts/pgbouncer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ The following table lists the configurable parameters of the chart and their def
| imagePullSecrets | list | `[]` | Container image pull secrets |
| nameOverride | string | `""` | Override the name of release |
| fullnameOverride | string | `""` | Override the fullname of release |
| deploymentAnnotations | object | `{}` | Deployment's annotations |
| podAnnotations | object | `{}` | Pod's annotations |
| podSecurityContext | object | `{}` | Security context settings for the pod |
| securityContext | object | `{}` | Security context settings for the container |
Expand Down
4 changes: 4 additions & 0 deletions charts/pgbouncer/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ metadata:
name: {{ include "pgbouncer.fullname" . }}
labels:
{{- include "pgbouncer.labels" . | nindent 4 }}
{{- with .Values.deploymentAnnotations }}
annotations:
{{- toYaml . | nindent 8 }}
{{- end }}
spec:
replicas: {{ .Values.replicaCount }}
selector:
Expand Down
2 changes: 2 additions & 0 deletions charts/pgbouncer/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""

deploymentAnnotations: {}

podAnnotations: {}

podSecurityContext: {}
Expand Down

0 comments on commit a0de031

Please sign in to comment.