diff --git a/charts/qovery/Chart.yaml b/charts/qovery/Chart.yaml index 1a54a02..e328225 100644 --- a/charts/qovery/Chart.yaml +++ b/charts/qovery/Chart.yaml @@ -68,7 +68,7 @@ dependencies: repository: file://charts/qovery-engine - name: qovery-priority-class condition: services.qovery.qovery-priority-class.enabled - version: 0.1.0 + version: 0.2.0 repository: file://charts/qovery-priority-class type: application version: 1.0.0 diff --git a/charts/qovery/charts/qovery-priority-class/Chart.yaml b/charts/qovery/charts/qovery-priority-class/Chart.yaml index c2ead75..82db691 100644 --- a/charts/qovery/charts/qovery-priority-class/Chart.yaml +++ b/charts/qovery/charts/qovery-priority-class/Chart.yaml @@ -15,9 +15,9 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.0 +version: 0.2.0 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. -appVersion: 0.1 +appVersion: 0.2 diff --git a/charts/qovery/charts/qovery-priority-class/templates/priorityclass.yaml b/charts/qovery/charts/qovery-priority-class/templates/priorityclass.yaml index 2d02454..5c526a4 100644 --- a/charts/qovery/charts/qovery-priority-class/templates/priorityclass.yaml +++ b/charts/qovery/charts/qovery-priority-class/templates/priorityclass.yaml @@ -9,4 +9,16 @@ metadata: value: 1000000 globalDefault: false description: "This priority class should be used for Qovery service pods only." +{{ end }} +{{ if .Values.priorityClass.standardPriority.enable }} +--- +apiVersion: scheduling.k8s.io/v1 +kind: PriorityClass +metadata: + name: "qovery-standard-priority" + labels: + qovery-type: "qovery-standard-priority" +value: 1000 +globalDefault: false +description: "This priority class should be used for Qovery user services pods." {{ end }} \ No newline at end of file diff --git a/charts/qovery/charts/qovery-priority-class/values.yaml b/charts/qovery/charts/qovery-priority-class/values.yaml index 5b910d1..97a176d 100644 --- a/charts/qovery/charts/qovery-priority-class/values.yaml +++ b/charts/qovery/charts/qovery-priority-class/values.yaml @@ -1,3 +1,5 @@ priorityClass: highPriority: + enable: true + standardPriority: enable: true \ No newline at end of file