fix readme

This commit is contained in:
kkb0318
2024-05-31 21:41:02 +09:00
parent a4d600253e
commit 618f70d22a
6 changed files with 148 additions and 23 deletions
+21
View File
@@ -0,0 +1,21 @@
apiVersion: batch/v1
kind: Job
metadata:
name: s3-echoer
spec:
template:
spec:
serviceAccountName: s3-echoer
containers:
- name: main
image: amazonlinux:2018.03
command:
- "sh"
- "-c"
- "curl -sL -o /s3-echoer https://github.com/mhausenblas/s3-echoer/releases/latest/download/s3-echoer-linux && chmod +x /s3-echoer && echo This is an in-cluster test | /s3-echoer TARGET_BUCKET"
env:
- name: AWS_DEFAULT_REGION
value: "ap-northeast-1"
- name: ENABLE_IRP
value: "true"
restartPolicy: Never