Sha256: d6ce3cef9bef0abfcd98ec2430d6a7cb72e223f4f7ddc3cbe0801d316575b73e
Contents?: true
Size: 756 Bytes
Versions: 5
Compression:
Stored size: 756 Bytes
Contents
namespace :deploy do task :namespace do Kubec::Kubernetes.ensure_namespace end # TODO: Add support for real kubectl desc 'Apply Deployment to Kubernetes' task :deployments do Kubec::Utils::Helper.header 'Starting apply deployments' Kubec::Kubernetes.apply(:deployment) end desc 'Apply Service to Kubernetes' task :services do Kubec::Utils::Helper.header 'Starting apply services' Kubec::Kubernetes.apply(:service) end desc 'Apply Service to Kubernetes' task :cronjobs do Kubec::Utils::Helper.header 'Starting apply cron jobs' Kubec::Kubernetes.apply(:cronjob) end end desc 'Deploy to Kubernetes' task deploy: [ 'deploy:namespace', 'deploy:deployments', 'deploy:services', 'deploy:cronjobs' ]
Version data entries
5 entries across 5 versions & 1 rubygems