Skip to content

Commit

Permalink
apply suggestion
Browse files Browse the repository at this point in the history
apply suggestion
  • Loading branch information
jiuker committed Jun 26, 2024
1 parent 10b87da commit 822dc0d
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions docs/minio-job.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ kind: Secret
metadata:
name: mytestsecret
data:
PASSWORD: cGVkcm8xMjM=
PASSWORD: cGVkcm8xMjM= # echo pedro123 | base64
---
apiVersion: v1
kind: Secret
metadata:
name: mytestsecretenvs
data:
USER: ZGFuaWVs
PASSWORD: ZGFuaWVsMTIz
USER: ZGFuaWVs # echo daniel | base64
PASSWORD: ZGFuaWVsMTIz # echo daniel123 | base64
---
apiVersion: v1
kind: ConfigMap
Expand Down Expand Up @@ -58,7 +58,7 @@ kind: MinIOJob
metadata:
name: minio-test-job
spec:
mcImage: quay.io/minio/mc:latest # optional, defaults to minio/mc:latest
# mcImage: quay.io/minio/mc:latest
serviceAccountName: mc-job-sa
securityContext: {}
containerSecurityContext: {}
Expand Down Expand Up @@ -126,7 +126,8 @@ spec:
```
The MinioJob is a Kubernetes Job that runs mc commands. It uses the MinIO client (mc) to interact with the MinIO server.
## mcImage
The `mcImage` field specifies the Docker image that will be used to run the mc commands. In this case, the image is `minio/mc:latest`.
Optional, defaults to `quay.io/minio/mc:latest`
The `mcImage` field specifies the Docker image that will be used to run the mc commands.
## serviceAccountName
The `serviceAccountName` field specifies the name of the Kubernetes ServiceAccount that will be used to run the mc commands. In this case, the ServiceAccount is `mc-job-sa`.
## securityContext
Expand Down

0 comments on commit 822dc0d

Please sign in to comment.