Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions roles/ocp4_workload_s4/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,10 @@ ocp4_workload_s4_s3_api_host: "" # Auto-generated if empty
# Example: ['datasets', 'ml-models', 'backups']
ocp4_workload_s4_buckets: []

# Image containing the mc client for bucket creation (amd64)
ocp4_workload_s4_bucket_job_image: >-
quay.io/rh-aiservices-bu/minio:RELEASE.2025-09-07T16-13-09Z@sha256:a614d3fd833e346ab37cd0ff0c540f88d5d7ed0d6f0034b20418bb91e1769a51

# --------------------------------------------------
# ArgoCD sync configuration
# --------------------------------------------------
Expand Down
1 change: 1 addition & 0 deletions roles/ocp4_workload_s4/readme.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ Username and password can be passed in as parameters. If not provided, username
* `ocp4_workload_s4_buckets`: List of S3 bucket names to create (default: `[]`)
** If empty or not defined, no buckets will be created
** Example: `['datasets', 'ml-models', 'backups']`
* `ocp4_workload_s4_bucket_job_image`: Image providing `mc` and `/bin/sh` for bucket creation. Defaults to the digest-pinned Red Hat AI Services MinIO mirror (amd64).

=== Sync Policy

Expand Down
2 changes: 1 addition & 1 deletion roles/ocp4_workload_s4/templates/bucket-job.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ spec:
serviceAccountName: s4
containers:
- name: create-bucket
image: quay.io/minio/mc:latest
image: {{ ocp4_workload_s4_bucket_job_image | to_json }}
command:
- /bin/sh
- -c
Expand Down
Loading