Configure S3 Artifact
Spinnaker stages that read data from artifacts can read S3 files directly.
Edit your artifact settings
All that’s required are the following values:
API_ENDPOINT=
API_REGION=
REGION=
ARTIFACT_ACCOUNT_NAME=my-s3-account
-
Enable artifact support.
-
Enable the S3 artifact provider:
hal config artifact s3 enable
-
Add an artifact account:
hal config artifact s3 account add my-s3-account \ --api-endpoint $API_ENDPOINT \ --api-region $API_REGION \ --region $REGION
Note: Setting --api-endpoint
& --api-region
is optional. It is needed only if you are using a S3 clone such as Minio.
There are more options described here if you need more control over your configuration.