vshn / appcat-service-postgresql

AppCat Service Provider for PostgreSQL
https://vshn.github.io/appcat-service-postgresql/
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Lifecycle improvements: Events #91

Open ccremer opened 2 years ago

ccremer commented 2 years ago

Summary

As user\ I want to have Kubernetes events emitted from the operator\ So that I can understand what happens with my instance

Context

Emit Kubernetes Events using the EventRecorder API upon certain important actions within reconciliation. This helps users to understand and track the progress of a change or rollout.

Out of Scope

Further links

Acceptance Criteria

Given an instance in reconciliation
When executing step "<step>"
Then emit a Kubernetes Event in the instance's namespace

<step>:
- Ensure deployment namespace
- Ensure Helm release
- Ensure connection secret
- Ensure K8up Schedule
- Ensure S3 Buckets for K8up
- Mark instance ready (via status)
- Remove K8up Schedule
- Instance restarted
- Storage increased
- Automated Update started (when in maintenance window)

Implementation Ideas

No response