Update todo

This commit is contained in:
Khue Doan 2021-04-21 23:37:59 +07:00
parent 613fb33959
commit ad8204cb3d
3 changed files with 7 additions and 5 deletions

View File

@ -11,11 +11,13 @@
- [HA Vault](../infra/modules/kubernetes-cluster-bootstrap/main.tf#L84)
- [Auto unseal Vault](../infra/modules/kubernetes-cluster-bootstrap/main.tf#L85)
- [automatic ingress and tunnel for all services](../infra/modules/kubernetes-cluster-bootstrap/main.tf#L88)
- [check if this is a bug](../infra/platform/cluster.tf#L90)
- [use Ansible wait_for /var/run/docker.sock](../infra/platform/cluster.tf#L110)
- [(optimize) DRY master and worker definition](../infra/platform/cluster.tf#L87)
- [bug](../infra/platform/cluster.tf#L97)
- [remote backend (etcd or minio)](../infra/platform/terraform.tf#L2)
- [convert to YAML for Terraform yamldecode](../metal/hosts.ini#L1)
- [Optimize SELinux](../metal/roles/lxd/tasks/main.yml#L1)
- [Optimize firewall](../metal/roles/lxd/tasks/main.yml#L6)
- [change to /var/lib/lxd/server.crt after https](../metal/roles/lxd/tasks/main.yml#L26)
- [(optimize) use template for tfvars](../metal/roles/lxd/tasks/main.yml#L38)
- [use btrfs in k8s 1.19.8 https](../metal/roles/lxd/templates/leader.yaml.j2#L17)
- [investigate why --noconfirm is not working](../tools/Dockerfile#L3)

View File

@ -84,7 +84,7 @@ resource "lxd_profile" "kubenode" {
}
}
# TODO optimize: DRY master and worker definition
# TODO (optimize) DRY master and worker definition
resource "lxd_container" "masters" {
count = 3
name = "master-${count.index}"
@ -94,7 +94,7 @@ resource "lxd_container" "masters" {
profiles = [lxd_profile.kubenode.name]
config = {
# TODO bug: should be posible to put it in the profile instead lxd_profile.kubenode.config
# TODO (bug) should be posible to put it in the profile instead lxd_profile.kubenode.config
# https://github.com/terraform-lxd/terraform-provider-lxd/blob/master/lxd/resource_lxd_container.go#L473
"user.access_interface" = "eth0"
}

View File

@ -35,7 +35,7 @@
creates: /var/snap/lxd/common/lxd/server.crt
when: inventory_hostname != groups['metal'][0]
# TODO optimize: use template for tfvars
# TODO (optimize) use template for tfvars
- name: Add LXD server to environment variables
lineinfile:
path: "{{ playbook_dir }}/../infra/platform/terraform.tfvars"