Closed gcpinckert closed 1 year ago
I got an "[01:59:54:492] ✖ Error creating cluster: Error: ENOENT: no such file or directory, open '/Users/rachwest/Desktop/edamame/manifests/properties/psql.env'" when running edamame init, but adding an empty properties subdirectory and re-running 'edamame init' fixed it. When I ran a test, the grafana dashboard couldn't query from the database because password authentication failed for the "edamame" user, but I think I need to teardown my cluster and remake and re-test to confirm that that's an actual issue and not an issue with my pre-existing cluster/pvc stuff. When I teardown and re-make to re-test I'll remove the properties subfolder that I just made and see if I run into that properties subfolder doesn't exist issue again, because I don't think we had that issue yesterday when writing the psql.env file for the first time.
I think this might be an issue because I had already made the properties
subfolder, and never deleted it, just the file. It's probably better to store the env
stuff in the manifests
folder or even the root dir. I'll go ahead and make the changes while your cluster resets.
Linking issue #29 and #20 for posterity.
data is showing up in grafana after tearing down/remaking the cluster! I think we're good to merge this after the change is made for removing writing the psql.env file to a nonexistent /properties subfolder
I've been able to successfully create a cluster and run a test after making the change to store the env
file directly in the manifests
folder. This seemed easiest, since the file.path
method automatically applies this relative path directly to filenames.
Applies the following changes:
edamame init
.TODO: