-
Notifications
You must be signed in to change notification settings - Fork 137
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The previous deploy directory was spinning up more than just tink. This is a duplicate of what is in the sandbox repo. This commit adds a basic docker-compose for just tink server and tink cli. Easy to use make target `run` will build the binaries first and then up the stack. Signed-off-by: Jacob Weinstock <[email protected]>
- Loading branch information
1 parent
7f829f5
commit 9509c68
Showing
16 changed files
with
117 additions
and
503 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/usr/bin/env bash | ||
|
||
cfssl gencert -initca /code/tls/csr.json | cfssljson -bare ca - | ||
cfssl gencert -config /code/tls/ca-config.json -ca ca.pem -ca-key ca-key.pem -profile server /code/tls/csr.json | cfssljson -bare server | ||
cat server.pem ca.pem >/certs/"${FACILITY:-onprem}"/bundle.pem | ||
mv server-key.pem /certs/"${FACILITY:-onprem}"/server-key.pem | ||
rm -rf ca-key.pem ca.csr ca.pem server.csr server.pem |
Oops, something went wrong.