Skip to content

Commit 8ed4342

Browse files
feat(service-account): add support for extraAnnotations (#30)
1 parent b8c124a commit 8ed4342

File tree

6 files changed

+11
-4
lines changed

6 files changed

+11
-4
lines changed

peerdb-catalog/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ type: application
1313
# This is the chart version. This version number should be incremented each time you make changes
1414
# to the chart and its templates, including the app version.
1515
# Versions are expected to follow Semantic Versioning (https://semver.org/)
16-
version: 0.8.5
16+
version: 0.9.0
1717
# This is the version number of the application being deployed. This version number should be
1818
# incremented each time you make changes to the application. Versions are not expected to
1919
# follow Semantic Versioning. They should reflect the version the application is using.

peerdb-catalog/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# peerdb-catalog
22

3-
![Version: 0.8.5](https://img.shields.io/badge/Version-0.8.5-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.30.9](https://img.shields.io/badge/AppVersion-v0.30.9-informational?style=flat-square)
3+
![Version: 0.9.0](https://img.shields.io/badge/Version-0.9.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.30.9](https://img.shields.io/badge/AppVersion-v0.30.9-informational?style=flat-square)
44

55
A Helm chart for Kubernetes
66

peerdb/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ type: application
2525
# This is the chart version. This version number should be incremented each time you make changes
2626
# to the chart and its templates, including the app version.
2727
# Versions are expected to follow Semantic Versioning (https://semver.org/)
28-
version: 0.8.5
28+
version: 0.9.0
2929
# This is the version number of the application being deployed. This version number should be
3030
# incremented each time you make changes to the application. Versions are not expected to
3131
# follow Semantic Versioning. They should reflect the version the application is using.

peerdb/README.md

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

3-
![Version: 0.8.5](https://img.shields.io/badge/Version-0.8.5-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.30.9](https://img.shields.io/badge/AppVersion-v0.30.9-informational?style=flat-square)
3+
![Version: 0.9.0](https://img.shields.io/badge/Version-0.9.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.30.9](https://img.shields.io/badge/AppVersion-v0.30.9-informational?style=flat-square)
44

55
Install PeerDB along with Temporal.
66

@@ -219,6 +219,7 @@ Install PeerDB along with Temporal.
219219
| peerdbUI.version | string | `nil` | Image tag to use for PeerDB UI. To use a release version prefix with `stable-` e.g. `stable-v0.30.6`. If not present, it will fall back to the `peerdb.version` value. |
220220
| pyroscope.enabled | bool | `false` | |
221221
| serviceAccount.create | bool | `true` | |
222+
| serviceAccount.extraAnnotations | object | `{}` | Extra annotations that will be applied to the service account, e.g. for AWS IAM roles, or GCP Workload Identity |
222223
| serviceAccount.name | string | `nil` | |
223224
| temporal-deploy.admintools.resources.limits.cpu | string | `"500m"` | |
224225
| temporal-deploy.admintools.resources.limits.memory | string | `"256Mi"` | |

peerdb/templates/service-account.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ metadata:
77
{{- if .Values.aws.roleArn }}
88
eks.amazonaws.com/role-arn: {{ .Values.aws.roleArn }}
99
{{- end }}
10+
{{- with .Values.serviceAccount.extraAnnotations }}
11+
{{- toYaml . | nindent 4 }}
12+
{{- end }}
1013
labels:
1114
heritage: {{ .Release.Service | quote }}
1215
release: {{ .Release.Name | quote }}

peerdb/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ azure:
3232
serviceAccount:
3333
create: true
3434
name:
35+
# -- Extra annotations that will be applied to the service account, e.g. for AWS IAM roles, or GCP Workload Identity
36+
extraAnnotations:
37+
{ }
3538
temporal:
3639
deploy:
3740
# -- Whether to deploy temporal, pulled from `TEMPORAL_DEPLOY_ENABLED` from .env

0 commit comments

Comments
 (0)