with certmanager

This commit is contained in:
Kasper Juul Hermansen 2022-05-08 16:01:59 +02:00
parent 1c2d58f090
commit faf34f658f
Signed by: kjuulh
GPG Key ID: 0F95C140730F2F23
2 changed files with 134 additions and 9 deletions

View File

@ -1,7 +1,7 @@
{ {
"version": 4, "version": 4,
"terraform_version": "1.1.7", "terraform_version": "1.1.7",
"serial": 57, "serial": 60,
"lineage": "04d648e3-bdd4-2cef-384a-6564647940db", "lineage": "04d648e3-bdd4-2cef-384a-6564647940db",
"outputs": {}, "outputs": {},
"resources": [ "resources": [
@ -41,15 +41,25 @@
"sensitive_attributes": [], "sensitive_attributes": [],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjozMDAwMDAwMDAwMCwidXBkYXRlIjozMDAwMDAwMDAwMH0sInNjaGVtYV92ZXJzaW9uIjoiMiJ9", "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjozMDAwMDAwMDAwMCwidXBkYXRlIjozMDAwMDAwMDAwMH0sInNjaGVtYV92ZXJzaW9uIjoiMiJ9",
"dependencies": [ "dependencies": [
"module.kube-hetzner.data.github_release.hetzner_ccm",
"module.kube-hetzner.data.github_release.hetzner_csi",
"module.kube-hetzner.data.github_release.kured",
"module.kube-hetzner.data.hcloud_load_balancer.traefik", "module.kube-hetzner.data.hcloud_load_balancer.traefik",
"module.kube-hetzner.data.remote_file.kubeconfig",
"module.kube-hetzner.hcloud_firewall.k3s", "module.kube-hetzner.hcloud_firewall.k3s",
"module.kube-hetzner.hcloud_network.k3s",
"module.kube-hetzner.hcloud_network_subnet.control_plane", "module.kube-hetzner.hcloud_network_subnet.control_plane",
"module.kube-hetzner.hcloud_placement_group.control_plane", "module.kube-hetzner.hcloud_placement_group.control_plane",
"module.kube-hetzner.hcloud_ssh_key.k3s", "module.kube-hetzner.hcloud_ssh_key.k3s",
"module.kube-hetzner.local_sensitive_file.kubeconfig",
"module.kube-hetzner.module.control_planes.data.cloudinit_config.config", "module.kube-hetzner.module.control_planes.data.cloudinit_config.config",
"module.kube-hetzner.module.control_planes.hcloud_server.server", "module.kube-hetzner.module.control_planes.hcloud_server.server",
"module.kube-hetzner.module.control_planes.hcloud_server_network.server", "module.kube-hetzner.module.control_planes.hcloud_server_network.server",
"module.kube-hetzner.module.control_planes.random_string.server" "module.kube-hetzner.module.control_planes.random_string.server",
"module.kube-hetzner.null_resource.control_planes",
"module.kube-hetzner.null_resource.first_control_plane",
"module.kube-hetzner.null_resource.kustomization",
"module.kube-hetzner.random_password.k3s_token"
] ]
}, },
{ {
@ -81,15 +91,25 @@
"sensitive_attributes": [], "sensitive_attributes": [],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjozMDAwMDAwMDAwMCwidXBkYXRlIjozMDAwMDAwMDAwMH0sInNjaGVtYV92ZXJzaW9uIjoiMiJ9", "private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjozMDAwMDAwMDAwMCwidXBkYXRlIjozMDAwMDAwMDAwMH0sInNjaGVtYV92ZXJzaW9uIjoiMiJ9",
"dependencies": [ "dependencies": [
"module.kube-hetzner.data.github_release.hetzner_ccm",
"module.kube-hetzner.data.github_release.hetzner_csi",
"module.kube-hetzner.data.github_release.kured",
"module.kube-hetzner.data.hcloud_load_balancer.traefik", "module.kube-hetzner.data.hcloud_load_balancer.traefik",
"module.kube-hetzner.data.remote_file.kubeconfig",
"module.kube-hetzner.hcloud_firewall.k3s", "module.kube-hetzner.hcloud_firewall.k3s",
"module.kube-hetzner.hcloud_network.k3s",
"module.kube-hetzner.hcloud_network_subnet.control_plane", "module.kube-hetzner.hcloud_network_subnet.control_plane",
"module.kube-hetzner.hcloud_placement_group.control_plane", "module.kube-hetzner.hcloud_placement_group.control_plane",
"module.kube-hetzner.hcloud_ssh_key.k3s", "module.kube-hetzner.hcloud_ssh_key.k3s",
"module.kube-hetzner.local_sensitive_file.kubeconfig",
"module.kube-hetzner.module.control_planes.data.cloudinit_config.config", "module.kube-hetzner.module.control_planes.data.cloudinit_config.config",
"module.kube-hetzner.module.control_planes.hcloud_server.server", "module.kube-hetzner.module.control_planes.hcloud_server.server",
"module.kube-hetzner.module.control_planes.hcloud_server_network.server", "module.kube-hetzner.module.control_planes.hcloud_server_network.server",
"module.kube-hetzner.module.control_planes.random_string.server" "module.kube-hetzner.module.control_planes.random_string.server",
"module.kube-hetzner.null_resource.control_planes",
"module.kube-hetzner.null_resource.first_control_plane",
"module.kube-hetzner.null_resource.kustomization",
"module.kube-hetzner.random_password.k3s_token"
] ]
} }
] ]

