Skip to content

Commit bafce44

Browse files
authored
Merge pull request #228 from brookelew/priority-class-name
step-issuer: Allow setting priorityClassName on pods
2 parents 63596f5 + 81649a4 commit bafce44

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

step-issuer/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ and their default values.
5252
| `image.pullPolicy` | Step Issuer image pull policy | `IfNotPresent` |
5353
| `deployment.args.enableLeaderElection` | Enable k8s controller leader election. | `true` |
5454
| `deployment.args.disableApprovalCheck` | To disable cert-manager approvals on old version of cert-manager. | `false` |
55-
| `deployment.strategy` | To change the deployment strategy. | `{}` |
55+
| `deployment.strategy` | To change the deployment strategy. | `{}` |
56+
| `deployment.priorityClassName` | Pod priority for the Kubernetes scheduler | `""` |
5657
| `stepIssuer.create` | If we should automatically create a StepIssuer | `false` |
5758
| `stepIssuer.caUrl` | Step Certificates CA URL. This is usually the step certificates service FQDN. | `""` |
5859
| `stepIssuer.caBundle` | Step Certificates root certificate in a single-line base64 string. | `""` |

step-issuer/templates/deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ spec:
3030
{{- if .Values.serviceAccount.create }}
3131
serviceAccountName: {{ include "step-issuer.serviceAccountName" . }}
3232
{{- end }}
33+
{{- with $.Values.deployment.priorityClassName }}
34+
priorityClassName: {{ . }}
35+
{{- end }}
3336
containers:
3437
- image: "{{ .Values.kubeRBACproxy.image.repository }}:{{ .Values.kubeRBACproxy.image.tag }}"
3538
imagePullPolicy: {{ .Values.kubeRBACproxy.image.pullPolicy }}

step-issuer/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ deployment:
3535
terminationGracePeriodSeconds: 10
3636
# Strategy used for the deployment
3737
strategy: {}
38+
priorityClassName: ""
3839

3940
resources:
4041
limits:

0 commit comments

Comments
 (0)