This commit is contained in:
2024-05-31 16:27:15 +02:00
parent e017c91d4e
commit a55965fe13
6 changed files with 13 additions and 0 deletions

View File

@@ -21,6 +21,7 @@ resource "kubectl_manifest" "pvc" {
name: "${var.component}-${var.instance}"
namespace: "${var.namespace}"
labels: ${jsonencode(local.common_labels)}
ownerReferences: ${jsonencode(var.install_owner)}
annotations:
resize.kubesphere.io/storage_limit: "${var.storage.volume.maxSize}"
spec: ${jsonencode(local.pvc_spec)}