Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add custom certificate bundles #138

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
/pke-single-config.yaml
/pke-multi-config.yaml

/crt/*.crt

**/.vagrant*
.DS_Store

Expand Down
7 changes: 7 additions & 0 deletions Vagrantfile-centos8
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Vagrant.configure("2") do |config|
# sync build folder
config.vm.synced_folder '.', '/vagrant', disabled: true
config.vm.synced_folder 'scripts/vagrant/', '/scripts/', create: true
config.vm.synced_folder 'crt/', '/opt/crt/', create: true
config.vm.synced_folder 'build/', '/banzaicloud/', create: true

$num_instances = 4
Expand Down Expand Up @@ -60,6 +61,12 @@ Vagrant.configure("2") do |config|

node.vm.provision "shell" do |s|
s.inline = <<-SHELL
yum install -y ca-certificates
update-ca-trust enable
cd /opt/crt
find . -type f -name '*.crt' -execdir cp {} /etc/pki/ca-trust/source/anchors/{} \\;
update-ca-trust extract

dnf install -y yum-utils wget curl chrony vim net-tools socat
echo 'sync time'
systemctl enable --now chronyd
Expand Down
Empty file added crt/.gitignore
Empty file.