{"id":15441770,"url":"https://github.com/mudler/luet-k8s","last_synced_at":"2026-02-28T06:31:35.522Z","repository":{"id":54986890,"uuid":"319708080","full_name":"mudler/luet-k8s","owner":"mudler","description":"Luet extension to build packages on kubernetes","archived":false,"fork":false,"pushed_at":"2022-11-30T18:12:13.000Z","size":238,"stargazers_count":7,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-11T06:23:19.467Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mudler.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":"2020-12-08T17:13:37.000Z","updated_at":"2024-01-02T22:22:39.000Z","dependencies_parsed_at":"2023-01-23T14:16:06.771Z","dependency_job_id":null,"html_url":"https://github.com/mudler/luet-k8s","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mudler/luet-k8s","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mudler%2Fluet-k8s","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mudler%2Fluet-k8s/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mudler%2Fluet-k8s/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mudler%2Fluet-k8s/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mudler","download_url":"https://codeload.github.com/mudler/luet-k8s/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mudler%2Fluet-k8s/sbom","scorecard":{"id":667210,"data":{"date":"2025-08-11","repo":{"name":"github.com/mudler/luet-k8s","commit":"b8b418d81d6042794055176a50d5837d49182e3b"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.9,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/image.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: GNU General Public License v3.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/image.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/mudler/luet-k8s/image.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/image.yml:43: update your workflow using https://app.stepsecurity.io/secureworkflow/mudler/luet-k8s/image.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/image.yml:49: update your workflow using https://app.stepsecurity.io/secureworkflow/mudler/luet-k8s/image.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/image.yml:53: update your workflow using https://app.stepsecurity.io/secureworkflow/mudler/luet-k8s/image.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/image.yml:60: update your workflow using https://app.stepsecurity.io/secureworkflow/mudler/luet-k8s/image.yml/master?enable=pin","Warn: containerImage not pinned by hash: Dockerfile:1","Warn: containerImage not pinned by hash: Dockerfile:6: pin your Docker image by updating ubuntu:20.04 to ubuntu:20.04@sha256:8feb4d8ca5354def3d8fce243717141ce31e2c428701f6682bd2fafe15388214","Warn: downloadThenRun not pinned by hash: Dockerfile:12","Info:   0 out of   1 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   4 third-party GitHubAction dependencies pinned","Info:   0 out of   2 containerImage dependencies pinned","Info:   0 out of   1 downloadThenRun dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Vulnerabilities","score":4,"reason":"6 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2024-2456 / GHSA-449p-3h89-pw88","Warn: Project is vulnerable to: GO-2024-2466 / GHSA-mw99-9chc-xw7r","Warn: Project is vulnerable to: GO-2025-3367 / GHSA-r9px-m959-cxf4","Warn: Project is vulnerable to: GO-2025-3368 / GHSA-v725-9546-7q7m","Warn: Project is vulnerable to: GO-2023-1515 / GHSA-8fcj-gf77-47mg","Warn: Project is vulnerable to: GO-2023-1519 / GHSA-qrg7-hfx7-95c5"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-21T18:29:34.174Z","repository_id":54986890,"created_at":"2025-08-21T18:29:34.174Z","updated_at":"2025-08-21T18:29:34.174Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29926634,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-27T19:37:42.220Z","status":"online","status_checked_at":"2026-02-28T02:00:07.010Z","response_time":90,"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":[],"created_at":"2024-10-01T19:22:51.666Z","updated_at":"2026-02-28T06:31:35.496Z","avatar_url":"https://github.com/mudler.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# (experimental) Luet Kubernetes CRD controller\n\nSimple CRD that uses [luet](https://github.com/mudler/luet) and [img](https://github.com/genuinetools/img) to build packages on Kubernetes. It doesn't require `privileged` permissions, and builds the image as user `1000` in the workload pod.\n\nIf you need to build docker images only, have a look at [img-controller](https://github.com/mudler/img-controller/)\n\n## Install\n\nTo install it in your k8s cluster:\n\n```bash\n$ kubectl apply -f https://raw.githubusercontent.com/mudler/luet-k8s/master/hack/kube.yaml\n```\n\n## Build packages\n\nThe controller expose a new `PackageBuild` Kubernetes resource type, which can be used to build docker images with `img` and packages with `luet`.\n\nTo build a package, for example:\n\n```bash\n\n$ cat \u003c\u003cEOF | kubectl apply -f -\napiVersion: build.luet.io/v1alpha1\nkind: PackageBuild\nmetadata:\n  name: test\nspec:\n  packageName: container/img\n  repository: \n    url: \"https://github.com/mocaccinoOS/mocaccino-extra\"\n  options:\n    pull: true\n    imageRepository: \"quay.io/mocaccinocache/extra-amd64-cache\"\nEOF\n```\n\n\n### Full example\n\n\n```yaml\napiVersion: build.luet.io/v1alpha1\nkind: PackageBuild\nmetadata:\n  name: test\nspec:\n  annotations:\n    # Annotations to apply to workload pod\n  labels:\n    # Labels to apply to workload pod\n  nodeSelector:\n    # node Selector labels\n  packageName: container/img\n  registry:\n    enabled: true\n    username: \"user\"\n    password: \"pass\"\n    registry: \"quay.io\"\n    fromSecret: \"secret-key\" # Only if using credentials from secret\n  storage:\n    enabled: true\n    url: \"minio_url\"\n    secretKey: \"minio_secret_key\"\n    accessID: \"minio_access_id\"\n    bucket: \"bucket\"\n    path: \"/bucket/path\"\n    fromSecret: \"secret-Key\" # Only if using credentials from secrets\n  repository: \n    url: \"https://github.com/mocaccinoOS/mocaccino-extra\"\n    path: \"/foo/path\"\n    checkout: \"hash_or_branch\"\n  options:\n    pull: true\n    clean: true\n    onlyTarget: true\n    full: true\n    all: true\n    privileged: true\n    compression: \"gzip\"\n    resources:\n        requests:\n            cpu: \"100m\"\n            memory: \"200Mi\"\n        limits:\n            cpu: \"10m\"\n            memory: \"1Mi\"\n    push: true\n    tree:\n    - /tree/path\n    noDeps: true\n    color: true\n    spinner: true\n    imageRepository: \"quay.io/mocaccinocache/extra-amd64-cache\"\n```\n\nIf storage and registry credentials are sourced from secrets, the secret should have the following fields and live in the same namespace of the workload:\n\n```yaml\nstorageUrl: \"\"\nstorageSecretKey: \"\"\nstorageAccessID: \"\"\nregistryUri: \"\"\nregistryPassword: \"\"\nregistryUsername: \"\"\n```\n\n## Uninstall\n\nFirst delete all the workload from the cluster, by deleting all the `packagebuild` resources.\n\nThen run:\n\n```bash\n\n$ kubectl delete -f https://raw.githubusercontent.com/mudler/luet-k8s/master/hack/kube.yaml\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmudler%2Fluet-k8s","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmudler%2Fluet-k8s","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmudler%2Fluet-k8s/lists"}