mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 05:36:59 +01:00
Migrate to Hetzner cloud
This commit is contained in:
parent
d3c99dad0b
commit
c311cd4f7e
37 changed files with 416 additions and 299 deletions
39
terraform/security.tf
Normal file
39
terraform/security.tf
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
# resource "scaleway_security_group" "k8s-sg" {
|
||||
# name = "Kubernetes"
|
||||
# description = "Kubernetes cluster nodes security group"
|
||||
# enable_default_security = true
|
||||
# stateful = true
|
||||
# inbound_default_policy = "drop"
|
||||
# outbound_default_policy = "accept"
|
||||
# }
|
||||
|
||||
|
||||
# resource "scaleway_security_group_rule" "k8s-sg-rule-ssh" {
|
||||
# security_group = "${scaleway_security_group.k8s-sg.id}"
|
||||
|
||||
# action = "accept"
|
||||
# direction = "inbound"
|
||||
# ip_range = "0.0.0.0/0"
|
||||
# protocol = "TCP"
|
||||
# port = 22
|
||||
# }
|
||||
|
||||
# resource "scaleway_security_group_rule" "k8s-sg-rule-http" {
|
||||
# security_group = "${scaleway_security_group.k8s-sg.id}"
|
||||
|
||||
# action = "accept"
|
||||
# direction = "inbound"
|
||||
# ip_range = "0.0.0.0/0"
|
||||
# protocol = "TCP"
|
||||
# port = 80
|
||||
# }
|
||||
|
||||
# resource "scaleway_security_group_rule" "k8s-sg-rule-https" {
|
||||
# security_group = "${scaleway_security_group.k8s-sg.id}"
|
||||
|
||||
# action = "accept"
|
||||
# direction = "inbound"
|
||||
# ip_range = "0.0.0.0/0"
|
||||
# protocol = "TCP"
|
||||
# port = 443
|
||||
# }
|
||||
Loading…
Add table
Add a link
Reference in a new issue