Skip to content
Open
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 charts/mailcrab/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ A Helm chart for deploying MailCrab in Kubernetes.
| nameOverride | string | `""` | Configure the name override for resources. |
| podAnnotations | object | `{}` | Configure annotations to be required by the pods to run the application. |
| podSecurityContext | object | `{}` | Configure the pod security context. |
| priorityClassName | string | `""` | |
| replicaCount | int | `1` | Configure the number of replicas to run. |
| resources | object | `{}` | Enable autoscaling for the deployment. |
| securityContext | object | `{}` | Configure the security context for the container. |
Expand Down
1 change: 1 addition & 0 deletions charts/mailcrab/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ spec:
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
priorityClassName: {{ .Values.priorityClassName }}
serviceAccountName: {{ include "mailcrab.serviceAccountName" . }}
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
Expand Down
4 changes: 4 additions & 0 deletions charts/mailcrab/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ securityContext: {}
# runAsNonRoot: true
# runAsUser: 1000

# Name of an existing PriorityClass to assign, defining the importance of the pods compared to other pods in the cluster.
# Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/
priorityClassName: ""

service:
# -- The type of service to create.
type: ClusterIP
Expand Down