-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow Cassandra schema builder to use credentials #1635
Allow Cassandra schema builder to use credentials #1635
Conversation
Currently the Cassandra schema builder job only works on open Cassandra installations. This PR fixes this by modifying the script so that two environmental variables, CASSANDRA_USER and CASSANDRA_PASSWORD, could be passed in to supply these credentials. Signed-off-by: E.G. Hornbostel <eg.hornbostel@pricespider.com>
Codecov Report
@@ Coverage Diff @@
## master #1635 +/- ##
==========================================
+ Coverage 98.72% 98.74% +0.02%
==========================================
Files 191 191
Lines 9182 9182
==========================================
+ Hits 9065 9067 +2
+ Misses 91 89 -2
Partials 26 26
Continue to review full report at Codecov.
|
build failed
|
@@ -31,4 +33,9 @@ done | |||
|
|||
echo "Generating the schema for the keyspace ${KEYSPACE} and datacenter ${DATACENTER}" | |||
|
|||
MODE="${MODE}" DATACENTER="${DATACENTER}" KEYSPACE="${KEYSPACE}" /cassandra-schema/create.sh "${TEMPLATE}" | ${CQLSH} ${CQLSH_SSL} ${CQLSH_HOST} | |||
|
|||
if [ -z "$PASSWORD" ] then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing semicolon before then
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pushed fix
Signed-off-by: E.G. Hornbostel <eg.hornbostel@pricespider.com>
thanks @PS-EGHornbostel |
This follows jaegertracing#1635 in order to solve jaegertracing/jaeger-operator#469
This follows jaegertracing#1635 in order to solve jaegertracing/jaeger-operator#469 Signed-off-by: Emilien Kenler <emilien@cryptact.com>
…#1655) This follows #1635 in order to solve jaegertracing/jaeger-operator#469 Signed-off-by: Emilien Kenler <emilien@cryptact.com>
Currently the Cassandra schema builder job only works on open Cassandra installations. This PR fixes this by modifying the script so that two environmental variables, CASSANDRA_USER and CASSANDRA_PASSWORD, could be passed in to supply these credentials.
Signed-off-by: E.G. Hornbostel eg.hornbostel@pricespider.com
Which problem is this PR solving?
Short description of the changes