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

Need a kubernetes.io gsuite account to host billing report #509

Closed
thockin opened this issue Dec 11, 2019 · 14 comments
Closed

Need a kubernetes.io gsuite account to host billing report #509

thockin opened this issue Dec 11, 2019 · 14 comments
Assignees
Labels
area/billing Issues or PRs related to billing

Comments

@thockin
Copy link
Member

thockin commented Dec 11, 2019

The billing report today is accessible to anyone in the k8s-infra group. To make it truly world-readable we'd need to recreate it on a non google-com email.

@fejta-bot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Mar 10, 2020
@bartsmykla
Copy link
Contributor

Hi @thockin. What is the status of this issue? Were any efforts done? Can I somehow help to move this forward?
/assign @thockin

@thockin
Copy link
Member Author

thockin commented Mar 11, 2020

AFAIK, no it was not done. We'd need to decide a name, get someone who has gsuite admin access to make the account (accounts cost $), decide who can have that account's password, and then move the report there.

Presumably, over time there will be more such "documents", so we shouldn't scope it down too far.

@thockin thockin removed their assignment Mar 11, 2020
@fejta-bot
Copy link

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle rotten

@k8s-ci-robot k8s-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Apr 10, 2020
@bartsmykla
Copy link
Contributor

/remove-lifecycle rotten

@k8s-ci-robot k8s-ci-robot removed the lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. label Apr 10, 2020
@spiffxp
Copy link
Member

spiffxp commented Apr 15, 2020

/area billing

@k8s-ci-robot k8s-ci-robot added the area/billing Issues or PRs related to billing label Apr 15, 2020
@spiffxp
Copy link
Member

spiffxp commented Apr 20, 2020

/committee steering
/assign @spiffxp @dims

@k8s-ci-robot k8s-ci-robot added the committee/steering Denotes an issue or PR intended to be handled by the steering committee. label Apr 20, 2020
@spiffxp
Copy link
Member

spiffxp commented Apr 22, 2020

I did the following:

That said, I don't think we're going to be able to transfer the existing report to this user. I'm also not clear if the "Aggregated Billing Data" data source is something we have access to outside of google.com

ref: https://support.google.com/datastudio/answer/9003614?hl=en&ref_topic=7442437

You can only transfer ownership within your domain. For G Suite users, this means transferring to another person in your organization. For standard (non-G Suite) users, this means transferring to another standard user.

/assign @bartsmykla
contact me for credentials

@spiffxp
Copy link
Member

spiffxp commented Apr 29, 2020

/assign @justinsb @spiffxp
I'll provide this user to @justinsb

@dims
Copy link
Member

dims commented Apr 29, 2020

Thanks @spiffxp

@dims dims removed their assignment Apr 29, 2020
@nikhita
Copy link
Member

nikhita commented May 4, 2020

Removing the steering label from this since the committee has already approved creating a gsuite account :)

/remove-committee steering

@k8s-ci-robot k8s-ci-robot removed the committee/steering Denotes an issue or PR intended to be handled by the steering committee. label May 4, 2020
@spiffxp
Copy link
Member

spiffxp commented May 11, 2020

$ gcloud secrets create wg-k8s-infra-billing_pw --project=k8s-gsuite --data-file=wg-k8s-infra-billing_pw.txt --replication-policy=automatic
Created version [1] of the secret [wg-k8s-infra-billing_pw]
$ gcloud secrets add-iam-policy-binding wg-k8s-infra-billing_pw --project=k8s-gsuite --role="roles/secretmanager.secretAccessor" --member="group:k8s-infra-gcp-accounting@kubernetes.io"
Updated IAM policy for secret [wg-k8s-infra-billing_pw].
bindings:
- members:
  - group:k8s-infra-gcp-accounting@kubernetes.io
  role: roles/secretmanager.secretAccessor
etag: BwWlYjm6vuE=
version: 1

Folks in k8s-infra-gcp-accounting@kubernetes.io (including @justinsb and @bartsmykla) can get the password via

gcloud secrets versions access latest --secret=wg-k8s-infra-billing_pw --project=k8s-gsuite

@spiffxp
Copy link
Member

spiffxp commented May 27, 2020

/close
calling this done

@k8s-ci-robot
Copy link
Contributor

@spiffxp: Closing this issue.

In response to this:

/close
calling this done

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/billing Issues or PRs related to billing
Projects
None yet
Development

No branches or pull requests

8 participants