Create new block for network-stuff

role_nftables
Ruakij 2 years ago
parent a3c887748a
commit 41570ea40d

@ -18,8 +18,16 @@ kubernetes:
token: <shared token for nodes to join> token: <shared token for nodes to join>
# One of [flannel, calico] network:
network_plugin: calico # One of [flannel, calico]
plugin: calico
# Helper for networking
helper:
# https://github.com/Ruakij/RoutingTableToWg
# Translates received-routes from e.g. BGP to wireguard-allowedips
# Helpful, when nodeIp_interface is a wireguard-interface
routingtabletowg: false
# One of [traefik-ingress] # One of [traefik-ingress]
ingress_controller: traefik-ingress ingress_controller: traefik-ingress

@ -49,6 +49,7 @@
- name: Deploy calico - name: Deploy calico
import_tasks: ./roles/kubernetes/tasks/install/server/network-plugin/deploy_calico.yml import_tasks: ./roles/kubernetes/tasks/install/server/network-plugin/deploy_calico.yml
when: "kubernetes.network.plugin == 'calico'"
- name: Deploy network-helpers - name: Deploy network-helpers
import_tasks: ./roles/kubernetes/tasks/install/server/network-plugin/deploy_network_helper.yml import_tasks: ./roles/kubernetes/tasks/install/server/network-plugin/deploy_network_helper.yml

Loading…
Cancel
Save