1
0
Fork 0

hswaw/capacifier: deploy

1. Fix spurious -hspki_disable call now that mirko has been ripped out.
2. Build pure/static binary.

Change-Id: Ibe05f18f23d0794eb1a839064474112e004df824
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1747
Reviewed-by: radex <radex@hackerspace.pl>
master
q3k 2023-10-28 17:31:13 +00:00 committed by q3k
parent 49431e8909
commit 4768e2ff32
2 changed files with 4 additions and 3 deletions

View File

@ -15,6 +15,8 @@ go_library(
go_binary(
name = "capacifier",
embed = [":capacifier_lib"],
pure = "on",
static = "on",
visibility = ["//visibility:public"],
)
@ -40,5 +42,5 @@ container_push(
image = ":runtime",
registry = "registry.k0.hswaw.net",
repository = "q3k/capacifier",
tag = "1680390588",
tag = "1698514087",
)

View File

@ -8,7 +8,7 @@ local kube = import "../../kube/kube.libsonnet";
name: 'capacifier',
namespace: 'capacifier',
domain: 'capacifier.hackerspace.pl',
image: 'registry.k0.hswaw.net/q3k/capacifier:1680390588',
image: 'registry.k0.hswaw.net/q3k/capacifier@sha256:fd94b29bf711267235c96e5102ac4024e83e5851869a5e8814b83e76490c00af',
},
ns: kube.Namespace(cfg.namespace),
@ -27,7 +27,6 @@ local kube = import "../../kube/kube.libsonnet";
},
command: [
"/hswaw/capacifier/capacifier",
"-hspki_disable",
"-logtostderr",
"-api_listen", "0.0.0.0:8080",
"-ldap_bind_dn", "$(LDAP_DN)",