mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
Add parentheses around 'or' parameters to fix cron-job installation (#4088)
This commit is contained in:
committed by
k8s-ci-robot
parent
b91b651a84
commit
ae2a474b0c
@@ -2,7 +2,7 @@ apiVersion: v1
|
||||
appVersion: 1.2.0
|
||||
description: A Jaeger Helm chart for Kubernetes
|
||||
name: jaeger
|
||||
version: 0.3.6
|
||||
version: 0.3.7
|
||||
keywords:
|
||||
- jaeger
|
||||
- opentracing
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{{- if .Values.spark.enabled -}}
|
||||
{{- if or .Capabilities.APIVersions.Has "batch/v1beta1" .Capabilities.APIVersions.Has "batch/v2alpha1" -}}
|
||||
{{- if or (.Capabilities.APIVersions.Has "batch/v1beta1") (.Capabilities.APIVersions.Has "batch/v2alpha1") -}}
|
||||
apiVersion: {{ template "cronjob.apiVersion" $ }}
|
||||
kind: CronJob
|
||||
metadata:
|
||||
|
||||
Reference in New Issue
Block a user