{"id":19838522,"url":"https://github.com/metal-stack/os-metal-extension","last_synced_at":"2026-03-13T01:34:24.658Z","repository":{"id":42972791,"uuid":"192315752","full_name":"metal-stack/os-metal-extension","owner":"metal-stack","description":"gardener extension to handle userdata creation in the ignition format","archived":false,"fork":false,"pushed_at":"2026-03-04T09:08:41.000Z","size":9450,"stargazers_count":4,"open_issues_count":5,"forks_count":2,"subscribers_count":6,"default_branch":"master","last_synced_at":"2026-03-04T15:29:56.419Z","etag":null,"topics":["debian","gardener","ignition","kubernetes","metal","ubuntu"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/metal-stack.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-06-17T09:24:09.000Z","updated_at":"2025-11-12T12:22:07.000Z","dependencies_parsed_at":"2023-01-20T02:04:08.405Z","dependency_job_id":"38992dba-53ef-422b-a3c8-6a79c34758ea","html_url":"https://github.com/metal-stack/os-metal-extension","commit_stats":null,"previous_names":["metal-pod/os-metal-extension"],"tags_count":32,"template":false,"template_full_name":null,"purl":"pkg:github/metal-stack/os-metal-extension","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metal-stack%2Fos-metal-extension","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metal-stack%2Fos-metal-extension/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metal-stack%2Fos-metal-extension/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metal-stack%2Fos-metal-extension/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/metal-stack","download_url":"https://codeload.github.com/metal-stack/os-metal-extension/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metal-stack%2Fos-metal-extension/sbom","scorecard":{"id":637744,"data":{"date":"2025-08-11","repo":{"name":"github.com/metal-stack/os-metal-extension","commit":"27e1c2b3e32fa94f0800f7f1cead9211423235e7"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4,"checks":[{"name":"Maintained","score":1,"reason":"2 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"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":"Code-Review","score":10,"reason":"all changesets reviewed","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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/docker.yaml:1","Warn: no topLevel permission defined: .github/workflows/helm.yaml:1","Warn: no topLevel permission defined: .github/workflows/release-drafter.yaml:1","Warn: no topLevel permission defined: .github/workflows/test.yaml: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":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: third-party GitHubAction not pinned by hash: .github/workflows/docker.yaml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/metal-stack/os-metal-extension/docker.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/docker.yaml:32: update your workflow using https://app.stepsecurity.io/secureworkflow/metal-stack/os-metal-extension/docker.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/docker.yaml:35: update your workflow using https://app.stepsecurity.io/secureworkflow/metal-stack/os-metal-extension/docker.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/docker.yaml:41: update your workflow using https://app.stepsecurity.io/secureworkflow/metal-stack/os-metal-extension/docker.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/docker.yaml:47: update your workflow using https://app.stepsecurity.io/secureworkflow/metal-stack/os-metal-extension/docker.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/docker.yaml:53: update your workflow using https://app.stepsecurity.io/secureworkflow/metal-stack/os-metal-extension/docker.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/docker.yaml:56: update your workflow using https://app.stepsecurity.io/secureworkflow/metal-stack/os-metal-extension/docker.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/helm.yaml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/metal-stack/os-metal-extension/helm.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/helm.yaml:34: update your workflow using https://app.stepsecurity.io/secureworkflow/metal-stack/os-metal-extension/helm.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/helm.yaml:42: update your workflow using https://app.stepsecurity.io/secureworkflow/metal-stack/os-metal-extension/helm.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/helm.yaml:47: update your workflow using https://app.stepsecurity.io/secureworkflow/metal-stack/os-metal-extension/helm.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release-drafter.yaml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/metal-stack/os-metal-extension/release-drafter.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yaml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/metal-stack/os-metal-extension/test.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yaml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/metal-stack/os-metal-extension/test.yaml/master?enable=pin","Warn: containerImage not pinned by hash: Dockerfile:1","Warn: containerImage not pinned by hash: Dockerfile:7: pin your Docker image by updating gcr.io/distroless/static-debian12:nonroot to gcr.io/distroless/static-debian12:nonroot@sha256:cdf4daaf154e3e27cfffc799c16f343a384228f38646928a1513d925f473cb46","Info:   0 out of   5 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   9 third-party GitHubAction dependencies pinned","Info:   0 out of   2 containerImage 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":"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":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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":"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":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/docker.yaml:19"],"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"11 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2025-3696 / GHSA-3hw7-qj9h-r835","Warn: Project is vulnerable to: GO-2025-3698 / GHSA-9x73-87fh-54w9","Warn: Project is vulnerable to: GO-2025-3487 / GHSA-hcg3-q754-cr77","Warn: Project is vulnerable to: GO-2025-3503 / GHSA-qxp5-gwg8-xv66","Warn: Project is vulnerable to: GO-2025-3595 / GHSA-vvgc-356p-c3xw","Warn: Project is vulnerable to: GO-2025-3488 / GHSA-6v2p-p543-phr9","Warn: Project is vulnerable to: GO-2025-3601 / GHSA-4hfp-h4cw-hj8p","Warn: Project is vulnerable to: GO-2025-3602 / GHSA-5xqw-8hwv-wg92","Warn: Project is vulnerable to: GO-2025-3802 / GHSA-557j-xg8c-q2mm","Warn: Project is vulnerable to: GHSA-9h84-qmv7-982p","Warn: Project is vulnerable to: GHSA-f9f8-9pmf-xv68"],"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-21T09:42:32.812Z","repository_id":42972791,"created_at":"2025-08-21T09:42:32.812Z","updated_at":"2025-08-21T09:42:32.812Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30453806,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-12T21:31:01.033Z","status":"ssl_error","status_checked_at":"2026-03-12T21:30:43.161Z","response_time":114,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["debian","gardener","ignition","kubernetes","metal","ubuntu"],"created_at":"2024-11-12T12:18:02.825Z","updated_at":"2026-03-13T01:34:24.611Z","avatar_url":"https://github.com/metal-stack.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [Gardener Extension for Ignition on Ubuntu and Debian on Metal](https://gardener.cloud)\n\nProject Gardener implements the automated management and operation of [Kubernetes](https://kubernetes.io/) clusters as a service. It's main principle is to leverage Kubernetes concepts for all of its tasks.\n\nRecently, most of the vendor specific logic has been developed [in-tree](https://github.com/gardener/gardener). However, the project has grown to a size where it is very hard to extend, maintain, and test. With [GEP-1](https://github.com/gardener/gardener/blob/master/docs/proposals/01-extensibility.md) we have proposed how the architecture can be changed in a way to support external controllers that contain their very own vendor specifics. This way, we can keep Gardener core clean and independent.\n\nThis controller operates on the `OperatingSystemConfig` resource in the `extensions.gardener.cloud/v1alpha1` API group. It manages those objects that are requesting [Ubuntu with Ignition](https://coreos.com/ignition/) (Metal) configuration (`.spec.type=ubuntu`) or (`.spec.type=debian`):\n\n```yaml\n---\napiVersion: extensions.gardener.cloud/v1alpha1\nkind: OperatingSystemConfig\nmetadata:\n  name: pool-01-original\n  namespace: default\nspec:\n  type: ubuntu\n  units:\n    ...\n  files:\n    ...\n```\n\nPlease find [a concrete example](example/operatingsystemconfig.yaml) in the `example` folder.\n\nAfter reconciliation the resulting data will be stored in a secret within the same namespace (as the config itself might contain confidential data). The name of the secret will be written into the resource's `.status` field:\n\n```yaml\n...\nstatus:\n  ...\n  cloudConfig:\n    secretRef:\n      name: osc-result-pool-01-original\n      namespace: default\n  command: /usr/bin/env bash \u003cpath\u003e\n  units:\n  - docker-monitor.service\n  - kubelet-monitor.service\n  - kubelet.service\n```\n\nThe secret has one data key `cloud_config` that stores the generation.\n\nAn example for a `ControllerRegistration` resource that can be used to register this controller to Gardener can be found [here](example/controller-registration.yaml).\n\nPlease find more information regarding the extensibility concepts and a detailed proposal [here](https://github.com/gardener/gardener/blob/master/docs/proposals/01-extensibility.md).\n\n----\n\n## How to start using or developing this extension controller locally\n\nYou can run the controller locally on your machine by executing `make start-os-metal`. Please make sure to have the kubeconfig to the cluster you want to connect to ready in the `./dev/kubeconfig` file.\nStatic code checks and tests can be executed by running `VERIFY=true make all`. We are using go modules for Golang package dependency management and [Ginkgo](https://github.com/onsi/ginkgo)/[Gomega](https://github.com/onsi/gomega) for testing.\n\n## Feedback and Support\n\nFeedback and contributions are always welcome. Please report bugs or suggestions as [GitHub issues](https://github.com/gardener/gardener/extensions/issues) or join our [Slack channel #gardener](https://kubernetes.slack.com/messages/gardener) (please invite yourself to the Kubernetes workspace [here](http://slack.k8s.io)).\n\n## Learn more!\n\nPlease find further resources about out project here:\n\n* [Our landing page gardener.cloud](https://gardener.cloud/)\n* [\"Gardener, the Kubernetes Botanist\" blog on kubernetes.io](https://kubernetes.io/blog/2018/05/17/gardener/)\n* [GEP-1 (Gardener Enhancement Proposal) on extensibility](https://github.com/gardener/gardener/blob/master/docs/proposals/01-extensibility.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetal-stack%2Fos-metal-extension","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmetal-stack%2Fos-metal-extension","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetal-stack%2Fos-metal-extension/lists"}