Skip to content

Commit

Permalink
Ensure unique priority class helm values (#111) (#112)
Browse files Browse the repository at this point in the history
  • Loading branch information
kwiatekus authored Sep 29, 2023
1 parent aa4bfa8 commit 7d0fddd
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion charts/warden/charts/admission/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,5 @@ spec:
- name: certs
secret:
secretName: {{ .Chart.Name }}-cert
priorityClassName: {{ .Values.global.priorityClassName }}
priorityClassName: {{ .Values.global.wardenPriorityClassName }}

2 changes: 1 addition & 1 deletion charts/warden/charts/operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@ spec:
- name: config
configMap:
name: {{ .Values.global.config.configmapName }}
priorityClassName: {{ .Values.global.priorityClassName }}
priorityClassName: {{ .Values.global.wardenPriorityClassName }}
4 changes: 2 additions & 2 deletions charts/warden/templates/priorityclass.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: scheduling.k8s.io/v1
kind: PriorityClass
metadata:
name: {{ .Values.global.priorityClassName }}
value: {{ .Values.global.priorityClassValue }}
name: {{ .Values.global.wardenPriorityClassName }}
value: {{ .Values.global.wardenPriorityClassValue }}
globalDefault: false
description: "Scheduling priority of warden workloads. By default, warden workloads should not be blocked by unschedulable user workloads."
4 changes: 2 additions & 2 deletions charts/warden/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ fullnameOverride: ""
#Service configuration
global:
name: warden
priorityClassName: warden-priority
priorityClassValue: 2000000
wardenPriorityClassName: warden-priority
wardenPriorityClassValue: 2000000
operator:
image: europe-docker.pkg.dev/kyma-project/prod/warden/operator:v20230529-2de25d82
resources:
Expand Down

0 comments on commit 7d0fddd

Please sign in to comment.