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