cornfeedhobo / docker-stunnel

stunnel image intended for kubernetes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

docker-stunnel

Simplistic stunnel image for securing containerized workloads.

Rotating certificates

When using a service that manages the rotation of mounted certificates, stunnel will need to be hup'd to re-read the files. Until kubernetes adds native support for signaling, the entrypoint includes a workaround based on inotify.

To monitor certificates for changes, set environment variables accordingly:

env:
  - name: "INOTIFYWAIT_ENABLED"
    value: "1"
  - name: "INOTIFYWAIT_FILES"
    value: >-
      /etc/stunnel/tls.d/service1/tls.crt
      /etc/stunnel/tls.d/service2/tls.crt

About

stunnel image intended for kubernetes

License:MIT License


Languages

Language:Shell 62.5%Language:Dockerfile 31.7%Language:Makefile 5.8%