diff --git a/deploy/helm/charts/README.md b/deploy/helm/charts/README.md index 50245a16..4aea0495 100644 --- a/deploy/helm/charts/README.md +++ b/deploy/helm/charts/README.md @@ -103,6 +103,7 @@ helm install openebs-localpv openebs-localpv/localpv-provisioner --namespace ope | `localpv.replicas` | No. of LocalPV Provisioner replica | `1` | | `localpv.enableLeaderElection` | Enable leader election | `true` | | `localpv.affinity` | LocalPV Provisioner pod affinity | `{}` | +| `localpv.priorityClassName` | Sets priorityClassName in pod | `""` | | `rbac.create` | Enable RBAC Resources | `true` | | `rbac.pspEnabled` | Create pod security policy resources | `false` | diff --git a/deploy/helm/charts/templates/deployment.yaml b/deploy/helm/charts/templates/deployment.yaml index 0d9d9f5a..cc0f86dd 100644 --- a/deploy/helm/charts/templates/deployment.yaml +++ b/deploy/helm/charts/templates/deployment.yaml @@ -33,7 +33,7 @@ spec: {{- toYaml . | nindent 8 }} {{- end }} spec: - {{ with .Values.priorityClassName }} + {{- with .Values.localpv.priorityClassName }} priorityClassName: {{ . }} {{- end }} {{- with .Values.imagePullSecrets }} diff --git a/deploy/helm/charts/values.yaml b/deploy/helm/charts/values.yaml index a984e210..14b15def 100644 --- a/deploy/helm/charts/values.yaml +++ b/deploy/helm/charts/values.yaml @@ -51,13 +51,12 @@ localpv: tolerations: [] affinity: {} securityContext: {} + ## Sets priorityClassName in pod + priorityClassName: "" imagePullSecrets: # - name: img-pull-secret -## Sets priorityClassName in pod -priorityClassName: "" - podSecurityContext: {} # fsGroup: 2000