Skip to content

1.0.0-rc.2 (2021-02-25)

Compare
Choose a tag to compare
@diafour diafour released this 25 Feb 09:44
64af935

Changelog

  • feat: support conversion webhooks (#250)
  • fix: examples cleanup (#253, #252, #251)
  • fix: log stderr from hook --config (#248)

ci,test

  • fix: add updateSnapshots in generator.go (#247)
  • fix: update latest tag on release (#242)

Installation and usage

Create image with your hooks added into /hooks directory:

Dockerfile

FROM flant/shell-operator:v1.0.0-rc.2
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 inspiration.