Skip to content

Commit

Permalink
add support for priorityClassName (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
puckpuck authored Aug 12, 2021
1 parent b47d52c commit f689bc0
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/honeycomb/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
name: honeycomb
description: Honeycomb Kubernetes Agent
version: 1.0.3
version: 1.0.4
appVersion: 2.1.3
keywords:
- observability
Expand Down
1 change: 1 addition & 0 deletions charts/honeycomb/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ The following table lists the configurable parameters of the Honeycomb chart, an
| `nodeSelector` | Node labels for pod assignment | `{}` |
| `tolerations` | Tolerations for pod assignment | `[]`|
| `affinity` | Map of node/pod affinities | `{}` |
| `priorityClassName` | Pod priority for Honeycomb agent | `nil` |
| `rbac.create` | Specify whether RBAC resources should be created and used | `true` |
| `serviceAccount.create` | Specify whether a ServiceAccount should be created | `true` |
| `serviceAccount.name` | The name of the ServiceAccount to create | Generated using the `honeycomb.fullname` template |
Expand Down
3 changes: 3 additions & 0 deletions charts/honeycomb/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ spec:
labels:
{{- include "honeycomb.agent.selectorLabels" . | nindent 8 }}
spec:
{{- if .Values.priorityClassName }}
priorityClassName: {{ .Values.priorityClassName | quote }}
{{- end }}
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
Expand Down
3 changes: 3 additions & 0 deletions charts/honeycomb/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ tolerations:

affinity: {}

## Optional priorityClassName for Honeycomb Agent
priorityClassName: ""

rbac:
# Specifies whether roles based access control rules should be created.
create: true
Expand Down

0 comments on commit f689bc0

Please sign in to comment.