sct 0.1.33 → 0.1.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b2e41b42a8946aed6b8dbe5433b5c3ee3c81bff9d067468bbb1918a6e2c68923
4
- data.tar.gz: 5ccbfd3297e07405b088c5ee403ee03bad743e8fa35503c3edf4d609e31ca9a5
3
+ metadata.gz: a44226fb281fd62b413a72c92fc8f747a02be4da29e4e76a5c2f431e9dfa27b7
4
+ data.tar.gz: 8ac335f5d43ba44212e9131b93296d3796e678442aac3e6f9039d23a497fa763
5
5
  SHA512:
6
- metadata.gz: 526a75d3b045b8f627a41fe54f7ddae8bf953c132e609371469059955769c7f13b4e87d0dbf8e0c8d3994d5cbf4bcbbb8d01ed3d4fb604f12deea3eccc80eebf
7
- data.tar.gz: 89e5331e801bdacb9b8ce26ff4077bee6c9a86c51793cc7152680e4f684e455785e0186fb1045306316dac3eb6455580d1cf1c646db816e64b690dd26715f3da
6
+ metadata.gz: 58789cf672976004e0853f46924c62642266d312b3f5f160a30c10a9cf9edc9ad36c25ffea311c4b9a79fd29ea205cc5c8e552941fe673ef2072c96cbf3b8dbf
7
+ data.tar.gz: 51caa6da2bc2e458cdae40347f84f6d830896879c629d3d3d642b44e2781d7a7bd082321dcd1342954ebc1371021ba2f855eaf29aefd2dcf4621eca2613e478f
@@ -323,15 +323,15 @@ module Cluster
323
323
 
324
324
  UI.important("Creating keycloak user")
325
325
  create_user = "CREATE USER 'keycloak'@'%' IDENTIFIED BY 'keycloak';"
326
- run_command "kubectl exec #{pod_id} -- mysql -e '#{create_user}' >> /dev/null"
326
+ run_command 'kubectl exec #{pod_id} -- mysql -e "#{create_user}" >> /dev/null'
327
327
 
328
328
  UI.important("Creating keycloak database")
329
329
  create_database = "CREATE DATABASE keycloak CHARACTER SET utf8 COLLATE UTF8_UNICODE_CI;"
330
- run_command "kubectl exec #{pod_id} -- mysql -e '#{create_database}' >> /dev/null"
330
+ run_command 'kubectl exec #{pod_id} -- mysql -e "#{create_database}" >> /dev/null'
331
331
 
332
332
  UI.important("Granting privileges to keycloak user")
333
333
  grant_privileges = "GRANT ALL PRIVILEGES ON keycloak.* TO 'keycloak'@'%';"
334
- run_command "kubectl exec #{pod_id} -- mysql -e '#{grant_privileges}' >> /dev/null"
334
+ run_command 'kubectl exec #{pod_id} -- mysql -e "#{grant_privileges}" >> /dev/null'
335
335
  end
336
336
 
337
337
  def run_command command, options = {}
@@ -1,3 +1,3 @@
1
1
  module Sct
2
- VERSION = "0.1.33"
2
+ VERSION = "0.1.34"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sct
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.33
4
+ version: 0.1.34
5
5
  platform: ruby
6
6
  authors:
7
7
  - Reshad Farid
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-12-23 00:00:00.000000000 Z
11
+ date: 2020-12-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: colored