Making ssh key configurable in config dir

main
Thomas Hintz 3 days ago
parent f7a339732e
commit 2a6bf683ca

1
.gitignore vendored

@ -16,6 +16,7 @@ app
config/apps.config config/apps.config
config/production.tfvars config/production.tfvars
config/ssh-keys
restic-env restic-env
restic-password restic-password

@ -50,8 +50,9 @@ all-apps/nextcloud/postgres_password \
all-apps/nextcloud/redis_password \ all-apps/nextcloud/redis_password \
all-apps/nextcloud/nextcloud.env \ all-apps/nextcloud/nextcloud.env \
restic-env \ restic-env \
restic-password restic-password \
cat cl.yaml | docker run --rm --volume /home/tjhintz/.ssh/id_rsa.pub:/pwd/ssh-keys --volume ${PWD}:/pwd --workdir /pwd -i quay.io/coreos/butane:latest -d /pwd > ignition.json $(config_dir)ssh-keys
cat cl.yaml | docker run --rm --volume $(config_dir)/ssh-keys:/pwd/ssh-keys --volume ${PWD}:/pwd --workdir /pwd -i quay.io/coreos/butane:latest -d /pwd > ignition.json
generated.tfvars: $(apps_config) make-generated.sh generated.tfvars: $(apps_config) make-generated.sh
./make-generated.sh $(apps_config) > generated.tfvars ./make-generated.sh $(apps_config) > generated.tfvars

Loading…
Cancel
Save