Comments (1)
I validated that the tink-worker picks up configuration from a YAML file. Obviously, it does not work as smoothly and nicely as I would like to but we can make it somewhere I suppose. I say that because it does not pick up from a file the TLS cert for the tink-client, those have to be passed via environment variable to the container. We have to figure out how I suppose.
I tried it on Osie and it works. First the configuration file looks like this:
id: "hardware-uuid-from-proc-cmdline"
docker-registry: "ip-from-proc-cmdline"
registry-username: "same-as-before-admin"
registry-password: "same-as-before"
This is the docker command I used to start the tink-worker docker container:
docker run --privileged -t --name "tink-worker" \
-e "TINKERBELL_GRPC_AUTHORITY=$grpc_authority" \
-e "TINKERBELL_CERT_URL=$grpc_cert_url" \
-v /worker:/worker \
-v /var/run/docker.sock:/var/run/docker.sock \
# this is the location of the generated configuration file
-v /etc/tinkerbell/tink-worker.yaml:/etc/tinkerbell/tink-worker.yaml /
-t \
--net host \
"$docker_registry/tink-worker:latest"
from hook.
Related Issues (20)
- question around use of `cpio` HOT 4
- boot w/ the dev-dist build HOT 7
- Wrong /dev/null permission making ubuntu jammy deployment impossible HOT 6
- how to recoginze the lvm on my disk HOT 2
- changes to `kernel/` directory require `validation` check
- add lvm2 package into kernel Dockerfile, lead to failure of kernel build
- Make deterministic device paths available
- Hook dynamic runtime driver support
- git tag "latest" behaves in a mutable way.
- Hook doesn't create required files/folder for docker trusted certificates HOT 2
- [Feature Request] Let the user choose which architecture to build
- Include the checksums as a release artifact
- include a version file in Hook
- How to enable docker insecure-registries on OSIE HOT 1
- How to install from official ISO image
- Possible Bug In VLAN parsing HOT 2
- Ability to signal host shutdown
- ARM64 server gets stuck on "bpfilter write fail: -32" when activating Linuxkit (Alpine)
- ARM64 server gets stuck on "bpfilter write fail: -32" when activating Linuxkit (Alpine). HOT 10
- `/dev/disk/by-id` not populated
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hook.