View File

@ -1,10 +1,119 @@
{ {
"version": 4, "version": 4,
"terraform_version": "1.1.7", "terraform_version": "1.1.7",
"serial": 54, "serial": 59,
"lineage": "04d648e3-bdd4-2cef-384a-6564647940db", "lineage": "04d648e3-bdd4-2cef-384a-6564647940db",
"outputs": {}, "outputs": {},
"resources": [ "resources": [
{
"module": "module.dns",
"mode": "managed",
"type": "cloudflare_record",
"name": "exact",
"provider": "module.dns.provider[\"registry.terraform.io/cloudflare/cloudflare\"]",
"instances": [
{
"index_key": "*.kjuulh.app",
"schema_version": 2,
"attributes": {
"allow_overwrite": false,
"created_on": "2022-05-08T13:48:54.289798Z",
"data": [],
"hostname": "*.kjuulh.app",
"id": "7234597988434057f1bc0630efada29b",
"metadata": {
"auto_added": "false",
"managed_by_apps": "false",
"managed_by_argo_tunnel": "false",
"source": "primary"
},
"modified_on": "2022-05-08T13:48:54.289798Z",
"name": "*.kjuulh.app",
"priority": null,
"proxiable": true,
"proxied": false,
"timeouts": null,
"ttl": 3600,
"type": "A",
"value": "49.12.19.255",
"zone_id": "9454b35cb1010b9eab9aadf206fdf11f"
},
"sensitive_attributes": [],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjozMDAwMDAwMDAwMCwidXBkYXRlIjozMDAwMDAwMDAwMH0sInNjaGVtYV92ZXJzaW9uIjoiMiJ9",
"dependencies": [
"module.kube-hetzner.data.github_release.hetzner_ccm",
"module.kube-hetzner.data.github_release.hetzner_csi",
"module.kube-hetzner.data.github_release.kured",
"module.kube-hetzner.data.hcloud_load_balancer.traefik",
"module.kube-hetzner.data.remote_file.kubeconfig",
"module.kube-hetzner.hcloud_firewall.k3s",
"module.kube-hetzner.hcloud_network.k3s",
"module.kube-hetzner.hcloud_network_subnet.control_plane",
"module.kube-hetzner.hcloud_placement_group.control_plane",
"module.kube-hetzner.hcloud_ssh_key.k3s",
"module.kube-hetzner.local_sensitive_file.kubeconfig",
"module.kube-hetzner.module.control_planes.data.cloudinit_config.config",
"module.kube-hetzner.module.control_planes.hcloud_server.server",
"module.kube-hetzner.module.control_planes.hcloud_server_network.server",
"module.kube-hetzner.module.control_planes.random_string.server",
"module.kube-hetzner.null_resource.control_planes",
"module.kube-hetzner.null_resource.first_control_plane",
"module.kube-hetzner.null_resource.kustomization",
"module.kube-hetzner.random_password.k3s_token"
]
},
{
"index_key": "kjuulh.app",
"schema_version": 2,
"attributes": {
"allow_overwrite": false,
"created_on": "2022-05-08T13:48:54.199417Z",
"data": [],
"hostname": "kjuulh.app",
"id": "5bc099d554ee71ea6ce63f76a4531e77",
"metadata": {
"auto_added": "false",
"managed_by_apps": "false",
"managed_by_argo_tunnel": "false",
"source": "primary"
},
"modified_on": "2022-05-08T13:48:54.199417Z",
"name": "kjuulh.app",
"priority": null,
"proxiable": true,
"proxied": false,
"timeouts": null,
"ttl": 3600,
"type": "A",
"value": "49.12.19.255",
"zone_id": "9454b35cb1010b9eab9aadf206fdf11f"
},
"sensitive_attributes": [],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjozMDAwMDAwMDAwMCwidXBkYXRlIjozMDAwMDAwMDAwMH0sInNjaGVtYV92ZXJzaW9uIjoiMiJ9",
"dependencies": [
"module.kube-hetzner.data.github_release.hetzner_ccm",
"module.kube-hetzner.data.github_release.hetzner_csi",
"module.kube-hetzner.data.github_release.kured",
"module.kube-hetzner.data.hcloud_load_balancer.traefik",
"module.kube-hetzner.data.remote_file.kubeconfig",
"module.kube-hetzner.hcloud_firewall.k3s",
"module.kube-hetzner.hcloud_network.k3s",
"module.kube-hetzner.hcloud_network_subnet.control_plane",
"module.kube-hetzner.hcloud_placement_group.control_plane",
"module.kube-hetzner.hcloud_ssh_key.k3s",
"module.kube-hetzner.local_sensitive_file.kubeconfig",
"module.kube-hetzner.module.control_planes.data.cloudinit_config.config",
"module.kube-hetzner.module.control_planes.hcloud_server.server",
"module.kube-hetzner.module.control_planes.hcloud_server_network.server",
"module.kube-hetzner.module.control_planes.random_string.server",
"module.kube-hetzner.null_resource.control_planes",
"module.kube-hetzner.null_resource.first_control_plane",
"module.kube-hetzner.null_resource.kustomization",
"module.kube-hetzner.random_password.k3s_token"
]
}
]
},
{ {
"module": "module.kube-hetzner", "module": "module.kube-hetzner",
"mode": "data", "mode": "data",
@ -684,17 +793,13 @@
"dependencies": [ "dependencies": [
"module.kube-hetzner.data.remote_file.kubeconfig", "module.kube-hetzner.data.remote_file.kubeconfig",
"module.kube-hetzner.hcloud_firewall.k3s", "module.kube-hetzner.hcloud_firewall.k3s",
"module.kube-hetzner.hcloud_network.k3s",
"module.kube-hetzner.hcloud_network_subnet.control_plane", "module.kube-hetzner.hcloud_network_subnet.control_plane",
"module.kube-hetzner.hcloud_placement_group.control_plane", "module.kube-hetzner.hcloud_placement_group.control_plane",
"module.kube-hetzner.hcloud_ssh_key.k3s", "module.kube-hetzner.hcloud_ssh_key.k3s",
"module.kube-hetzner.module.control_planes.data.cloudinit_config.config", "module.kube-hetzner.module.control_planes.data.cloudinit_config.config",
"module.kube-hetzner.module.control_planes.hcloud_server.server", "module.kube-hetzner.module.control_planes.hcloud_server.server",
"module.kube-hetzner.module.control_planes.hcloud_server_network.server", "module.kube-hetzner.module.control_planes.hcloud_server_network.server",
"module.kube-hetzner.module.control_planes.random_string.server", "module.kube-hetzner.module.control_planes.random_string.server"
"module.kube-hetzner.null_resource.control_planes",
"module.kube-hetzner.null_resource.first_control_plane",
"module.kube-hetzner.random_password.k3s_token"
] ]
} }
] ]