aboutsummaryrefslogtreecommitdiff
path: root/cluster
diff options
context:
space:
mode:
Diffstat (limited to 'cluster')
-rw-r--r--cluster/prod/cluster.nix3
-rwxr-xr-xcluster/prod/register_external_services.sh48
2 files changed, 9 insertions, 42 deletions
diff --git a/cluster/prod/cluster.nix b/cluster/prod/cluster.nix
index 639028a..80a7e3a 100644
--- a/cluster/prod/cluster.nix
+++ b/cluster/prod/cluster.nix
@@ -118,6 +118,9 @@
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEve02acr522psrPxeElkwIPw2pc6QWtsUVZoaigqwZZ"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIL/h+rxR2o+vN0hUWQPdpO7YY9aaKxO3ZRnUh9QiKBE7"
];
+ armael = [
+ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJOoPghSM72AVp1zATgQzeLkuoGuP9uUTTAtwliyWoix"
+ ];
};
# For Garage external communication
diff --git a/cluster/prod/register_external_services.sh b/cluster/prod/register_external_services.sh
index 7db4e7a..aed55ad 100755
--- a/cluster/prod/register_external_services.sh
+++ b/cluster/prod/register_external_services.sh
@@ -42,57 +42,21 @@ EOF
# Orsay (neptune): Alex's personnal stuff
-curl -vv -X PUT http://localhost:8500/v1/catalog/register -H "Content-Type: application/json" --data @- <<EOF
-{
- "Datacenter": "prod",
- "Node": "lindy",
- "Address": "192.168.1.184",
- "NodeMeta": {
- "site": "neptune",
- "cname_target": "neptune.site.deuxfleurs.fr."
- },
- "Service": {
- "Service": "lx-apimdev",
- "Tags": ["tricot apimdev.adnab.me"],
- "Address": "192.168.1.184",
- "Port": 8910
- }
-}
-EOF
-
-curl -vv -X PUT http://localhost:8500/v1/catalog/register -H "Content-Type: application/json" --data @- <<EOF
-{
- "Datacenter": "prod",
- "Node": "lindy",
- "Address": "192.168.1.184",
- "NodeMeta": {
- "site": "neptune",
- "cname_target": "neptune.site.deuxfleurs.fr."
- },
- "Service": {
- "Service": "lx-apimtest",
- "Tags": ["tricot apimtest.adnab.me"],
- "Address": "192.168.1.184",
- "Port": 8920
- }
-}
-EOF
-
curl -vv -X PUT http://localhost:8500/v1/catalog/register -H "Content-Type: application/json" --data @- <<EOF
{
"Datacenter": "prod",
- "Node": "www.isomorphis.me",
- "Address": "192.168.1.24",
+ "Node": "pivert",
+ "Address": "192.168.1.189",
"NodeMeta": {
"site": "neptune",
"cname_target": "neptune.site.deuxfleurs.fr."
},
"Service": {
- "Service": "isomorphis.me-web",
- "Tags": ["tricot *.isomorphis.me"],
- "Address": "192.168.1.24",
- "Port": 5000
+ "Service": "garage.isomorphis.me",
+ "Tags": ["tricot garage.isomorphis.me"],
+ "Address": "192.168.1.189",
+ "Port": 3900
}
}
EOF