Commit Graph

415 Commits

Author SHA1 Message Date
Khue Doan
83b304f9cd Fix cannot send wake on lan package from tools container 2021-05-16 14:32:01 +07:00
Khue Doan
8a301b9b90 Revert "Quiet docker build"
This reverts commit 3f031e7c32.
2021-05-16 13:32:14 +07:00
Khue Doan
3f031e7c32 Quiet docker build 2021-05-16 13:31:43 +07:00
Khue Doan
aabb7b340c Specify Ansible SSH key without SSH agent
For the tools container
2021-05-16 13:26:32 +07:00
Khue Doan
9fa5b58777 Change default global make targets 2021-05-16 13:20:27 +07:00
Khue Doan
54f4eb570d Use Ansible from package manager instead of pip 2021-05-16 13:14:15 +07:00
Khue Doan
53bd439431 Ensure idempotency for bare metal provisioning 2021-05-16 13:12:41 +07:00
Khue Doan
a5df1d84e9 Add instruction for macOS and Windows controller 2021-05-16 12:59:40 +07:00
Khue Doan
d3c1bb87f6 Add tools README 2021-05-16 00:55:51 +07:00
Khue Doan
3226e9769c Add missing package to tools container 2021-05-15 14:05:43 +07:00
Khue Doan
f2392d6559 Confirm pacman can't use --noconfirm for conflict packages 2021-05-12 06:30:38 +07:00
Khue Doan
9e7f7909fd Add cloudflared tunnel config files and service 2021-05-03 21:52:59 +07:00
Khue Doan
27c048931f Move cloudflared package URL to default var 2021-05-03 13:30:07 +07:00
Khue Doan
94ae26ee90 Install cloudflared 2021-05-03 13:18:34 +07:00
Khue Doan
6935170f54 Fix wrong config symlink 2021-05-03 12:00:09 +07:00
Khue Doan
56de19a303 Add config symlink 2021-05-03 11:55:35 +07:00
Khue Doan
dffe892a2d Fix wrong VPN IP 2021-05-03 11:42:05 +07:00
Khue Doan
b301e4083a Enable VPN server in base 2021-05-03 11:08:02 +07:00
Khue Doan
de977f2560 Add Wireguard client keys 2021-05-03 11:07:40 +07:00
Khue Doan
fb823e30f4 Start Wireguard service 2021-05-03 11:07:19 +07:00
Khue Doan
6ef691eca4 Render wg0 config file with private key and subnet 2021-05-03 10:41:26 +07:00
Khue Doan
26d7fa3e2f Use container for master nodes
For better resource usage, still use VM on worker nodes due to ISCSI
bug in the Linux kernel
2021-05-03 00:28:16 +07:00
Khue Doan
0a1b1cecaa Update 0.0.1-alpha milestone 2021-05-02 23:15:31 +07:00
Khue Doan
d45637056a Move RKE cluster to sperate module, with cleaner Ansible check 2021-05-02 23:07:16 +07:00
Khue Doan
acbc2e5803 Use quote instead of code for warning 2021-05-02 22:26:54 +07:00
Khue Doan
9331b90567 Add warning emoji 2021-05-02 22:26:26 +07:00
Khue Doan
51cefc4ab6 Initial scripts
Brain dump
2021-05-02 22:25:38 +07:00
Khue Doan
d02fc8dd92 Rename 2021-05-02 22:19:28 +07:00
Khue Doan
9becad7623 Clean up 2021-05-02 22:18:33 +07:00
Khue Doan
f7f9844ac2 Use Ansible provisioner module for VPN 2021-05-02 22:16:37 +07:00
Khue Doan
a6a1a7266d Add Ansible provisioner module 2021-05-02 21:58:33 +07:00
Khue Doan
c1a993cd22 Restructure 2021-05-02 21:30:26 +07:00
Khue Doan
20a27a1ee2 Update TODOs 2021-05-02 21:10:42 +07:00
Khue Doan
cc0b931514 Always apply to argocd namespace 2021-05-01 23:12:43 +07:00
Khue Doan
e6e5c177d6 Standardize TODOs 2021-05-01 22:51:55 +07:00
Khue Doan
e559769e6f Update todos 2021-05-01 22:42:58 +07:00
Khue Doan
8878dc65bb Move cert-manager config to seperate file 2021-05-01 22:33:46 +07:00
Khue Doan
3acd328de0 Move MetalLB config to seperate file 2021-05-01 22:14:00 +07:00
Khue Doan
543214e2d3 Turn on Vault ingress 2021-05-01 17:52:17 +07:00
Khue Doan
bbfcb714b1 Enable Gitea ingress 2021-05-01 16:18:57 +07:00
Khue Doan
c8331959bd Use var for macvlan parent 2021-05-01 16:17:19 +07:00
Khue Doan
c09d02531d Disable VPN 2021-05-01 16:15:49 +07:00
Khue Doan
75a3e2cddf Generate Wireguard keys 2021-05-01 16:13:27 +07:00
Khue Doan
0fc931e62e Use VM for VPN instance
Due to CentOS 8 kernel
2021-05-01 15:39:10 +07:00
Khue Doan
06143f2798 Terraform format 2021-05-01 14:57:20 +07:00
Khue Doan
c8bb547c49 Move limits to seperate block 2021-05-01 11:59:25 +07:00
Khue Doan
d9cadb36bb Working VPN module and Ansible 2021-05-01 11:50:21 +07:00
Khue Doan
51c725edc0 Change VPN module name 2021-04-30 14:55:36 +07:00
Khue Doan
62a830caa7 Fix wrong module name 2021-04-30 14:54:30 +07:00
Khue Doan
77859b49f9 Add VPN module 2021-04-30 14:53:06 +07:00