From cc78a04d551486f866b928728bf651158c12d87c Mon Sep 17 00:00:00 2001 From: David Fry Date: Sun, 25 Feb 2024 17:59:19 +0000 Subject: [PATCH] use microk8s_dns_resolvers --- mojaloop/iac/playbooks/argomicrok8s_cluster_deploy.yaml | 2 +- mojaloop/iac/roles/microk8s/defaults/main.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mojaloop/iac/playbooks/argomicrok8s_cluster_deploy.yaml b/mojaloop/iac/playbooks/argomicrok8s_cluster_deploy.yaml index 19cd8209..66839689 100644 --- a/mojaloop/iac/playbooks/argomicrok8s_cluster_deploy.yaml +++ b/mojaloop/iac/playbooks/argomicrok8s_cluster_deploy.yaml @@ -25,7 +25,7 @@ microk8s_group_WORKERS: "agent" add_workers_to_hostfile: true microk8s_plugins: - dns: "1.1.1.1" + dns: "{{ microk8s_dns_resolvers }}" ingress: false # Ingress controller for external access metrics-server: true # K8s Metrics Server for API access to service metrics rbac: true # Role-Based Access Control for authorisation diff --git a/mojaloop/iac/roles/microk8s/defaults/main.yml b/mojaloop/iac/roles/microk8s/defaults/main.yml index 6b434925..c0066d47 100644 --- a/mojaloop/iac/roles/microk8s/defaults/main.yml +++ b/mojaloop/iac/roles/microk8s/defaults/main.yml @@ -8,7 +8,7 @@ microk8s_version: "1.27/stable" microk8s_disable_snap_autoupdate: false # plugin configuration -microk8s_dns_resolvers: 8.8.8.8,8.8.4.4 +microk8s_dns_resolvers: 1.1.1.1 registry_size: 20Gi microk8s_plugins: dns: "{{ microk8s_dns_resolvers }}" # CoreDNS