Compare commits

...

2 Commits

Author SHA1 Message Date
707f84ebd0 Merge pull request 'fix: correct config.yaml to config.yml' (#36) from benvin/deploy_failures into master
Some checks failed
Deploy / deploy (push) Failing after 57s
Reviewed-on: #36
2025-11-01 14:29:44 +11:00
d955d86808 fix: correct config.yaml to config.yml
All checks were successful
Build / build (pull_request) Successful in 1m47s
- ensure terraform can find the correct config.yml
2025-11-01 13:59:57 +11:00

View File

@ -20,7 +20,7 @@ define vault_env
mkdir -p $$INCUS_CONFIG_DIR && \
mkdir -p $$INCUS_CONFIG_DIR/servercerts && \
printf '%s\n' "$$INCUS_CONF_INCUSIMAGES_CERT" > $$INCUS_CONFIG_DIR/servercerts/incus-images.crt && \
printf '%s\n' "$$INCUS_CONF_CONFIG_YAML" > $$INCUS_CONFIG_DIR/config.yaml && \
printf '%s\n' "$$INCUS_CONF_CONFIG_YAML" > $$INCUS_CONFIG_DIR/config.yml && \
if [ -f /etc/pki/tls/vault/certificate.crt ] && [ -f /etc/pki/tls/vault/private.key ]; then \
cp /etc/pki/tls/vault/certificate.crt $$INCUS_CONFIG_DIR/client.crt && \
cp /etc/pki/tls/vault/private.key $$INCUS_CONFIG_DIR/client.key; \