You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running "bundle exec kuby -e production build" it returns an error saying that "no provider registered with name EKS, do you need to add a gem to your Gemfile?"
gemfile: gem 'kuby-core' gem 'kuby-eks'
kuby.rb:
require 'active_support/core_ext'
require 'active_support/encrypted_configuration'
Kuby.define('easyllama') do
app_creds = ActiveSupport::EncryptedConfiguration.new(
config_path: File.join('config', 'credentials.yml.enc'),
key_path: File.join('config', 'master.key'),
env_key: 'RAILS_MASTER_KEY',
raise_if_missing_key: true
)
environment(:production) do
docker do
credentials do
username app_creds[:docker][:user]
password app_creds[:docker][:password]
email app_creds[:docker][:email]
end
image_url 'app/app'
end
kubernetes do
provider :eks do
region 'us-east-1'
cluster_name 'app-prod'
credentials(
Aws::Credentials.new(
app_creds[:aws][:access_key],
app_creds[:aws][:secret_key]
)
)
end
add_plugin :rails_app do
hostname 'app.com'
database do
user 'db'
password app_creds[:db][:password]
end
end
end
end
end
The text was updated successfully, but these errors were encountered:
Hi!
When running "bundle exec kuby -e production build" it returns an error saying that "no provider registered with name EKS, do you need to add a gem to your Gemfile?"
gemfile:
gem 'kuby-core' gem 'kuby-eks'
kuby.rb:
The text was updated successfully, but these errors were encountered: