first commit

This commit is contained in:
2023-07-14 11:51:07 +02:00
commit 284dc650c4
101 changed files with 8629 additions and 0 deletions

18
apps/dolibarr/svc.tf Normal file
View File

@@ -0,0 +1,18 @@
resource "kubectl_manifest" "svc" {
yaml_body = <<-EOF
apiVersion: v1
kind: Service
metadata:
name: ${var.instance}
namespace: "${var.namespace}"
labels: ${jsonencode(local.deploy-labels)}
spec:
ports:
- name: http
port: 80
protocol: TCP
targetPort: 3000
selector: ${jsonencode(local.deploy-labels)}
type: ClusterIP
EOF
}