kontena / pharos-cluster

Pharos - The Kubernetes Distribution
https://k8spharos.dev/
Apache License 2.0
311 stars 43 forks source link

Added /opt/pharos folder check #1558

Closed Kerwood closed 3 years ago

Kerwood commented 3 years ago

After the ctr release of version 1.3.0 the below command will fail if the /opt/pharos folder does not exist (instead of creating it).

$ ctr -n pharos install --path /opt/pharos --replace docker.io/jakolehm/cfssl:0.1.1
ctr: mkdir /opt/pharos/bin: no such file or directory

I added a simple folder check that creates the folder if it does not already exists.

See issue here: https://github.com/kontena/pharos-cluster/issues/1557

Kerwood commented 3 years ago

Was fixed in https://github.com/kontena/pharos-cluster/pull/1556