SuccessfulKoala55 this actually doesn't work
` apiserver_conf = ConfigFactory.parse_file(API_SERVER_CONF_PATH)
POINT 1
conf_content = HOCONConverter.to_hocon(config=ConfigFactory.from_dict(apiserver_conf.as_plain_ordered_dict()),
compact=False,
level=0, indent=2)
apiserver_conf['auth']['fixed_users']['users'].append(
ConfigFactory.from_dict({'username': username, 'password': password, 'name': name}))
##...
Well this will have to wait a bit... my clearml-server is causing problems
The only way to change it is to convert apiserver_conf
to a dictionary object ( as_plain_ordered_dict()
) and edit it
it seems apiserver_conf
doesn't even change
you can use pgrep -af "trains-agent"
Thanks Alon
Even assuming it suspects me, why doesn't the captcha prove my innocence? Isn't it what it is for O_O
but using that code - how would I edit fileds?
it will return a Config
object right?
Confirmed working 😄
What about permissions to the machines that are being spun up? For exampel if I want the instances to have specific permissions to read/write to S3 for example, how do I mange those?
I don't fully get it - it says it has to be enqueued
AgitatedDove14 worked like a charm, thanks a lot!
bottom line I want to edit the cleanup service code to only delete tasks under a specific project - how do I do that?
So if I'm collecting from the middle ones, shouldn't the callback be attached to them?
AgitatedDove14 ⬆ please help 🙏
later today or tomorrow, I'll update