[incubator/cassandra] Replaces '_' with '-' in keyspace name when constructing a CronJob name (#12181)

Signed-off-by: Anders Nordström <anders.nordstrom@barium.se>
This commit is contained in:
anbarium
2019-03-16 10:20:56 -07:00
committed by Kubernetes Prow Robot
parent 6c1c086bf2
commit a2e998be1a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: cassandra
version: 0.10.4
version: 0.10.5
appVersion: 3.11.3
description: Apache Cassandra is a free and open-source distributed database management
system designed to handle large amounts of data across many commodity servers, providing
@@ -7,7 +7,7 @@
apiVersion: batch/v1beta1
kind: CronJob
metadata:
name: {{ template "cassandra.fullname" $ }}-backup-{{ $schedule.keyspace }}
name: {{ template "cassandra.fullname" $ }}-backup-{{ $schedule.keyspace | replace "_" "-" }}
labels:
app: {{ template "cassandra.name" $ }}-cain
chart: {{ template "cassandra.chart" $ }}