Closed rwlove closed 4 years ago
This is no longer an issue for me. The git-creds that I was using was incorrect. Unfortunately, there isn't any real documentation on how to configure git-creds for this chart.
This is what worked for me after adding generating a RSA key and adding my public key to github via the webui.
ssh-keyscan github.com > /root/.ssh/known_hosts kubectl -n homeassistant create secret generic git-creds \ --from-file=id_rsa=/root/.ssh/id_rsa \ --from-file=known_hosts=/root/.ssh/known_hosts \ --from-file=id_rsa.pub=/root/.ssh/id_rsa.pub
When the Home Assistant helm chart runs the following command it never pulls in my git configuration. The problem is that the default {{.Values.git.syncPath}} is already populated, so the clone never occurs.
Where are the default configuration files coming from? I would expect this directory to be empty on the first run. Note the configuration.yaml, secrets.yaml and other Home Assistant configuration files in the directory listing below.
I do have a valid git-creds secret.