saritasa-nest / saritasa-devops-helm-charts

Various helm charts
0 stars 0 forks source link

feat: fix typo in tekton-apps roles creation #112

Closed kseniyashaydurova closed 9 months ago

kseniyashaydurova commented 9 months ago

Summary

Task: SD-373

Suddenly our Tekton stopped sending Slack notifications for all projects with this error, so I found bug that appeared from this PR - https://github.com/saritasa-nest/saritasa-devops-helm-charts/pull/98/files (we should have build-pipeline-role roles in ci namespace by default).

image

Original Error:

Error from server (Forbidden): [pipelineruns.tekton.dev](http://pipelineruns.tekton.dev/) "ats-dart-backend-dev-kaniko-build-pipeline-run-vv6cp" is forbidden: User "system:serviceaccount:ci:ats-dart-backend-dev-build-pipeline-sa" cannot get resource "pipelineruns" in API group "[tekton.dev](http://tekton.dev/)" in the namespace "ci": RBAC: [role.rbac.authorization.k8s.io](http://role.rbac.authorization.k8s.io/) "ats-dart-backend-dev-build-pipeline-role" not found

image

Now there are no such issues image