feat: switch consul DNS in makefile
This commit is contained in:
parent
e9ad317436
commit
41b1a71c76
18
makefile
18
makefile
@ -10,12 +10,14 @@ vault-dev:
|
|||||||
./vault/standalone_vault.sh $(FILE);\
|
./vault/standalone_vault.sh $(FILE);\
|
||||||
fi
|
fi
|
||||||
|
|
||||||
create-dev:
|
vagranup:
|
||||||
vagrant up
|
vagrant up
|
||||||
make -C ansible deploy_staging
|
|
||||||
|
|
||||||
create-dev-base:
|
create-dev: vagranup DNS-stagging
|
||||||
vagrant up
|
make -C ansible deploy_staging
|
||||||
|
make -C terraform deploy_vault
|
||||||
|
|
||||||
|
create-dev-base: vagranup DNS-stagging
|
||||||
make -C ansible deploy_staging_base
|
make -C ansible deploy_staging_base
|
||||||
|
|
||||||
|
|
||||||
@ -24,3 +26,11 @@ destroy-dev:
|
|||||||
|
|
||||||
serve:
|
serve:
|
||||||
mkdocs serve
|
mkdocs serve
|
||||||
|
|
||||||
|
DNS-stagging:
|
||||||
|
$(eval dns := $(shell dig oscar-dev.ducamps-dev.eu +short))
|
||||||
|
sudo resolvectl dns virbr2 "$(dns)";sudo resolvectl domain virbr2 "~consul"
|
||||||
|
|
||||||
|
|
||||||
|
DNS-production:
|
||||||
|
sudo resolvectl dns virbr2 "";sudo resolvectl domain virbr2 ""
|
||||||
|
Loading…
Reference in New Issue
Block a user