Skip to content

Commit

Permalink
fix helm chart liveness check and psp clusterrole typo (#41)
Browse files Browse the repository at this point in the history
* Remove non-existing -c flag
* Fix psp clusterrole template typo
* Updated chart version to 0.3.2

Co-authored-by: Vid Jelen <[email protected]>
  • Loading branch information
Atharex and Vid Jelen authored May 27, 2021
1 parent a372983 commit 3d81f29
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion deploy/helm/charts/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Helm chart for OpenEBS Dynamic NFS PV. For instructions to install
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.
version: 0.3.1
version: 0.3.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.
appVersion: 0.3.0
Expand Down
2 changes: 1 addition & 1 deletion deploy/helm/charts/templates/clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ rules:
- nonResourceURLs: ["/metrics"]
verbs: ["get"]

{{- if .Values.rbac.pspEnabled}}}
{{- if .Values.rbac.pspEnabled }}
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
Expand Down
2 changes: 1 addition & 1 deletion deploy/helm/charts/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ spec:
command:
- sh
- -c
- test `pgrep -c "^provisioner-nfs.*"` = 1
- test `pgrep "^provisioner-nfs.*"` = 1
initialDelaySeconds: {{ .Values.nfsProvisioner.healthCheck.initialDelaySeconds }}
periodSeconds: {{ .Values.nfsProvisioner.healthCheck.periodSeconds }}
{{- if .Values.nfsProvisioner.nodeSelector }}
Expand Down

0 comments on commit 3d81f29

Please sign in to comment.