diff --git a/stable/cnp-controller/Chart.yaml b/stable/cnp-controller/Chart.yaml index a8e58165..794bf027 100644 --- a/stable/cnp-controller/Chart.yaml +++ b/stable/cnp-controller/Chart.yaml @@ -15,7 +15,7 @@ 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.0.1 +version: 0.0.2 # 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 diff --git a/stable/cnp-controller/templates/deployment-image-pull-secrets.yaml b/stable/cnp-controller/templates/deployment-image-pull-secrets.yaml index e237d914..1b0fe3e5 100644 --- a/stable/cnp-controller/templates/deployment-image-pull-secrets.yaml +++ b/stable/cnp-controller/templates/deployment-image-pull-secrets.yaml @@ -28,6 +28,9 @@ spec: serviceAccountName: {{ include "cnp-controller.serviceAccountName" . }} securityContext: {{- toYaml .Values.podSecurityContext | nindent 8 }} + {{- if .Values.priorityClassName }} + priorityClassName: {{ .Values.priorityClassName }} + {{- end }} containers: - name: {{ .Chart.Name }} securityContext: diff --git a/stable/cnp-controller/values.yaml b/stable/cnp-controller/values.yaml index 60dfa214..5677bfa8 100644 --- a/stable/cnp-controller/values.yaml +++ b/stable/cnp-controller/values.yaml @@ -20,6 +20,9 @@ podLabels: {} podSecurityContext: {} # fsGroup: 2000 +## PriorityClassName indicates the Pod priority and hence importance of a Pod relative to other Pods. +priorityClassName: "" + securityContext: {} # capabilities: # drop: