Skip to content

Commit

Permalink
Deprecate simple.NewOperator and update examples (#565)
Browse files Browse the repository at this point in the history
Added deprecation comment to `simple.NewOperator` and `simple.Operator`.
`examples/operator/simple` was still using `simple.Operator`, so the
code has been updated to use `simple.App` and `operator.Runner`.
`examples/operator/opinionated` was building an operator from scratch,
which is no longer advised, so the example has been removed.
  • Loading branch information
IfSentient authored Jan 7, 2025
1 parent 8e340a2 commit a943aaf
Show file tree
Hide file tree
Showing 9 changed files with 122 additions and 466 deletions.
82 changes: 0 additions & 82 deletions examples/operator/opinionated/README.md

This file was deleted.

7 changes: 0 additions & 7 deletions examples/operator/opinionated/example.yaml

This file was deleted.

143 changes: 0 additions & 143 deletions examples/operator/opinionated/reconciler/main.go

This file was deleted.

24 changes: 0 additions & 24 deletions examples/operator/opinionated/run.sh

This file was deleted.

135 changes: 0 additions & 135 deletions examples/operator/opinionated/watcher/main.go

This file was deleted.

Loading

0 comments on commit a943aaf

Please sign in to comment.