Skip to content

Commit

Permalink
Merge pull request #107 from dadiorchen/set-s3-bucket
Browse files Browse the repository at this point in the history
To test deploy
  • Loading branch information
dadiorchen authored Jun 1, 2022
2 parents 37d23f6 + 2f9eac5 commit ea0a2a7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion deployment/overlays/development/aws-key-sealed-secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
namespace: earnings-api
spec:
encryptedData:
secretAccessKey: AgCEnpFiTf2mNZxZQVEE0KRuEnQGJac4ch+cF1eBmLqcHr+Mt0h3t0Y8yCT9WFIdfuLdoSOZ9M34Uuk6rBU/3dw8xNdXOMrwk2jzoUApq+vweEjFVV8Ch89pk7Oe6I2tnJjOTuiQhmlbnpx1RUlM5DrEYe8UnZAPqHpgBNgQKTO7cY4w42POnuQIz2hgAl5eAJGZbDzjQupKADRJqhQXHcBNWXNlkSCN91oZwQh2YuI9vQV8OQL8BfE2ZKcwI2rBK0Nqf4hakpGV+TZuhWrjadKZjBaSun//F8+z4tbtL2m4jfRZe2i5L4+US1jKTjUg2Kjl+LGTglTi7OZq5IlISTBNNLyTPnx3bFKnQy/iNyQ/tZgiu4H6EYg4S60XftQm942Aa/wjM9OjAfOQXklFmYtNRUuO2esr5jejgAwoYN2FJMuuY0HIaZiDA0cTLWO+ULo1x8VgGgDFQdn4nrJw+9pAj71E4GN5o6JMq6dyfG4i9wjP/MFmXpsD5kXQsZ+On0XqROMlTZNGdpRD52IypN71sNBGPFTFjo0xiIUwGPKMuU/xekVGRaIi++t8gp5EYH78x8VsJrQKVAtOQXYNeDeQ0X+4v20EOGvRgT7MyIRFxqjVeh92eQ89AOvxSQffDolSNh/Sgb5kh4xCe5NNeui0rJyKeqc6nZPXnbIrl7GGKz/UC68QG965LSwSBj/QQfsEV82ZVgcNjUbaSAUEQcwZaj0vzJXIR38hiXXZ0DF0frEqjNWHzWrC
secretAccessKey: AgBhiP4x586/5gElGICVm1PFu3WoWPMVmet4Xd3aAGKVn+rc+2Vc5NXQf0Gcy7MygDzsKAl+7QC20UqMLUr/GNmGAXwF7zLSLwgdCuKYDh9K+aXSAOZh43R9dG0n0iT/lU4VfZbgMlXxT8loPL4SG8gCLxu3jsON/kDKNRjCS90+NtlvTMa9I9o8Laaa6aQLeEL90lOfpkzYR9+w2G1wMsTfOOvYZU6m526LCCTQlNKEmO3JXIK0mkxLQabuP0EZu+Y4LPmADSRwIO8xkOFtr9Iph3dp8Hi/BZl7Zlv1A/v6Sr+MfIIFCbugKU+fwEox2pIC/t0/V42XTbOHsbolZBCnQdD5SJnkCHNLqnALoONmA+h/dtZ3fNlvWQSbhPF6dt6Jrs7tavk54bve3BlWxave0EsquRo/ElGZT3xbQMnwcrgb0QWGnze6Xtwu+eEbFF0MAMsQPgSx0I5s9pQzLnjBTMbRsmSf2RmrS00OeVVJFWI/vm2PBL/W7GITRH0Mn7Tgr72z8hZMq9y96y3r1Fg97lsM1pO6zaEzYROfbY0FRsXQjAEg3uoN5m4Vm46FyRNP6kY+Y7IDnGu2lT1MUuw9Tj0a6rGgswI/i38Lbxe+VkaFvG3wTL9kup72qu86fwI9iAMg1Fyu7DVH1LFEcOZVwXDDOQGY90JaBVTyahxxRD5YnmvbJEt1OFJEhRnbGV8VkwCPQ6h2VDKe8YbeO+8M0mrnLpN/v8hOpszqvzTZoG2WNW/iZIJT
template:
metadata:
creationTimestamp: null
Expand Down
5 changes: 0 additions & 5 deletions server/services/S3Service.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
const s3 = require('../infra/S3/s3');

const uploadCsv = async (csv, Key) => {
if (true) {
return {
Location: "http://test"
}
}
const params = {
Bucket: process.env.S3_BUCKET,
ContentType: 'text/csv',
Expand Down

0 comments on commit ea0a2a7

Please sign in to comment.