{"id":19530316,"url":"https://github.com/rpardini/k8s-jenkins-toolbox","last_synced_at":"2026-03-19T10:19:26.238Z","repository":{"id":145682386,"uuid":"139839434","full_name":"rpardini/k8s-jenkins-toolbox","owner":"rpardini","description":"A toolbox container, meant to be used in Jenkinsfile's; kubectl and other YAML manipulation utilities","archived":false,"fork":false,"pushed_at":"2023-01-12T11:35:19.000Z","size":15,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-05T05:03:07.678Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rpardini.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-07-05T11:26:24.000Z","updated_at":"2022-09-26T21:14:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"9905f7a4-5623-4745-b5a4-7bbee10cead6","html_url":"https://github.com/rpardini/k8s-jenkins-toolbox","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/rpardini/k8s-jenkins-toolbox","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rpardini%2Fk8s-jenkins-toolbox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rpardini%2Fk8s-jenkins-toolbox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rpardini%2Fk8s-jenkins-toolbox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rpardini%2Fk8s-jenkins-toolbox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rpardini","download_url":"https://codeload.github.com/rpardini/k8s-jenkins-toolbox/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rpardini%2Fk8s-jenkins-toolbox/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28772913,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-26T08:38:24.014Z","status":"ssl_error","status_checked_at":"2026-01-26T08:38:22.080Z","response_time":59,"last_error":"SSL_read: 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":[],"created_at":"2024-11-11T01:30:39.563Z","updated_at":"2026-01-26T09:33:55.820Z","avatar_url":"https://github.com/rpardini.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# k8s-jenkins-toolbox\n\nA toolbox container, meant to be used in Jenkinsfile's; kubectl and other YAML manipulation utilities.\n\nIncluded:\n\n- kubectl\n- helm\n- kubernetes-deploy\n- jq\n- yq\n- curl/bash/git\n\nIt was mostly copied from [lachie83](https://github.com/lachie83/k8s-kubectl), thanks.\n\n## Example Jenkinsfile fragment\n\nThis uses [kubernetes-cli](https://github.com/jenkinsci/kubernetes-cli-plugin) plugin to get a working KUBECONFIG.\nYou need to create a Credential of type Certificate (`k8s-cert-credentials` in this example) in Jenkins.\n\n```groovy\nnode {\n    ansiColor('xterm') {\n        stage('Kubernetes Toolbox Example') {\n            docker.image('rpardini/k8s-jenkins-toolbox:latest').inside() { // run block inside the toolbox container\n                withKubeConfig(credentialsId: 'k8s-cert-credentials', serverUrl: 'https://some.k8s.server') { // create KUBECONFIG file\n                    checkout scm // to get a git checkout inside the toolbox container\n                    sh 'kubectl version' \n                    sh 'kubectl cluster-info'\n                    sh 'helm --help'\n                    sh 'kubernetes-deploy --help'\n                    sh 'cat some/yaml/in/your/repo/file.yaml | yq -y .'\n                }\n            }\n        }\n    }\n    /// ...  \n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frpardini%2Fk8s-jenkins-toolbox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frpardini%2Fk8s-jenkins-toolbox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frpardini%2Fk8s-jenkins-toolbox/lists"}