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
In the latest 2.2.0 tag, this is nowhere to be found and I can't find any chatter discussing the removal of this. So are we not using a data bag for the encrypt attribute and tokens?
The text was updated successfully, but these errors were encountered:
Hi @isuftin,
The integrated support of data bags has been removed when custom resources (like consul_config) were implemented: #238 (comment)
The recommended way is managing data bags on the upper level, in wrapper cookbook. For example:
# wrapper_recipe.rbconsul_data=data_bag_item('apps','consul')config=consul_confignode['consul']['service_name']do |r|
node['consul']['config'].each_pair{ |k,v| r.send(k,v)}ownernode['consul']['service_user']groupnode['consul']['service_group']encryptconsul_data['encrypt']# <== Here we pass the secret datanotifies:reload,"consul_service[#{node['consul']['service_name']}]",:delayedend
E.q. you should not include consul::default recipe here, but feel free to use our resources in any way you want :)
Looking at this: #98
In the latest 2.2.0 tag, this is nowhere to be found and I can't find any chatter discussing the removal of this. So are we not using a data bag for the encrypt attribute and tokens?
The text was updated successfully, but these errors were encountered: