Skip to content

Commit

Permalink
feat(chart): add extra volume/-mounts
Browse files Browse the repository at this point in the history
Signed-off-by: Dominik Pinsel <[email protected]>
  • Loading branch information
DominikPinsel committed Jan 25, 2024
1 parent a4ab520 commit 0f6252f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions charts/managed-identity-wallet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ See [helm upgrade](https://helm.sh/docs/helm/helm_upgrade/) for command document
|-----|------|---------|-------------|
| affinity | object | `{}` | Affinity configuration |
| envs | object | `{}` | envs Parameters for the application (will be provided as environment variables) |
| extraVolumeMounts | list | `[]` | add volume mounts to the miw deployment |
| extraVolumes | list | `[]` | add volumes to the miw deployment |
| fullnameOverride | string | `""` | String to fully override common.names.fullname template |
| image.pullPolicy | string | `"Always"` | PullPolicy |
| image.repository | string | `"tractusx/managed-identity-wallet"` | Image repository |
Expand Down
4 changes: 4 additions & 0 deletions charts/managed-identity-wallet/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,8 @@ spec:
{{- end }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
volumeMounts:
{{- toYaml .Values.extraVolumeMounts | nindent 12 }}

{{- with .Values.nodeSelector }}
nodeSelector:
Expand All @@ -159,3 +161,5 @@ spec:
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
volumes:
{{- toYaml .Values.extraVolumes | nindent 8 }}
6 changes: 6 additions & 0 deletions charts/managed-identity-wallet/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,12 @@ networkPolicy:
from:
- namespaceSelector: {}

# -- add volumes to the miw deployment
extraVolumes: []

# -- add volume mounts to the miw deployment
extraVolumeMounts: []

## @section Managed Identity Wallet Primary Parameters
##
miw:
Expand Down

0 comments on commit 0f6252f

Please sign in to comment.