Skip to content

Commit 6bf31fe

Browse files
authored
chore: remove deprecated event reporter templates for rollout and wor… (#490)
* chore: remove deprecated event reporter templates for rollout and workflow components * chore: remove event reporter tests and templates for rollout and workflow components * remove leftovers * remove leftovers * fix helm tests * feat(event-reporters): restore codefresh-sa service account for backward compatibility - Add event-reporters.workflow.serviceAccount configuration to values.yaml - Add helper functions for workflow reporter service account in _helpers.tpl - Create workflow-reporter-sa.yaml template to provision codefresh-sa service account - Maintains backward compatibility with e2e tests and existing workflows - Service account created only when event-reporters.workflow.serviceAccount.create is true - Defaults to 'codefresh-sa' name when no custom name is specified Resolves e2e test failures due to missing codefresh-sa service account after event-reporters removal. * feat(event-reporters): add RBAC permissions for codefresh-sa service account - Create workflow-reporter-rbac.yaml with Role and RoleBinding - Grants full namespace permissions (all apiGroups, resources, verbs) - Restores same permissions as original workflow-reporter service account - Ensures backward compatibility for e2e tests requiring elevated permissions
1 parent 983579f commit 6bf31fe

28 files changed

+55
-1292
lines changed

charts/gitops-runtime/templates/_components/event-reporters/_helpers.tpl

Lines changed: 0 additions & 151 deletions
This file was deleted.

charts/gitops-runtime/templates/_components/event-reporters/rollout-reporter/_event-source.yaml

Lines changed: 0 additions & 62 deletions
This file was deleted.

charts/gitops-runtime/templates/_components/event-reporters/rollout-reporter/_rbac.yaml

Lines changed: 0 additions & 31 deletions
This file was deleted.

charts/gitops-runtime/templates/_components/event-reporters/rollout-reporter/_sensor.yaml

Lines changed: 0 additions & 47 deletions
This file was deleted.

charts/gitops-runtime/templates/_components/event-reporters/rollout-reporter/_serviceaccount.yaml

Lines changed: 0 additions & 10 deletions
This file was deleted.

charts/gitops-runtime/templates/_components/event-reporters/workflow-reporter/_event-source.yaml

Lines changed: 0 additions & 43 deletions
This file was deleted.

charts/gitops-runtime/templates/_components/event-reporters/workflow-reporter/_sensor.yaml

Lines changed: 0 additions & 39 deletions
This file was deleted.

0 commit comments

Comments
 (0)