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
I am trying to setup a context for astartectl to use with Astarte in 5 minutes guide, but I am not sure about the correct procedure to do so. After following that guide I now have keys for housekeeping and the test realm, so this is what I am trying:
$ astartectl version
astartectl 1.0.0-beta.2
$ astartectl config clusters create testcluster --housekeeping-url http://localhost:4001/ --housekeeping-key compose/astarte-keys/housekeeping_private.pem
Cluster testcluster saved successfully
$ astartectl config contexts create testcontext --cluster testcluster --realm-name test --realm-private-key test_private.pem
warn: Error while loading configuration: Config File "astartectl" Not Found in "[/home/davide/.config/astarte]"
Context testcontext saved successfully
$ astartectl config contexts list
warn: Error while loading configuration: Config File "astartectl" Not Found in "[/home/davide/.config/astarte]"
file does not exist
$ astartectl config set-current-context testcontext
warn: Error while loading configuration: Config File "astartectl" Not Found in "[/home/davide/.config/astarte]"
file does not exist
$ astartectl version
warn: Error while loading configuration: Config File "astartectl" Not Found in "[/home/davide/.config/astarte]"
astartectl 1.0.0-beta.2
It seems there's some trouble with config files, however a couple of files were created:
$ cd $HOME && ls .config/astarte/*
.config/astarte/clusters:
testcluster.yaml
.config/astarte/contexts:
testcontext.yaml
Not sure if this is the supposed way to setup a context, maybe issue #107 is related.
The text was updated successfully, but these errors were encountered:
I am trying to setup a context for
astartectl
to use with Astarte in 5 minutes guide, but I am not sure about the correct procedure to do so. After following that guide I now have keys for housekeeping and thetest
realm, so this is what I am trying:It seems there's some trouble with config files, however a couple of files were created:
Not sure if this is the supposed way to setup a context, maybe issue #107 is related.
The text was updated successfully, but these errors were encountered: