{"id":41363479,"url":"https://github.com/platform9/qbertconfig","last_synced_at":"2026-01-23T08:10:24.662Z","repository":{"id":57458819,"uuid":"155939520","full_name":"platform9/qbertconfig","owner":"platform9","description":"Fetches kubeconfig from qbert API","archived":false,"fork":false,"pushed_at":"2019-11-15T23:08:45.000Z","size":90,"stargazers_count":4,"open_issues_count":2,"forks_count":4,"subscribers_count":36,"default_branch":"master","last_synced_at":"2025-09-29T09:16:51.530Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/platform9.png","metadata":{"files":{"readme":"README.rst","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":"2018-11-03T01:41:17.000Z","updated_at":"2019-11-15T23:06:26.000Z","dependencies_parsed_at":"2022-09-10T11:51:19.910Z","dependency_job_id":null,"html_url":"https://github.com/platform9/qbertconfig","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/platform9/qbertconfig","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/platform9%2Fqbertconfig","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/platform9%2Fqbertconfig/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/platform9%2Fqbertconfig/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/platform9%2Fqbertconfig/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/platform9","download_url":"https://codeload.github.com/platform9/qbertconfig/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/platform9%2Fqbertconfig/sbom","scorecard":{"id":737284,"data":{"date":"2025-08-11","repo":{"name":"github.com/platform9/qbertconfig","commit":"ede8d1765cc7341355ae80cf3f3dd58fd6a3e094"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.6,"checks":[{"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":"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":"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":1,"reason":"Found 3/28 approved changesets -- score normalized to 1","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":-1,"reason":"no workflows found","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":-1,"reason":"No tokens found","details":null,"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":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"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":"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":"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":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.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":-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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 12 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"}}]},"last_synced_at":"2025-08-22T16:14:06.457Z","repository_id":57458819,"created_at":"2025-08-22T16:14:06.457Z","updated_at":"2025-08-22T16:14:06.457Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28684014,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-23T05:48:07.525Z","status":"ssl_error","status_checked_at":"2026-01-23T05:48:07.129Z","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":"2026-01-23T08:10:23.401Z","updated_at":"2026-01-23T08:10:24.653Z","avatar_url":"https://github.com/platform9.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Qbertconfig\n===========\n\n.. image:: https://travis-ci.org/platform9/qbertconfig.svg?branch=master\n    :target: https://travis-ci.org/platform9/qbertconfig\n\nFetches kubeconfig from qbert API\n\n`kubectl config`_ can be used used to manage kubeconfig files. However, \ngathering a kubeconfig file for a Platform9 Managed Kubernetes cluster is \na manual process today. This aims to solve that problem by downloading\nand merging clusters’ kubeconfigs with existing kubeconfig files.\n\nInstallation\n------------\n\nIt’s strongly recommended to use a python virtualenv\n\n.. code:: bash\n\n   pip install qbertconfig\n\nUsage\n-----\n\n.. code:: bash\n\n   qc [-h] [-k KUBECONFIG] \u003coperation\u003e [--name cluster_name] [--uuid cluster_uuid] [-c]\n\n**Supported Operations**\n\n- **fetch** - get a kubeconfig for a PMK cluster\n- **help** - show this message\n- **list-clusters** - list available PMK clusters in the target Platform9 Managed Cloud\n\n**Providing Credentials**\n\nQbertconfig uses the `Openstack SDK`_ to perform authentication against a\nPlatform9 Cloud. Credentials can be provided in either a ``clouds.yaml`` file,\nenvironment variables, or by using the ``--os`` command-line arguments. For more\ninformation, please refer to the `official documentation`_\n\n**Example**\n\n.. code:: bash\n\n    source ~/openstack.rc\n    qc fetch --name dev-cluster -k dev-cluster.kcfg.yml\n    export KUBECONFIG=$(pwd)/dev-cluster.kcfg.yml\n    kubeconfig get nodes --context dev-cluster\n    kubeconfig get pods -n foo\n\nFor more information on openstack rc files and how to generate them, see\n`Installing Openstack CLI Clients`_.\n\nTesting\n-------\n\nRunning Tests\n\n.. code:: bash\n\n   pip install -r requirements.txt\n   nosetests -v -d tests/\n\nLinting\n\n.. code:: bash\n\n   flake8 --exclude versioneer.py\n\nHow it works\n------------\n\nHere is the basic structure of a Kubeconfig:\n\n.. code:: yaml\n\n   apiVersion: v1\n   kind: Config\n   preferences: {}\n   current-context: default\n   clusters: []\n   contexts: []\n   users: []\n\nEach of cluster, context, or user, has a ``name`` associated with it.\nThis is the unique identifier for each object, and each context uses\nthese names to tie it all together.\n\nEach of these sections can be managed with the ``kubectl config``\ncommand. [`Documentation`_]\n\nThis utility will fetch a fresh kubeconfig from the Qbert API, and merge\nit’s details into the specified kubeconfig.\n\nWith the fresh kubeconfig, the following sections are renamed to resolve\ncommon collisions when managing many PMK clouds.\n\n-  ``user`` is renamed to ``fqdn-username`` to align with unique\n   keystone environments\n-  ``context`` is renamed to the ``cluster_name``\n-  ``cluster`` is renamed to the ``cluster_uuid``\n\n.. _kubectl config: https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#config\n.. _Documentation: https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#config\n.. _Openstack SDK: https://docs.openstack.org/openstacksdk/latest/\n.. _official documentation: https://docs.openstack.org/os-client-config/latest/user/configuration.html\n.. _Installing Openstack CLI Clients: https://docs.platform9.com/support/getting-started-with-the-openstack-command-line/","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplatform9%2Fqbertconfig","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fplatform9%2Fqbertconfig","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplatform9%2Fqbertconfig/lists"}