Sha256: 2c253c440dcabc11eb87ae8a7a846ff7f66a7b8e7426f60018401ce90f9e432c

Contents?: true

Size: 431 Bytes

Versions: 7

Compression:

Stored size: 431 Bytes

Contents

# frozen_string_literal: true

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

  desc 'Download config files from ConfigMap'
  task pull: ['deploy:namespace'] do
    Kubec::Utils::Helper.header 'Starting save config maps'
    Kubec::Config::Downloader.new.save
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
kubec-0.6.1 lib/kubec/tasks/config.rake
kubec-0.6.0 lib/kubec/tasks/config.rake
kubec-0.5.0 lib/kubec/tasks/config.rake
kubec-0.4.1 lib/kubec/tasks/config.rake
kubec-0.4.0 lib/kubec/tasks/config.rake
kubec-0.3.6 lib/kubec/tasks/config.rake
kubec-0.3.5 lib/kubec/tasks/config.rake