Skip to content

Commit

Permalink
[fluentd] Add priority class (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
stevehipwell authored Aug 10, 2020
1 parent 49f7629 commit 4e0e760
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 1 deletion.
6 changes: 6 additions & 0 deletions charts/fluentd/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- n/a

## v1.0.9 - 2020-08-10

### Added

- New `priorityClassName` values

## v1.0.6 - 2020-08-04

### Added
Expand Down
2 changes: 1 addition & 1 deletion charts/fluentd/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: fluentd
version: 1.0.8
version: 1.0.9
appVersion: 1.11.1
description: Helm chart for Fluentd running as an aggregation stateful set.
keywords:
Expand Down
1 change: 1 addition & 0 deletions charts/fluentd/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ The following table lists the configurable parameters of the _Fluentd_ chart and
| `podAnnotations` | Annotations to add to the primary container. | `{}` |
| `securityContext` | Security context for the pod. | `{}` |
| `podSecurityContext` | Security context for the primary container. | `{}` |
| `priorityClassName` | Priority class name to use. | `""` |
| `service.type` | Service type. | `ClusterIP` |
| `service.annotations` | Annotations to add to the service. | `{}` |
| `service.ports` | Ports to expose via the service. | See _values.yaml_ |
Expand Down
3 changes: 3 additions & 0 deletions charts/fluentd/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ spec:
serviceAccountName: {{ include "fluentd.serviceAccountName" . }}
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
{{- with .Values.priorityClassName }}
priorityClassName: {{- . | quote }}
{{- end }}
terminationGracePeriodSeconds: {{ .Values.terminationGracePeriodSeconds }}
containers:
- name: {{ .Chart.Name }}
Expand Down
2 changes: 2 additions & 0 deletions charts/fluentd/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ securityContext: {}
# runAsNonRoot: true
# runAsUser: 1000

priorityClassName: ""

service:
type: ClusterIP
annotations: {}
Expand Down

0 comments on commit 4e0e760

Please sign in to comment.