Added demo file to minio setup ref bucket
This commit is contained in:
parent
45d9ffdc77
commit
77b588c450
@ -36,6 +36,9 @@ spec:
|
|||||||
# Create user with generated credentials
|
# Create user with generated credentials
|
||||||
mc admin user add local tenant-{{ .Values.name }}-user "$SCOPED_SECRET"
|
mc admin user add local tenant-{{ .Values.name }}-user "$SCOPED_SECRET"
|
||||||
|
|
||||||
|
# Add demo file
|
||||||
|
echo "hello tenant-{{ .Values.name }}" | mc pipe minioadmin/$BUCKET_REF/hello.txt
|
||||||
|
|
||||||
# Inline policy generation to avoid missing mount issues
|
# Inline policy generation to avoid missing mount issues
|
||||||
cat <<EOF > /tmp/policy.json
|
cat <<EOF > /tmp/policy.json
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user