Sha256: 8d00c750e21f2ddd9ac66b475bfec0a69faeece24c01e49dc9355d50c245b5fe

Contents?: true

Size: 402 Bytes

Versions: 26

Compression:

Stored size: 402 Bytes

Contents

module Sct
  class MysqlproxyCommand

    DEFAULT_SECRET_NAME = "gcloud-credentials"

    def execute(args, options)
      system("kubectl delete secret gcloud-credentials")
      system("kubectl create secret generic gcloud-credentials --from-file=~/.config/gcloud/application_default_credentials.json")

      UI.success("Authenticated with secret-name: '#{DEFAULT_SECRET_NAME}'")
    end

  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
sct-1.10.2 sct/lib/sct/commands/mysqlproxy.rb
sct-1.10.1 sct/lib/sct/commands/mysqlproxy.rb
sct-1.10.0 sct/lib/sct/commands/mysqlproxy.rb
sct-1.9.0 sct/lib/sct/commands/mysqlproxy.rb
sct-1.8.2 sct/lib/sct/commands/mysqlproxy.rb
sct-1.8.1 sct/lib/sct/commands/mysqlproxy.rb
sct-1.8.0 sct/lib/sct/commands/mysqlproxy.rb
sct-1.7.0 sct/lib/sct/commands/mysqlproxy.rb
sct-1.6.3 sct/lib/sct/commands/mysqlproxy.rb
sct-1.5.1 sct/lib/sct/commands/mysqlproxy.rb
sct-1.5.0 sct/lib/sct/commands/mysqlproxy.rb
sct-1.4.0 sct/lib/sct/commands/mysqlproxy.rb
sct-1.3.0 sct/lib/sct/commands/mysqlproxy.rb
sct-1.2.0 sct/lib/sct/commands/mysqlproxy.rb
sct-1.1.2 sct/lib/sct/commands/mysqlproxy.rb
sct-1.1.1 sct/lib/sct/commands/mysqlproxy.rb
sct-1.1.0 sct/lib/sct/commands/mysqlproxy.rb
sct-1.0.9 sct/lib/sct/commands/mysqlproxy.rb
sct-1.0.8 sct/lib/sct/commands/mysqlproxy.rb
sct-1.0.7 sct/lib/sct/commands/mysqlproxy.rb