Skip to content

Commit 3c8db8d

Browse files
mayastor-borsniladrih
mayastor-bors
andcommitted
chore(bors): merge pull request #606
606: Cherry-pick PR 605 to release/2.7 r=niladrih a=niladrih Co-authored-by: Niladri Halder <niladri.halder26@gmail.com>
2 parents c139bcc + 05385bb commit 3c8db8d

7 files changed

+14
-8
lines changed

chart/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,6 @@ dependencies:
4545
repository: https://nats-io.github.io/k8s/helm/charts/
4646
condition: eventing.enabled
4747
- name: localpv-provisioner
48-
version: 4.1.2
48+
version: 4.1.4
4949
repository: https://openebs.github.io/dynamic-localpv-provisioner
5050
condition: localpv-provisioner.enabled

chart/README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ This removes all the Kubernetes components associated with the chart and deletes
5959
| https://grafana.github.io/helm-charts | loki-stack | 2.9.11 |
6060
| https://jaegertracing.github.io/helm-charts | jaeger-operator | 2.50.1 |
6161
| https://nats-io.github.io/k8s/helm/charts/ | nats | 0.19.14 |
62-
| https://openebs.github.io/dynamic-localpv-provisioner | localpv-provisioner | 4.1.2 |
62+
| https://openebs.github.io/dynamic-localpv-provisioner | localpv-provisioner | 4.1.4 |
6363

6464
## Values
6565

@@ -189,6 +189,7 @@ This removes all the Kubernetes components associated with the chart and deletes
189189
| io_engine.&ZeroWidthSpace;tolerations | Set tolerations, overrides global | `[]` |
190190
| localpv-provisioner.&ZeroWidthSpace;enabled | Enables the openebs dynamic-localpv-provisioner. If disabled, modify etcd and loki-stack storage class accordingly. | `true` |
191191
| localpv-provisioner.&ZeroWidthSpace;hostpathClass.&ZeroWidthSpace;enabled | Enable default hostpath localpv StorageClass. | `false` |
192+
| localpv-provisioner.&ZeroWidthSpace;localpv.&ZeroWidthSpace;priorityClassName | Set the PriorityClass for the LocalPV Hostpath provisioner Deployment. | `"{{ .Release.Name }}-cluster-critical"` |
192193
| loki-stack.&ZeroWidthSpace;enabled | Enable loki log collection for our components | `true` |
193194
| loki-stack.&ZeroWidthSpace;localpvScConfig.&ZeroWidthSpace;basePath | Host path where local etcd data is stored in. | `"/var/local/{{ .Release.Name }}/localpv-hostpath/loki"` |
194195
| loki-stack.&ZeroWidthSpace;localpvScConfig.&ZeroWidthSpace;reclaimPolicy | ReclaimPolicy of loki's localpv hostpath storage class. | `"Delete"` |

chart/templates/mayastor/agents/core/agent-core-deployment.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ spec:
2020
{{ include "label_prefix" . }}/version: {{ .Chart.Version }}
2121
{{ include "label_prefix" . }}/logging: "true"
2222
spec:
23-
serviceAccount: {{ .Release.Name }}-service-account
23+
serviceAccountName: {{ .Release.Name }}-service-account
2424
imagePullSecrets:
2525
{{- include "base_pull_secrets" . }}
2626
initContainers:

chart/templates/mayastor/csi/csi-controller-deployment.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ spec:
2121
{{ include "label_prefix" . }}/logging: "true"
2222
spec:
2323
hostNetwork: true
24-
serviceAccount: {{ .Release.Name }}-service-account
24+
serviceAccountName: {{ .Release.Name }}-service-account
2525
dnsPolicy: ClusterFirstWithHostNet
2626
imagePullSecrets:
2727
{{- include "base_pull_secrets" . }}
2828
initContainers:
2929
{{- include "jaeger_collector_init_container" . }}
3030
{{- include "rest_agent_init_container" . }}
31-
{{- if $pcName := include "priority_class" (dict "template" . "localPriorityClass" .Values.csi.controller.priorityClassName) }}
31+
{{- if $pcName := include "priority_class_with_default" (dict "template" . "localPriorityClass" .Values.csi.controller.priorityClassName) }}
3232
priorityClassName: {{ $pcName }}
3333
{{- end }}
3434
{{- if .Values.nodeSelector }}

chart/templates/mayastor/csi/csi-node-daemonset.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ spec:
2727
{{ include "label_prefix" . }}/version: {{ .Chart.Version }}
2828
{{ include "label_prefix" . }}/logging: "true"
2929
spec:
30-
serviceAccount: {{ .Release.Name }}-service-account
30+
serviceAccountName: {{ .Release.Name }}-service-account
3131
hostNetwork: true
3232
dnsPolicy: ClusterFirstWithHostNet
3333
imagePullSecrets:

chart/templates/mayastor/operators/operator-diskpool-deployment.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ spec:
2020
{{ include "label_prefix" . }}/version: {{ .Chart.Version }}
2121
{{ include "label_prefix" . }}/logging: "true"
2222
spec:
23-
serviceAccount: {{ .Release.Name }}-service-account
23+
serviceAccountName: {{ .Release.Name }}-service-account
2424
imagePullSecrets:
2525
{{- include "base_pull_secrets" . }}
2626
initContainers:
2727
{{- include "base_init_containers" . }}
28-
{{- if $pcName := include "priority_class" (dict "template" . "localPriorityClass" .Values.operators.pool.priorityClassName) }}
28+
{{- if $pcName := include "priority_class_with_default" (dict "template" . "localPriorityClass" .Values.operators.pool.priorityClassName) }}
2929
priorityClassName: {{ $pcName }}
3030
{{- end }}
3131
{{- if .Values.nodeSelector }}

chart/values.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -826,6 +826,11 @@ storageClass:
826826
localpv-provisioner:
827827
# -- Enables the openebs dynamic-localpv-provisioner. If disabled, modify etcd and loki-stack storage class accordingly.
828828
enabled: true
829+
830+
localpv:
831+
# -- Set the PriorityClass for the LocalPV Hostpath provisioner Deployment.
832+
priorityClassName: "{{ .Release.Name }}-cluster-critical"
833+
829834
hostpathClass:
830835
# -- Enable default hostpath localpv StorageClass.
831836
enabled: false

0 commit comments

Comments
 (0)