Skip to content

Commit

Permalink
Add support for custom service accounts
Browse files Browse the repository at this point in the history
  • Loading branch information
faridco committed Jul 2, 2024
1 parent 93c274f commit 0096c77
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion aidbox/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ home: https://www.health-samurai.io/aidbox
icon: https://aidbox.github.io/helm-charts/icon.png?1712669999
name: aidbox
type: application
version: 0.1.9
version: 0.1.10
3 changes: 2 additions & 1 deletion aidbox/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[Aidbox](https://docs.aidbox.app/) is an efficient and scalable FHIR server built to handle healthcare data effectively, empowering healthcare providers and developers alike with its comprehensive platform for storing, accessing, and exchanging healthcare information in accordance with FHIR standards.

![Version: 0.1.9](https://img.shields.io/badge/Version-0.1.9-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: edge](https://img.shields.io/badge/AppVersion-edge-informational?style=flat-square)
![Version: 0.1.10](https://img.shields.io/badge/Version-0.1.10-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: edge](https://img.shields.io/badge/AppVersion-edge-informational?style=flat-square)

## Installation

Expand Down Expand Up @@ -77,6 +77,7 @@ It will install the Aidbox in the `aidbox` namespace, creating that namespace if
| service.apiPort | int | `80` | |
| service.metricsPort | int | `80` | |
| service.type | string | `"ClusterIP"` | |
| serviceAccount.name | string | `""` | ServiceAccount to use |
| serviceMonitor.enabled | bool | `false` | |
| startupProbe.failureThreshold | int | `10` | |
| startupProbe.httpGet.path | string | `"/health"` | |
Expand Down
3 changes: 3 additions & 0 deletions aidbox/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ spec:
volumeMounts:
{{- toYaml . | nindent 12 }}
{{- end }}
{{- if .Values.serviceAccount.name }}
serviceAccountName: {{ .Values.serviceAccount.name }}
{{- end }}
{{- with .Values.volumes }}
volumes:
{{- toYaml . | nindent 8 }}
Expand Down
4 changes: 4 additions & 0 deletions aidbox/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,3 +100,7 @@ securityContext:

extraEnvFromConfigMaps: []
extraEnvFromSecrets: []

serviceAccount:
# -- ServiceAccount to use
name: ""

0 comments on commit 0096c77

Please sign in to comment.