{"id":16273239,"url":"https://github.com/colearendt/traefik-plugin-init","last_synced_at":"2026-05-01T13:31:17.155Z","repository":{"id":39736391,"uuid":"450666521","full_name":"colearendt/traefik-plugin-init","owner":"colearendt","description":"An init container to make traefik local plugins easier to use","archived":false,"fork":false,"pushed_at":"2022-05-26T20:42:00.000Z","size":46,"stargazers_count":0,"open_issues_count":6,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-04-19T15:45:04.437Z","etag":null,"topics":["kubernetes","plugin","traefik","traefik-docker","traefik-plugin"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/colearendt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-01-21T23:15:38.000Z","updated_at":"2022-05-10T20:18:07.000Z","dependencies_parsed_at":"2022-08-29T00:20:58.431Z","dependency_job_id":null,"html_url":"https://github.com/colearendt/traefik-plugin-init","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/colearendt/traefik-plugin-init","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colearendt%2Ftraefik-plugin-init","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colearendt%2Ftraefik-plugin-init/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colearendt%2Ftraefik-plugin-init/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colearendt%2Ftraefik-plugin-init/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/colearendt","download_url":"https://codeload.github.com/colearendt/traefik-plugin-init/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colearendt%2Ftraefik-plugin-init/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32499681,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["kubernetes","plugin","traefik","traefik-docker","traefik-plugin"],"created_at":"2024-10-10T18:23:23.050Z","updated_at":"2026-05-01T13:31:17.134Z","avatar_url":"https://github.com/colearendt.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Traefik Plugin Init\n\nThis repository provides a simple container that:\n\n- Can be used as an `initContainer` in Kubernetes\n- Avoids having to build custom `traefik` docker images to use [traefik plugins](https://doc.traefik.io/traefik-pilot/plugins/overview/)\n    - (Specifically, [local plugins](https://github.com/traefik/plugindemo#local-mode), which do not require traefik pilot)\n- Can be used with the [traefik helm chart](https://github.com/traefik/traefik-helm-chart)\n- Allows multple plugins for a single traefik installation\n- Allows specifying GitHub references per plugin (i.e. branch, tag, ref, etc.)\n\nPlease see the [./examples](./examples) directory for illustrations of how to use\n\n## What does it do\n\nOn startup, the container loops through GitHub repositories and clones them\ninto the container. By mounting a shared volume between this container and the\ntraefik container, this will make the plugin sources available to traefik.\n\n## Configuration\n\nRecommended configuration is with environment variables:\n- `TRAEFIK_PLUGIN_PATH`: the path repositories will be cloned within\n- `TRAEFIK_PLUGIN_PREFIX`: the environment variable prefix to use to define GitHub repositories\n- `TRAEFIK_PLUGIN_REPO_1`, `TRAEFIK_PLUGIN_REPO_2`, etc.: if\n  `TRAEFIK_PLUGIN_PREFIX` = `TRAEFIK_PLUGIN_REPO_`, then these would house\n  your GitHub references\n\nGit URL examples:\n- `https://github.com/XciD/traefik-plugin-rewrite-headers` (will reference the\n  default branch at container startup)\n- `https://github.com/XciD/traefik-plugin-rewrite-headers@main` (chooses a\n  branch or tag ref)\n- **NOTE: BROKEN:** `https://github.com/XciD/traefik-plugin-rewrite-headers@e66f2dc` (chooses a\n  sha)\n\n**NOTE:** in production, it is recommended to pin plugins to an immutable\nreference (usually a `tag`). Otherwise, restarting traefik pods can\nchange plugin versions\n\n## Shortcomings\n\n- Tested only interactively against https://github.com . Semantics may be different for other\n  git repository providers\n- SHA refs are currently broken\n- Need to test properly\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcolearendt%2Ftraefik-plugin-init","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcolearendt%2Ftraefik-plugin-init","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcolearendt%2Ftraefik-plugin-init/lists"}