Skip to content

Commit

Permalink
Merge pull request #1562 from jbw976/backport-helm-empty-k8sver
Browse files Browse the repository at this point in the history
Skips wait in chart when K8S version unavailable
  • Loading branch information
jbw976 committed Mar 9, 2018
2 parents 7ce7de6 + ab45b78 commit 1ad48d3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cluster/charts/rook/templates/wait-on-resources-job.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if and .Capabilities.KubeVersion.Major .Capabilities.KubeVersion.Minor }}
apiVersion: batch/v1
kind: Job
metadata:
Expand Down Expand Up @@ -41,3 +42,4 @@ spec:
{{- if .Values.rbacEnable }}
serviceAccountName: rook-operator
{{- end }}
{{- end }}

0 comments on commit 1ad48d3

Please sign in to comment.