diff options
author | Baitinq <manuelpalenzuelamerino@gmail.com> | 2024-06-16 22:19:36 +0200 |
---|---|---|
committer | Baitinq <manuelpalenzuelamerino@gmail.com> | 2024-06-16 23:02:44 +0200 |
commit | dbd9d053f0735d480cf426d2edc0b1ccf6a0bd1f (patch) | |
tree | f37ad402b00508dcff47a33d0c6cfa22803878f0 | |
parent | payload-processor: bulk insert files (diff) | |
download | fs-tracer-backend-dbd9d053f0735d480cf426d2edc0b1ccf6a0bd1f.tar.gz fs-tracer-backend-dbd9d053f0735d480cf426d2edc0b1ccf6a0bd1f.tar.bz2 fs-tracer-backend-dbd9d053f0735d480cf426d2edc0b1ccf6a0bd1f.zip |
misc: Update for working with new server
-rw-r--r-- | TODO | 2 | ||||
-rw-r--r-- | k8s/metallb-config/templates/metallb.yml | 2 | ||||
-rw-r--r-- | src/payload-processor/cmd/BUILD.bazel | 12 | ||||
-rw-r--r-- | src/rest-api/cmd/BUILD.bazel | 10 |
4 files changed, 13 insertions, 13 deletions
diff --git a/TODO b/TODO index c389c56..2064728 100644 --- a/TODO +++ b/TODO @@ -2,4 +2,4 @@ maybe we can remove helmsman with bazel better managing of secrets (maybe we shouldnt have environment variables) test kafka with interface nixos-k3s repo -what do we do about batching +multi arch builds diff --git a/k8s/metallb-config/templates/metallb.yml b/k8s/metallb-config/templates/metallb.yml index 9dee7ef..e220248 100644 --- a/k8s/metallb-config/templates/metallb.yml +++ b/k8s/metallb-config/templates/metallb.yml @@ -5,7 +5,7 @@ metadata: namespace: metallb-system spec: addresses: - - 192.168.11.0/24 + - 192.168.1.0/24 --- apiVersion: metallb.io/v1beta1 kind: L2Advertisement diff --git a/src/payload-processor/cmd/BUILD.bazel b/src/payload-processor/cmd/BUILD.bazel index 9a5fdb7..941ea29 100644 --- a/src/payload-processor/cmd/BUILD.bazel +++ b/src/payload-processor/cmd/BUILD.bazel @@ -24,23 +24,23 @@ go_binary( ) go_cross_binary( - name = "cmd_arm64", - platform = "@io_bazel_rules_go//go/toolchain:linux_arm64", + name = "cmd_amd64", + platform = "@io_bazel_rules_go//go/toolchain:linux_amd64", target = ":cmd", visibility = ["//visibility:public"], ) pkg_tar( name = "tar", - srcs = [":cmd_arm64"], + srcs = [":cmd_amd64"], ) oci_image( name = "image", base = "@distroless_base", - entrypoint = ["/cmd_arm64"], - # architecture = "arm64", - # os = "linux", + entrypoint = ["/cmd_amd64"], + #architecture = "amd64", + #os = "linux", tars = [":tar"], ) diff --git a/src/rest-api/cmd/BUILD.bazel b/src/rest-api/cmd/BUILD.bazel index 0d96a1f..82e0ea8 100644 --- a/src/rest-api/cmd/BUILD.bazel +++ b/src/rest-api/cmd/BUILD.bazel @@ -24,22 +24,22 @@ go_binary( ) go_cross_binary( - name = "cmd_arm64", - platform = "@io_bazel_rules_go//go/toolchain:linux_arm64", + name = "cmd_amd64", + platform = "@io_bazel_rules_go//go/toolchain:linux_amd64", target = ":cmd", visibility = ["//visibility:public"], ) pkg_tar( name = "tar", - srcs = [":cmd_arm64"], + srcs = [":cmd_amd64"], ) oci_image( name = "image", base = "@distroless_base", - entrypoint = ["/cmd_arm64"], - # architecture = "arm64", + entrypoint = ["/cmd_amd64"], + # architecture = "amd64", # os = "linux", tars = [":tar"], ) |