Changelog
- fix: add v1beta1 to conversion config to work with 1.16+ (#279)
test framework improvements
- fix(generator): do not return BindingContext if Synchronization is skipped
- feat(tests): add "AllSnapshots" binding context generator
- fix(tests): enable EventCb for KubeEventManager test
- fix(test): replace hardcode in ContextCombiner
See milestone 1.0.1.
Installation and usage
Create an image with your hooks added into the /hooks
directory:
Dockerfile
FROM flant/shell-operator:v1.0.1
ADD pods-hook.sh /hooks
Push to registry, create rbac and create a Pod or Deployment:
apiVersion: v1
kind: Pod
metadata:
name: shell-operator
spec:
containers:
- name: shell-operator
image: registry.mycompany.com/shell-operator:monitor-pods
imagePullPolicy: Always
serviceAccountName: monitor-pods-acc
Check README for more information and /examples for the inspiration.