Skip to content

Commit 4daeb77

Browse files
committed
added/updated envvars in docker-compose file
1 parent 9760f91 commit 4daeb77

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

deploy/docker-compose.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ services:
133133
TINKERBELL_GRPC_AUTHORITY: $TINKERBELL_HOST_IP:42113
134134
TINKERBELL_CERT_URL: http://$TINKERBELL_HOST_IP:42114/cert
135135
ELASTIC_SEARCH_URL: $TINKERBELL_HOST_IP:9200
136-
DISCOVERY_TYPE: tinkerbell
136+
HARDWARE_DATA_MODEL: tinkerbell
137137
depends_on:
138138
fluentbit:
139139
condition: service_started
@@ -238,6 +238,9 @@ services:
238238
HEGEL_USE_TLS: 0
239239
CACHER_CERT_URL: http://127.0.0.1:42112/cert
240240
CACHER_GRPC_AUTHORITY: 127.0.0.1:42111
241+
TINKERBELL_GRPC_AUTHORITY: 127.0.0.1:42113
242+
TINKERBELL_CERT_URL: http://127.0.0.1:42114/cert
243+
HARDWARE_DATA_MODEL: tinkerbell
241244
depends_on:
242245
fluentbit:
243246
condition: service_started

grpc-server/hardware.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ func (s *server) Push(ctx context.Context, in *hardware.PushRequest) (*hardware.
3232
return &hardware.Empty{}, err
3333
}
3434

35+
// TODO: somewhere here validate json (if ip addr contains cidr, etc.)
36+
3537
logger.With("id", hw.Id).Info("data pushed")
3638

3739
var fn func() error

0 commit comments

Comments
 (0)