Skip to content

Latest commit

 

History

History

s3-to-s3

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

CSV on S3 to Json Files on S3

This integration converts a CSV file containing articles ( access to CSV not provided ), stream each row and produce a new json file on another s3 bucket path, one file for each row.

AWS Credentials are passed using k8s secrets and application.properties is configured using ConfigMaps.

Create the AWS Secrets

Replace the XXXX with your credentials.

kubectl create secret generic aws \
--from-literal=ACCESS_KEY=XXXXXX \
--from-literal=SECRET_KEY=XXXXXX

Create the configmap

kubectl apply -f config.yml

This will create a named s3-to-s3-configmap ConfigMap.

Run the integration

kubectl apply -f integration.yml