-
Notifications
You must be signed in to change notification settings - Fork 828
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
Deploy triage-party #967
Deploy triage-party #967
Conversation
/assign @bartsmykla @spiffxp @justaugustus /sig release |
- name: GITHUB_TOKEN | ||
valueFrom: | ||
secretKeyRef: | ||
name: triage-party-github-token |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@spiffxp @justaugustus Can you add the token as a secret
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I got the token from @justaugustus, created a kubernetes secret, put that in secretmanager:
kubectl create secret generic triage-party-github-token --from-file token -o=yaml --dry-run \
| gcloud secrets create --project kubernetes-public triage-party-github-token --replication-policy automatic --data-file -
Gave access to that secret to the same group that has access to this namespace:
gcloud secrets add-iam-policy-binding --project kubernetes-public triage-party-github-token --member group:[email protected] --role roles/secretmanager.admin
You can deploy this to the cluster via:
gcloud secrets versions access latest --project kubernetes-public --secret triage-party-github-token | kubectl apply -n triageparty-release -f -
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@spiffxp Unfortunately, members of this group don't have the privileges to create secrets :
k8s.io/infra/gcp/namespaces/namespace-user-role.yml
Lines 41 to 43 in f297d82
- apiGroups: [""] | |
resources: ["secrets"] | |
verbs: ["list"] |
Can you run the last command for us ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done. I also opened #988 to suggest that we give members of the group the ability to create/delete read secrets for that namespace. We do that for pretty much all other namespace-scoped resources
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add a README.md describing what this is and how to deploy it? Similar to https://github.com/kubernetes/k8s.io/blob/master/slack-infra/README.md
Resources needed to deploy triage-party for the release team in the aaa cluster. Only k/k repo will be indexed at the beginning Signed-off-by: Arnaud Meukam <[email protected]>
@spiffxp README.md added |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
/lgtm
enough to iterate from, I will run ensure-static-ips once this merges, but leave deploying the rest of the resources to @ameukam or someone else with appropriate privileges
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ameukam, spiffxp The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
Thank you! |
|
Deploy triage-party for the release team.
This current deployment will only show a dashboard tracking all issues and PRs with the labels:
v1.19
priority/critical-urgent
.The rules added for this deployment came from https://github.com/google/triage-party/blob/v1.1.0/config/examples/kubernetes.yaml.
`
Signed-off-by: Arnaud Meukam [email protected]