Skip to content

Commit

Permalink
feat: add support for additional labels in app chart (#107)
Browse files Browse the repository at this point in the history
  • Loading branch information
prakharmathur82 authored Sep 18, 2023
1 parent 1564d20 commit df7ed97
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion stable/app/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.5.2
version: 0.5.3
1 change: 1 addition & 0 deletions stable/app/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ The following table lists the configurable parameters of the Siren chart and the

| Key | Type | Default | Description |
| ------------------------------------- | ------ | --------------------------------------------------------------------------------------------- | -------------------------------------------------------------------- |
| additionalLabels | object | `{}` | Additional labels to be added in resources |
| affinity | object | `{}` | |
| config | object | `{}` | |
| container.command | list | `[]` | |
Expand Down
3 changes: 3 additions & 0 deletions stable/app/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,7 @@ Selector labels
{{- define "app.selectorLabels" -}}
app.kubernetes.io/name: {{ include "app.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- if .Values.additionalLabels }}
{{ toYaml .Values.additionalLabels }}
{{- end }}
{{- end }}
2 changes: 2 additions & 0 deletions stable/app/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ namespaceOverride: ""

podAnnotations: {}

additionalLabels: {}

podSecurityContext: {}
# -- Eg: fsGroup: 2000

Expand Down

0 comments on commit df7ed97

Please sign in to comment.