-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add enabled field for BackRestSidecar spec. By default enabled is true (original behaviour). Setting to false will drop back-rest container deployment.
- Loading branch information
1 parent
b74c4a2
commit 282ba56
Showing
8 changed files
with
65 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
controllers/cassandracluster/testdata/cassandracluster-disable-backrest.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
apiVersion: db.orange.com/v2 | ||
kind: CassandraCluster | ||
metadata: | ||
name: cassandra-demo | ||
labels: | ||
cluster: k8s.pic | ||
namespace: ns | ||
spec: | ||
backRestSidecar: | ||
enabled: false | ||
dataCapacity: 3Gi | ||
nodesPerRacks: 3 | ||
deletePVC: true | ||
autoPilot: true | ||
resources: | ||
limits: &limits | ||
cpu: 1 | ||
memory: 2Gi | ||
requests: *limits | ||
topology: | ||
dc: | ||
- name: dc1 | ||
rack: | ||
- name: rack1 |