Changelog
- fix: always return non 'already exists' error for Create operation by @diafour in #331
- Add more info about failed patcher operations by @nabokihms in #332
- chore(deps): bump actions/checkout from 2.3.4 to 2.3.5 by @dependabot in #327
- chore(deps): bump actions/checkout from 2.3.5 to 2.4.0 by @dependabot in #330
- chore(deps): bump actions/setup-python from 2.2.2 to 2.3.1 by @dependabot in #336
- chore(deps): bump actions/cache from 2.1.6 to 2.1.7 by @dependabot in #335
See also: Milestone 1.0.5, Full Changelog
Installation and usage
Create an image with your hooks added into the /hooks
directory:
Dockerfile
FROM flant/shell-operator:v1.0.5
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.