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

Added analytics service account support #65

Merged
merged 3 commits into from
Sep 2, 2020
Merged

Added analytics service account support #65

merged 3 commits into from
Sep 2, 2020

Conversation

rockspore
Copy link
Contributor

@rockspore rockspore commented Sep 1, 2020

Related to apigee/apigee-remote-service-envoy#42

Now the provision command optionally takes a --service-account flag (specific to udca service account with role Apigee Analytics Agent) which is the path to the service account json file.

A new k8s Secret will be created with this service account credentials encoded. It will enable the adapter to directly upload analytics to UAP instead of the fluentd endpoint.

The dependency may need to be updated for the GitHub action to succeed. The -golib and then -envoy PRs will need to be merged first.

cmd/provision/provision.go Outdated Show resolved Hide resolved
go.mod Outdated

// replace github.com/apigee/apigee-remote-service-envoy => ../apigee-remote-service-envoy
//replace github.com/apigee/apigee-remote-service-envoy => ../apigee-remote-service-envoy
Copy link
Member

Choose a reason for hiding this comment

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

Remove these replacements.

go.mod Outdated Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Sep 2, 2020

Codecov Report

Merging #65 into master will increase coverage by 0.45%.
The diff coverage is 81.81%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #65      +/-   ##
==========================================
+ Coverage   79.87%   80.33%   +0.45%     
==========================================
  Files           8        8              
  Lines        1277     1322      +45     
==========================================
+ Hits         1020     1062      +42     
- Misses        134      136       +2     
- Partials      123      124       +1     
Impacted Files Coverage Δ
cmd/provision/config.go 86.56% <78.94%> (-1.37%) ⬇️
cmd/provision/provision.go 82.07% <100.00%> (+0.14%) ⬆️
cmd/samples/samples.go 79.83% <100.00%> (ø)
cmd/bindings/bindings.go 82.35% <0.00%> (+2.04%) ⬆️

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 01a5244...91556d1. Read the comment docs.

@theganyo theganyo merged commit 7ed88c6 into master Sep 2, 2020
@theganyo theganyo deleted the envoy-issue-42 branch September 2, 2020 20:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants