{"id":20174665,"url":"https://github.com/sumup-oss/janos","last_synced_at":"2025-03-03T05:10:17.013Z","repository":{"id":65488535,"uuid":"341567098","full_name":"sumup-oss/janos","owner":"sumup-oss","description":"Janos K8s migration","archived":false,"fork":false,"pushed_at":"2021-03-04T08:39:10.000Z","size":29981,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-13T16:18:55.544Z","etag":null,"topics":["api","devops","devops-tools","k8s","kubernetes","update","yaml"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/sumup-oss.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-02-23T13:40:06.000Z","updated_at":"2022-12-13T16:28:40.000Z","dependencies_parsed_at":"2023-01-25T23:46:34.523Z","dependency_job_id":null,"html_url":"https://github.com/sumup-oss/janos","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sumup-oss%2Fjanos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sumup-oss%2Fjanos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sumup-oss%2Fjanos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sumup-oss%2Fjanos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sumup-oss","download_url":"https://codeload.github.com/sumup-oss/janos/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241610996,"owners_count":19990507,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["api","devops","devops-tools","k8s","kubernetes","update","yaml"],"created_at":"2024-11-14T01:43:18.817Z","updated_at":"2025-03-03T05:10:16.988Z","avatar_url":"https://github.com/sumup-oss.png","language":"JavaScript","readme":"# Janos\nJanos is a K8s migration tool that update your manifests in order to be compatible with newer versions. __It does not work with Helm templates, just with pure yaml files.__\n\n[![License](https://img.shields.io/badge/license--lightgrey.svg)](LICENSE.md)\n[![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-v1.4%20adopted-ff69b4.svg)](CODE_OF_CONDUCT.md)\n\n\u003cdiv align=\"center\"\u003e\n\n# \u003cJanos\u003e\n\n\u003cJanos is a K8s migration tool that update your manifests in order to be compatible with newer versions\u003e\n\n\u003c/div\u003e\n\n\u003e **TLDR;**\n\u003e Have your Kuberenetes manifests up to date\n\n\n##### Table of contents\n\n- [Installation](#installation)\n- [Usage](#usage)\n- [List of Changes](#list-of-changes)\n- [About SumUp](#about-sumup)\n\n## Overview\nJanos will convert all your manifest files, updating it inplace. If you pass a directory as a parameter, it will do a recursive search. All comments are removed, and the file formatting may change.\n\n## Installation\n\nBuild the image before running the script, because it will be executed inside the container.\n```sh\n# Build image\nmake build\n\n# Copy entrypoint script to /usr/local/bin\nmake install\n```\n\n## Usage\n\n```sh\njanos {-d|-f}\n-f file       The file to be converted.\n-d dir        The directory with the yaml files to be converted.\n```\nAll the rules are in the file migration.js.\n\n## List of Changes\n  - 1.16: for Kind: Deployment |Daemonset |Statefulset |ReplicaSet Replace for extensions/v1beta1 | apps/v1beta1 | apps/v1beta2 with apps/v1\n  - 1.16: for Kind: Ingress. Replace: extensions/v1beta1 with networking.k8s.io/v1beta1\n  - 1.16: for Kind: PodSecurityPolicy. Replace: extensions/v1beta1 |apps/v1beta2 with policy/v1beta1\n  - 1.16: Generates the now required spec.selector for Kind Deployment |Daemonset |Statefulset |ReplicaSet (using matchLabels app name, you can read more about these here), only if it doesn't exist\n  - 1.17: for Kinds:Role |ClusterRole |RoleBinding |ClusterRoleBinding: Replace rbac.authorization.k8s.io/v1alpha1 | rbac.authorization.k8s.io/v1beta1 with rbac.authorization.k8s.io/v1\n  - 1.19: for Kind: HorizontalPodAutoscaler. Replace: autoscaling/v2beta1 with autoscaling/v2beta2\n\n### Maintainers\n\n- [Denis Policastro](mailto:denis.policastro@sumup.com)\n- [Pablo Loschi](mailto:pablo.loschi@sumup.com)\n\n## About SumUp\n\n![SumUp logo](https://raw.githubusercontent.com/sumup-oss/assets/master/sumup-logo.svg?sanitize=true)\n\n[SumUp](https://sumup.com) is a mobile-point of sale provider. It is our mission to make easy and fast card payments a reality across the *entire* world. You can pay with SumUp in more than 30 countries, already. Our engineers work in Berlin, Cologne, Sofia, and Sāo Paulo. They write code in JavaScript, Swift, Ruby, Go, Java, Erlang, Elixir, and more.\n\nWant to come work with us? [Head to our careers page](https://sumup.com/careers) to find out more.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsumup-oss%2Fjanos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsumup-oss%2Fjanos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsumup-oss%2Fjanos/lists"}