stardog-union / helm-charts

Stardog Helm Charts
Apache License 2.0
9 stars 12 forks source link

kubectl issue with the license #53

Closed marselgraphs closed 3 years ago

marselgraphs commented 3 years ago

Hi stardog

I am trying to do the kubctl setup I am running into some issues. I am sure I am missing something trivial

% git clone https://github.com/stardog-union/helm-charts stardog-helm

% ls -lrt
total 40
-rw-r--r--  1   staff   1763 Aug 24 08:13 CHANGELOG.md
-rw-r--r--  1   staff  11356 Aug 24 08:13 LICENSE
-rw-r--r--  1   staff   1956 Aug 24 08:13 README.md
drwxr-xr-x  3   staff     96 Aug 24 08:13 charts
drwxr-xr-x  4   staff    128 Aug 24 08:13 tests

% kubectl version
Client Version: version.Info{Major:"1", Minor:"21", GitVersion:"v1.21.3", GitCommit:"ca643a4d1f7bfe34773c74f79527be4afd95bf39", GitTreeState:"clean", BuildDate:"2021-07-15T21:04:39Z", GoVersion:"go1.16.6", Compiler:"gc", Platform:"darwin/amd64"}
The connection to the server localhost:8080 was refused - did you specify the right host or port?

% kubectl -n marselgraphs create secret generic stardog-license --from-file stardog-license-key.bin=.                               
error: cannot give a key name for a directory path
timsedlak commented 3 years ago

If the Stardog license file exists in your working directory can you try adding a slash "/" after the period? stardog-license-key.bin=./ You can also provide the full path to the Stardog license file.

marselgraphs commented 3 years ago

Thanks @timsedlak. That did it, once I had the license in place I moved on.