Sha256: bb4e25364c87040903b94f45ddcdaec48499030119e19432d18f3c362cded18e

Contents?: true

Size: 390 Bytes

Versions: 3

Compression:

Stored size: 390 Bytes

Contents

# frozen_string_literal: true

namespace :secret do
  desc 'Upload secret files'
  task push: ['deploy:namespace'] do
    Kubec::Utils::Helper.header 'Starting apply secret'
    Kubec::Kubernetes.apply(:secret)
  end

  desc 'Download secret files'
  task pull: ['deploy:namespace'] do
    Kubec::Utils::Helper.header 'Starting save secret'
    Kubec::Secret::Downloader.new.save
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
kubec-0.6.1 lib/kubec/tasks/secret.rake
kubec-0.6.0 lib/kubec/tasks/secret.rake
kubec-0.5.0 lib/kubec/tasks/secret.rake