Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ Add options for AWS client #460

Merged
merged 8 commits into from
Jun 10, 2020
Merged

Conversation

rinx
Copy link
Contributor

@rinx rinx commented Jun 10, 2020

Signed-off-by: Rintaro Okamura rintaro.okamura@gmail.com

Description:

  • add options for AWS client of Agent-sidecar
    • add disableSSL option
    • and another options in aws.Config struct.

Related Issue:

nothing.

How Has This Been Tested?:

nothing.

Environment:

  • Go Version: 1.14.3
  • Docker Version: 19.03.8
  • Kubernetes Version: 1.18.2
  • NGT Version: 1.11.5

Types of changes:

  • Bug fix [type/bug]
  • New feature [type/feature]
  • Add tests [type/test]
  • Security related changes [type/security]
  • Add documents [type/documentation]
  • Refactoring [type/refactoring]
  • Update dependencies [type/dependency]
  • Update benchmarks and performances [type/bench]
  • Update CI [type/ci]

Changes to Core Features:

  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Have you written new tests for your core changes, as applicable?
  • Have you successfully ran tests with your changes locally?

Checklist:

  • I have read the CONTRIBUTING document.
  • I have checked open Pull Requests for the similar feature or fixes?
  • I have added tests and benchmarks to cover my changes.
  • I have ensured all new and existing tests passed.
  • I have commented my code, particularly in hard-to-understand areas
  • I have updated the documentation accordingly.

@pull-assistant
Copy link

pull-assistant bot commented Jun 10, 2020

Score: 0.97

Best reviewed: commit by commit


Optimal code review plan (2 warnings)

✨ Add enableSSL option for AWS client

...l/db/storage/blob/s3/option.go 75% changes removed in ✨ use bytef...

...age/blob/s3/session/session.go 67% changes removed in ✨ Add more ...

✨ use bytefmt to parse bytes unit

internal/config/blob.go 50% changes removed in ✨ Add more ...

     🔊 Revise log level for s3 upload completed log

     ✨ Add more AWS SDK options

     ✅ Fix tests

     🤖 Update license headers / Format go codes and yaml files

     ✅ Fix tests

     🤖 Update license headers / Format go codes and yaml files

Powered by Pull Assistant. Last update b11c24d ... 600bdff. Read the comment docs.

@vdaas-ci
Copy link
Collaborator

[WARNING] Changes in interal/config may require you to change Helm charts. Please check.

@vdaas-ci
Copy link
Collaborator

[WARNING] Changes in interal/config may require you to change Helm charts. Please check.

@codecov
Copy link

codecov bot commented Jun 10, 2020

Codecov Report

Merging #460 into master will increase coverage by 0.01%.
The diff coverage is 7.80%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master    #460      +/-   ##
=========================================
+ Coverage    7.87%   7.89%   +0.01%     
=========================================
  Files         388     392       +4     
  Lines       19943   20039      +96     
=========================================
+ Hits         1571    1582      +11     
- Misses      18148   18222      +74     
- Partials      224     235      +11     
Impacted Files Coverage Δ
internal/config/blob.go 0.00% <0.00%> (ø)
internal/db/storage/blob/s3/option.go 4.54% <0.00%> (-2.13%) ⬇️
internal/db/storage/blob/s3/s3.go 0.00% <0.00%> (ø)
internal/db/storage/blob/s3/session/session.go 0.00% <0.00%> (ø)
internal/db/storage/blob/s3/writer/writer.go 0.00% <0.00%> (ø)
internal/errors/unit.go 0.00% <0.00%> (ø)
internal/unit/unit.go 0.00% <0.00%> (ø)
pkg/agent/sidecar/service/storage/option.go 9.52% <0.00%> (+2.85%) ⬆️
pkg/agent/sidecar/service/storage/storage.go 0.00% <0.00%> (ø)
...ent/sidecar/usecase/initcontainer/initcontainer.go 0.00% <0.00%> (ø)
... and 6 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3e810ac...600bdff. Read the comment docs.

@rinx rinx force-pushed the feature/agent-sidecar/add-aws-options branch from 0448422 to a9f0e74 Compare June 10, 2020 07:14
@vdaas-ci
Copy link
Collaborator

[WARNING] Changes in interal/config may require you to change Helm charts. Please check.

@vdaas-ci
Copy link
Collaborator

[WARNING] Changes in interal/config may require you to change Helm charts. Please check.

1 similar comment
@vdaas-ci
Copy link
Collaborator

[WARNING] Changes in interal/config may require you to change Helm charts. Please check.

@rinx
Copy link
Contributor Author

rinx commented Jun 10, 2020

/rebase
/format

@vdaas-ci
Copy link
Collaborator

[REBASE] Rebase triggered by rinx for branch: feature/agent-sidecar/add-aws-options

@vdaas-ci vdaas-ci force-pushed the feature/agent-sidecar/add-aws-options branch from b69a977 to 9cbb127 Compare June 10, 2020 09:31
@vdaas-ci
Copy link
Collaborator

[WARNING] Changes in interal/config may require you to change Helm charts. Please check.

@vdaas-ci
Copy link
Collaborator

[FORMAT] Updating license headers and formatting go codes triggered by rinx.

@rinx rinx marked this pull request as ready for review June 10, 2020 09:33
@vdaas-ci
Copy link
Collaborator

[WARNING] Changes in interal/config may require you to change Helm charts. Please check.

@rinx
Copy link
Contributor Author

rinx commented Jun 10, 2020

/format

@vdaas-ci
Copy link
Collaborator

[WARNING] Changes in interal/config may require you to change Helm charts. Please check.

@vdaas-ci
Copy link
Collaborator

[FORMAT] Updating license headers and formatting go codes triggered by rinx.

@vdaas-ci
Copy link
Collaborator

[WARNING] Changes in interal/config may require you to change Helm charts. Please check.

@rinx
Copy link
Contributor Author

rinx commented Jun 10, 2020

/rebase

kpango
kpango previously approved these changes Jun 10, 2020
Copy link
Collaborator

@kpango kpango left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@vdaas-ci
Copy link
Collaborator

[REBASE] Rebase triggered by rinx for branch: feature/agent-sidecar/add-aws-options

rinx and others added 8 commits June 10, 2020 10:02
Signed-off-by: Rintaro Okamura <rintaro.okamura@gmail.com>
Signed-off-by: Rintaro Okamura <rintaro.okamura@gmail.com>
Signed-off-by: Rintaro Okamura <rintaro.okamura@gmail.com>
Signed-off-by: Rintaro Okamura <rintaro.okamura@gmail.com>
Signed-off-by: Rintaro Okamura <rintaro.okamura@gmail.com>
Signed-off-by: Rintaro Okamura <rintaro.okamura@gmail.com>
@vdaas-ci vdaas-ci force-pushed the feature/agent-sidecar/add-aws-options branch from 5c0e8fa to 600bdff Compare June 10, 2020 10:02
@kpango kpango merged commit dc8cf39 into master Jun 10, 2020
@kpango kpango deleted the feature/agent-sidecar/add-aws-options branch June 10, 2020 10:02
@vdaas-ci
Copy link
Collaborator

[WARNING] Changes in interal/config may require you to change Helm charts. Please check.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants