Allow to configure a priorityClassName for Daemonsets
Signed-off-by: Marco Franssen <[email protected]>
This commit is contained in:
@@ -26,6 +26,7 @@ A Helm chart to install the SPIFFE CSI driver.
|
|||||||
| nodeSelector."kubernetes.io/arch" | string | `"amd64"` | |
|
| nodeSelector."kubernetes.io/arch" | string | `"amd64"` | |
|
||||||
| podAnnotations | object | `{}` | |
|
| podAnnotations | object | `{}` | |
|
||||||
| podSecurityContext | object | `{}` | |
|
| podSecurityContext | object | `{}` | |
|
||||||
|
| priorityClassName | string | `""` | Priority class assigned to daemonset pods |
|
||||||
| resources | object | `{}` | |
|
| resources | object | `{}` | |
|
||||||
| securityContext.privileged | bool | `true` | |
|
| securityContext.privileged | bool | `true` | |
|
||||||
| securityContext.readOnlyRootFilesystem | bool | `true` | |
|
| securityContext.readOnlyRootFilesystem | bool | `true` | |
|
||||||
|
|||||||
@@ -25,6 +25,9 @@ spec:
|
|||||||
nodeSelector:
|
nodeSelector:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if .Values.priorityClassName }}
|
||||||
|
priorityClassName: {{ .Values.priorityClassName }}
|
||||||
|
{{- end }}
|
||||||
containers:
|
containers:
|
||||||
# This is the container which runs the SPIFFE CSI driver.
|
# This is the container which runs the SPIFFE CSI driver.
|
||||||
- name: {{ .Chart.Name }}
|
- name: {{ .Chart.Name }}
|
||||||
|
|||||||
@@ -63,3 +63,6 @@ nodeDriverRegistrar:
|
|||||||
# limits:
|
# limits:
|
||||||
# cpu: 100m
|
# cpu: 100m
|
||||||
# memory: 64Mi
|
# memory: 64Mi
|
||||||
|
|
||||||
|
# -- Priority class assigned to daemonset pods
|
||||||
|
priorityClassName: ""
|
||||||
|
|||||||
@@ -24,6 +24,7 @@ A Helm chart to install the SPIRE agent.
|
|||||||
| nodeSelector."kubernetes.io/arch" | string | `"amd64"` | |
|
| nodeSelector."kubernetes.io/arch" | string | `"amd64"` | |
|
||||||
| podAnnotations | object | `{}` | |
|
| podAnnotations | object | `{}` | |
|
||||||
| podSecurityContext | object | `{}` | |
|
| podSecurityContext | object | `{}` | |
|
||||||
|
| priorityClassName | string | `""` | Priority class assigned to daemonset pods |
|
||||||
| resources | object | `{}` | |
|
| resources | object | `{}` | |
|
||||||
| securityContext | object | `{}` | |
|
| securityContext | object | `{}` | |
|
||||||
| server.port | int | `8081` | |
|
| server.port | int | `8081` | |
|
||||||
|
|||||||
@@ -30,6 +30,9 @@ spec:
|
|||||||
serviceAccountName: {{ include "spire-agent.serviceAccountName" . }}
|
serviceAccountName: {{ include "spire-agent.serviceAccountName" . }}
|
||||||
securityContext:
|
securityContext:
|
||||||
{{- toYaml .Values.podSecurityContext | nindent 8 }}
|
{{- toYaml .Values.podSecurityContext | nindent 8 }}
|
||||||
|
{{- if .Values.priorityClassName }}
|
||||||
|
priorityClassName: {{ .Values.priorityClassName }}
|
||||||
|
{{- end }}
|
||||||
initContainers:
|
initContainers:
|
||||||
- name: init
|
- name: init
|
||||||
# This is a small image with wait-for-it, choose whatever image
|
# This is a small image with wait-for-it, choose whatever image
|
||||||
|
|||||||
@@ -84,3 +84,6 @@ telemetry:
|
|||||||
prometheus:
|
prometheus:
|
||||||
enabled: false
|
enabled: false
|
||||||
port: 9988
|
port: 9988
|
||||||
|
|
||||||
|
# -- Priority class assigned to daemonset pods
|
||||||
|
priorityClassName: ""
|
||||||
|
|||||||
Reference in New Issue
Block a user