switch kubernetes provider for annotation patching

This commit is contained in:
2024-04-13 18:34:04 +02:00
parent 7d28114157
commit f45d0657c8
3 changed files with 13 additions and 5 deletions

View File

@@ -14,10 +14,10 @@ resource "helm_release" "longhorn" {
}
resource "kubernetes_annotations" "patch_oci-bv" {
count = var.install_longhorn ? 1 : 0
depends_on = [helm_release.longhorn]
api_version = "storage.k8s.io/v1"
kind = "StorageClass"
force = true
metadata {
name = "oci-bv"