This commit is contained in:
2024-05-28 17:01:16 +02:00
parent 288f4dc780
commit dac4852e32
14 changed files with 1720 additions and 11 deletions

View File

@@ -0,0 +1,26 @@
resource "kubectl_manifest" "Pod_openproject-test-connection" {
yaml_body = <<-EOF
apiVersion: v1
kind: Pod
metadata:
name: openproject-test-connection
labels: ${jsonencode(local.common-labels)}
annotations:
helm.sh/hook: test
namespace: ${var.namespace}
ownerReferences: ${jsonencode(var.install_owner)}
spec:
containers:
- name: wget
image: busybox
command:
- wget
args:
- --no-verbose
- --tries=1
- --spider
- openproject:8080/health_check
restartPolicy: Never
EOF
}