This commit is contained in:
2023-07-29 10:55:18 +02:00
parent c5b6a9bdb4
commit ce44270786
2 changed files with 110 additions and 96 deletions

View File

@@ -142,7 +142,7 @@ data "kustomization_overlay" "data" {
patches {
target {
kind = "Deployment"
name = "authentik-worker"
name = "nextcloud-metrics"
}
patch = <<-EOF
apiVersion: apps/v1
@@ -199,4 +199,18 @@ data "kustomization_overlay" "data" {
targetCPUUtilizationPercentage: ${var.hpa.avg-cpu}
EOF
}
patches {
target {
kind = "PersistentVolumeClaim"
name = "nextcloud-nextcloud"
}
patch = <<-EOF
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: nextcloud-nextcloud
annotations:
k8up.io/backup: "true"
EOF
}
}