Skip to content

Commit

Permalink
removes s3-test pod
Browse files Browse the repository at this point in the history
  • Loading branch information
BWMac committed Nov 15, 2024
1 parent 72ecbb7 commit a1c6214
Showing 1 changed file with 0 additions and 32 deletions.
32 changes: 0 additions & 32 deletions modules/signoz-fluxcd/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -145,38 +145,6 @@ spec:
YAML
}

resource "kubectl_manifest" "s3_test_pod" {
yaml_body = <<YAML
apiVersion: v1
kind: Pod
metadata:
name: s3-test
namespace: ${var.namespace}
spec:
serviceAccountName: clickhouse-backup-service-account
containers:
- name: awscli
image: amazon/aws-cli:2.8.12
command:
- /bin/sh
- -c
- |
aws s3 ls s3://clickhouse-backup-${var.aws_account_id}-${var.cluster_name}
echo "S3 list completed with exit code $?"
# Keep pod running for inspection
tail -f /dev/null
resources:
requests:
memory: "64Mi"
cpu: "100m"
limits:
memory: "128Mi"
cpu: "200m"
restartPolicy: Never
YAML
}


# resource "kubectl_manifest" "signoz-deployment" {
# depends_on = [kubernetes_namespace.signoz]

Expand Down

0 comments on commit a1c6214

Please sign in to comment.