Skip to content

Commit 1b62875

Browse files
wjmolinaasimpson
andauthored
[pdc-agent] add podAnnotations support (#4118)
* [pdc-agent] add podAnnotations support --------- Signed-off-by: Wilfredo J. Molina <molina.wilfredo.j@gmail.com> Co-authored-by: Adam Simpson <adam@adamsimpson.net>
1 parent 8522a28 commit 1b62875

4 files changed

Lines changed: 10 additions & 2 deletions

File tree

charts/pdc-agent/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: pdc-agent
33
description: PDC agent is an agent for connecting to Grafana Private Data source Connect
44
type: application
55
appVersion: "0.0.45"
6-
version: 0.0.4
6+
version: 0.0.5
77
home: https://grafana.com/docs/grafana-cloud/connect-externally-hosted/private-data-source-connect/
88
sources:
99
- https://github.com/grafana/pdc-agent

charts/pdc-agent/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# pdc-agent
22

3-
![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.0.45](https://img.shields.io/badge/AppVersion-0.0.45-informational?style=flat-square)
3+
![Version: 0.0.5](https://img.shields.io/badge/Version-0.0.5-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.0.45](https://img.shields.io/badge/AppVersion-0.0.45-informational?style=flat-square)
44

55
PDC agent is an agent for connecting to Grafana Private Data source Connect
66

@@ -29,6 +29,7 @@ PDC agent is an agent for connecting to Grafana Private Data source Connect
2929
| metricsPort | int | `8090` | The port where metrics are served from the pdc agent |
3030
| nameOverride | string | `""` | |
3131
| nodeSelector | object | `{}` | not required, but left in as a choice |
32+
| podAnnotations | object | `{}` | custom pod annotations |
3233
| podLabels | object | `{}` | |
3334
| podSecurityContext.fsGroup | int | `30000` | |
3435
| podSecurityContext.runAsGroup | int | `30000` | |

charts/pdc-agent/templates/deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ spec:
2424
{{- with .Values.podLabels }}
2525
{{- toYaml . | nindent 8 }}
2626
{{- end }}
27+
{{- with .Values.podAnnotations }}
28+
annotations:
29+
{{- toYaml . | nindent 8 }}
30+
{{- end }}
2731
spec:
2832
{{- if .Values.serviceAccount.create }}
2933
serviceAccountName: {{ include "pdc-agent.serviceAccountName" . }}

charts/pdc-agent/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ fullnameOverride: ""
2323
# For more information checkout: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
2424
podLabels: {}
2525

26+
# -- custom pod annotations
27+
podAnnotations: {}
28+
2629
# -- custom deployment annotations
2730
annotations: {}
2831

0 commit comments

Comments
 (0)