diff --git a/infrastructure/firewall.tf b/infrastructure/firewall.tf deleted file mode 100644 index db3c130..0000000 --- a/infrastructure/firewall.tf +++ /dev/null @@ -1,25 +0,0 @@ -resource "hcloud_firewall" "k8s_nodes_firewall" { - name = "k8s-nodes" - rule { - direction = "in" - protocol = "icmp" - source_ips = [ - "0.0.0.0/0", - "::/0" - ] - } - - rule { - direction = "in" - protocol = "tcp" - port = "22" - source_ips = [ - "0.0.0.0/0", - "::/0" - ] - } - - apply_to { - label_selector = "cluster=icb4dc0.de" - } -} \ No newline at end of file diff --git a/k8s/roles/gitea/templates/values.gitea.yml.j2 b/k8s/roles/gitea/templates/values.gitea.yml.j2 index 54a60a1..2f4533b 100644 --- a/k8s/roles/gitea/templates/values.gitea.yml.j2 +++ b/k8s/roles/gitea/templates/values.gitea.yml.j2 @@ -13,11 +13,11 @@ ingress: resources: limits: - cpu: 100m - memory: 256Mi + cpu: 500m + memory: 768Mi requests: - cpu: 50m - memory: 128Mi + cpu: 250m + memory: 256Mi persistence: enabled: true @@ -28,6 +28,13 @@ gitea: admin: existingSecret: gitea-admin-credentials config: + git.timeout: + migrate: 3600 + default: 3600 + clone: 3600 + pull: 3600 + gc: 300 + server: PROTOCOL: http ROOT_URL: https://code.icb4dc0.de/