Fixing the PV for gitea which now lives in the dev namespace
Some checks failed
Ansible Linting / ansible-lint (push) Failing after 4s
Secops Linting and Safety Checks / checkov-scan-s3 (push) Failing after 15s

This commit is contained in:
shockrah 2025-11-03 01:30:16 -08:00
parent c6b2a062e9
commit 0624161f53

View File

@ -1,5 +1,3 @@
# This volume will have to get scrapped and reconfigured
# as this will be part of a "worksite" namespace for "boring" stuff
resource kubernetes_persistent_volume_claim_v1 kuma {
metadata {
name = "kuma-data"
@ -15,3 +13,20 @@ resource kubernetes_persistent_volume_claim_v1 kuma {
}
}
}
resource kubernetes_persistent_volume_claim_v1 gitea {
metadata {
name = "gitea-data"
namespace = kubernetes_namespace.dev.metadata[0].name
}
spec {
volume_mode = "Filesystem"
access_modes = [ "ReadWriteOnce"]
resources {
requests = {
storage = "10Gi"
}
}
}
}