DEV Community

CrazyMax
CrazyMax

Posted on

Diun 4.0 available with Kubernetes support

GitHub logo crazy-max / diun

πŸ”” Receive notifications when an image is updated on a Docker registry

Documentation GitHub release Total downloads Build Status Docker Stars Docker Pulls
Go Report Code Quality Codecov Become a sponsor Donate Paypal

About

Diun is a CLI application written in Go and delivered as a single executable (and a Docker image) to receive notifications when a Docker image is updated on a Docker registry.

Documentation

Documentation can be found on https://crazy-max.github.io/diun/

How can I help?

All kinds of contributions are welcome πŸ™Œ! The most basic way to show your support is to star 🌟 the project, or to raise issues πŸ’¬ You can also support this project by becoming a sponsor on GitHub πŸ‘ or by making a Paypal donation to ensure this journey continues indefinitely! πŸš€

Thanks again for your support, it is much appreciated! πŸ™

License

MIT. See LICENSE for more details.

Diun 4.0 is now available and adds support for Kubernetes and also other improvements.

New website

A website for documentation using MkDocs Material has been created: https://crazy-max.github.io/diun/

Website

Kubernetes

For this new provider, the analysis can be done on all pods in all or custom namespaces:

providers:
  kubernetes:
    namespaces:
      - default
      - production

The configuration can be global for your provider or more refined with Kubernetes annotations dedicated to Diun:

apiVersion: apps/v1
kind: Deployment
metadata:
  namespace: default
  name: nginx
spec:
  selector:
    matchLabels:
      run: nginx
  replicas: 2
  template:
    metadata:
      labels:
        run: nginx
      annotations:
        diun.enable: "true"
        diun.watch_repo: "true"
    spec:
      containers:
        - name: nginx
          image: nginx
          ports:
            - containerPort: 80

Other improvements

  • Configuration transposed into environment variables
  • Automatically determine registry options and credentials based on image name (registry domain and/or repo path)
  • Display hostname in notifications
  • Add link to respective hub in notifications
  • Add Mattermost compatibility via Slack webhooks

Let me know if you have any questions or if you are waiting for new features!


Support this project by becoming a sponsor on GitHub πŸ‘ or by making a Paypal donation to ensure this journey continues indefinitely! πŸš€

Thanks again for your support, it is much appreciated! πŸ™

Top comments (0)