forked from k8ssandra/k8ssandra
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use non-root C* images (k8ssandra#336)
* Add ability to define s3_compatible settings as well as aws region * Change storage_properties to use map with open properties. Also, simplify the helm chart rendering, remove restriction on the type of storage and remove the restriction of bucketSecret for S3 * Fixes and a test * Fix tests * use non-root C* images * fix wget command, update groupid and userid * generate jvm11-clients.options which is needed for nodetool This is tempoary until datastax/cass-config-definitions#49 is merged. * simply the command * fix unit tests * rebase, fix security contexts, and fix google storage support * fix tests * update default management-api images * fix configmap name and introduce helper template to reduce duplication * refactor common medusa env var code into a helper template * move medusa properties up a level * fix syntax error * remove SecurityContext and update Medusa image The SecurityContext isn't needed since the Cassandra and Medusa images are both already configured to run as the cassandra user/group. * rebase, fix merge conflicts, bump chart version * remove unused code * updates from PR review * update comment on supported C* versions and fix bad merge * add 4.0 logic for jvm options and update tests Co-authored-by: Michael Burman <[email protected]> Co-authored-by: Michael Burman <[email protected]> Co-authored-by: Erik Merkle <[email protected]>
- Loading branch information
1 parent
061743f
commit 7a817b5
Showing
10 changed files
with
276 additions
and
204 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
{{- if .Values.backupRestore.medusa.enabled }} | ||
{{- if and .Values.cassandra.auth.enabled (not .Values.backupRestore.medusa.cassandraUser.secret) }} | ||
{{- if .Values.medusa.enabled }} | ||
{{- if and .Values.cassandra.auth.enabled (not .Values.medusa.cassandraUser.secret) }} | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: {{ include "k8ssandra.clusterName" . }}-medusa | ||
labels: {{ include "k8ssandra.labels" . | indent 4 }} | ||
type: Opaque | ||
data: | ||
username: {{ (default "medusa" .Values.backupRestore.medusa.cassandraUser.username) | b64enc | quote }} | ||
username: {{ (default "medusa" .Values.medusa.cassandraUser.username) | b64enc | quote }} | ||
password: {{ include "k8ssandra-common.password" . }} | ||
{{- end }} | ||
{{- end }} |
Oops, something went wrong.