mirror of https://github.com/backstage/charts.git
feat: allow setting podAnnotations (#54)
This commit is contained in:
parent
52a9c3ae77
commit
75f152057b
|
|
@ -15,7 +15,7 @@ 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.14.0
|
||||
version: 0.15.0
|
||||
|
||||
dependencies:
|
||||
- name: common
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
# Backstage Helm Chart
|
||||
|
||||
 
|
||||
 
|
||||
|
||||
A Helm chart for deploying a Backstage application
|
||||
|
||||
|
|
@ -104,6 +104,7 @@ The command removes all the Kubernetes components associated with the chart and
|
|||
| backstage.image.repository | Backstage image repository | string | `"backstage/backstage"` |
|
||||
| backstage.image.tag | Backstage image tag (immutable tags are recommended) | string | `"latest"` |
|
||||
| backstage.initContainers | Backstage container init containers | list | `[]` |
|
||||
| backstage.podAnnotations | Annotations to add to the backend deployment pods | object | `{}` |
|
||||
| backstage.podSecurityContext | Security settings for a Pod. The security settings that you specify for a Pod apply to all Containers in the Pod. <br /> Ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod | object | `{}` |
|
||||
| backstage.resources | Resource requests/limits <br /> Ref: https://kubernetes.io/docs/user-guide/compute-resources/ <!-- E.g. resources: limits: memory: 1Gi cpu: 1000m requests: memory: 250Mi cpu: 100m --> | object | `{}` |
|
||||
| backstage.tolerations | Node tolerations for server scheduling to nodes with taints <br /> Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/ | list | `[]` |
|
||||
|
|
|
|||
|
|
@ -26,6 +26,9 @@ spec:
|
|||
app.kubernetes.io/component: backstage
|
||||
annotations:
|
||||
checksum/app-config: {{ include "common.tplvalues.render" ( dict "value" .Values.backstage.appConfig "context" $) | sha256sum }}
|
||||
{{- if .Values.backstage.podAnnotations }}
|
||||
{{- include "common.tplvalues.render" ( dict "value" .Values.backstage.podAnnotations "context" $ ) | nindent 8 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
serviceAccountName: {{ include "backstage.serviceAccountName" . }}
|
||||
{{- if .Values.backstage.podSecurityContext }}
|
||||
|
|
|
|||
|
|
@ -174,6 +174,9 @@ backstage:
|
|||
# value: "value"
|
||||
# effect: "NoSchedule|PreferNoSchedule|NoExecute"
|
||||
|
||||
# -- Annotations to add to the backend deployment pods
|
||||
podAnnotations: {}
|
||||
|
||||
## @section Traffic Exposure parameters
|
||||
|
||||
## Service parameters
|
||||
|
|
|
|||
Loading…
Reference in New Issue