Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions helm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,7 @@ pre-existing Service name does not automatically transfer its ownership to Helm.
| `app.extraEnv` | Additional env vars | `[]` |
| `app.extraVolumes` | Additional Pod volumes (rendered verbatim into `spec.template.spec.volumes`) | `[]` |
| `app.extraVolumeMounts` | Additional volume mounts for the app container (names must match `extraVolumes`) | `[]` |
| `app.podAnnotations` | Extra annotations for the app Pod template metadata (not the Deployment metadata); rendered verbatim into `spec.template.metadata.annotations` | `{}` |

### Data Files Storage

Expand Down
4 changes: 4 additions & 0 deletions helm/templates/app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ spec:
metadata:
labels:
{{- include "weknora.componentSelectorLabels" (dict "component" "app" "context" .) | nindent 8 }}
{{- with .Values.app.podAnnotations }}
annotations:
{{- toYaml . | nindent 8 }}
{{- end }}
spec:
{{- include "weknora.imagePullSecrets" . | nindent 6 }}
serviceAccountName: {{ include "weknora.serviceAccountName" . }}
Expand Down
6 changes: 6 additions & 0 deletions helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,12 @@ app:
# mountPath: /etc/my-config
# readOnly: true

# -- Extra annotations for the app Pod template metadata (not the Deployment
# metadata). Rendered verbatim into spec.template.metadata.annotations. Use
# for platform-level sidecar injection or metrics auto-discovery.
podAnnotations: {}
# example.com/sidecar-inject: 'true'

# -----------------------------------------------------------------------------
# Frontend (Web UI)
# -----------------------------------------------------------------------------
Expand Down
Loading