├── .bandit.yml ├── .circleci └── config.yml ├── .dockerignore ├── .gitignore ├── .gitmodules ├── .pre-commit-config.yaml ├── .readthedocs.yaml ├── Dockerfile ├── LICENSE ├── MANIFEST.in ├── Makefile ├── README.md ├── docker-image ├── .pip │ └── pip.conf ├── .zshrc ├── apt │ └── sources.list ├── git_askpass.sh ├── requirements.in └── requirements.txt ├── docs ├── _static │ ├── grafana-container-monitor.json │ └── grafana.jpg ├── admin.rst ├── app.rst ├── best-practices.rst ├── conf.py ├── design.rst ├── dev.rst ├── errors.rst ├── index.rst ├── quick-start.rst └── requirements.txt ├── lain_cli ├── __init__.py ├── aliyun.py ├── chart_template │ ├── Chart.yaml.j2 │ ├── index.yaml │ ├── templates │ │ ├── _helpers.tpl │ │ ├── cronjob.yaml │ │ ├── deployment.yaml │ │ ├── externalIngress.yaml │ │ ├── ingress.yaml │ │ ├── job.yaml │ │ ├── networkPolicy.yaml │ │ ├── pvc.yaml │ │ ├── service.yaml │ │ ├── statefulSet.yaml │ │ └── test.yaml │ └── values.yaml.j2 ├── cluster_values │ └── values-test.yaml ├── harbor.py ├── kibana.py ├── lain.py ├── lint.py ├── prometheus.py ├── prompt.py ├── registry.py ├── scm.py ├── templates │ ├── .dockerignore.j2 │ ├── Dockerfile.j2 │ ├── canary-toast.txt.j2 │ ├── deploy-toast.txt.j2 │ ├── deploy-webhook-message.txt.j2 │ ├── docker-compose.yaml.j2 │ ├── job.yaml.j2 │ ├── k8s-secret-diff.txt.j2 │ └── values-canary.yaml.j2 ├── tencent.py ├── utils.py └── webhook.py ├── pylintrc ├── pyproject.toml ├── pytest.ini ├── setup.cfg ├── setup.py └── tests ├── __init__.py ├── conftest.py ├── editor.py ├── test_commands.py ├── test_utils.py ├── test_values.py └── test_workflow.py /.bandit.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timfeirg/lain-cli/HEAD/.bandit.yml -------------------------------------------------------------------------------- /.circleci/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timfeirg/lain-cli/HEAD/.circleci/config.yml -------------------------------------------------------------------------------- /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timfeirg/lain-cli/HEAD/.dockerignore -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timfeirg/lain-cli/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timfeirg/lain-cli/HEAD/.gitmodules -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timfeirg/lain-cli/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /.readthedocs.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timfeirg/lain-cli/HEAD/.readthedocs.yaml -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timfeirg/lain-cli/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timfeirg/lain-cli/HEAD/LICENSE -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timfeirg/lain-cli/HEAD/MANIFEST.in -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timfeirg/lain-cli/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timfeirg/lain-cli/HEAD/README.md -------------------------------------------------------------------------------- /docker-image/.pip/pip.conf: -------------------------------------------------------------------------------- 1 | [global] 2 | no-cache-dir = 0 3 | -------------------------------------------------------------------------------- /docker-image/.zshrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timfeirg/lain-cli/HEAD/docker-image/.zshrc -------------------------------------------------------------------------------- /docker-image/apt/sources.list: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timfeirg/lain-cli/HEAD/docker-image/apt/sources.list -------------------------------------------------------------------------------- /docker-image/git_askpass.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timfeirg/lain-cli/HEAD/docker-image/git_askpass.sh -------------------------------------------------------------------------------- /docker-image/requirements.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timfeirg/lain-cli/HEAD/docker-image/requirements.in -------------------------------------------------------------------------------- /docker-image/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timfeirg/lain-cli/HEAD/docker-image/requirements.txt -------------------------------------------------------------------------------- /docs/_static/grafana-container-monitor.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timfeirg/lain-cli/HEAD/docs/_static/grafana-container-monitor.json -------------------------------------------------------------------------------- /docs/_static/grafana.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timfeirg/lain-cli/HEAD/docs/_static/grafana.jpg -------------------------------------------------------------------------------- /docs/admin.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timfeirg/lain-cli/HEAD/docs/admin.rst -------------------------------------------------------------------------------- /docs/app.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timfeirg/lain-cli/HEAD/docs/app.rst -------------------------------------------------------------------------------- /docs/best-practices.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timfeirg/lain-cli/HEAD/docs/best-practices.rst -------------------------------------------------------------------------------- /docs/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timfeirg/lain-cli/HEAD/docs/conf.py -------------------------------------------------------------------------------- /docs/design.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timfeirg/lain-cli/HEAD/docs/design.rst -------------------------------------------------------------------------------- /docs/dev.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timfeirg/lain-cli/HEAD/docs/dev.rst -------------------------------------------------------------------------------- /docs/errors.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timfeirg/lain-cli/HEAD/docs/errors.rst -------------------------------------------------------------------------------- /docs/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timfeirg/lain-cli/HEAD/docs/index.rst -------------------------------------------------------------------------------- /docs/quick-start.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timfeirg/lain-cli/HEAD/docs/quick-start.rst -------------------------------------------------------------------------------- /docs/requirements.txt: -------------------------------------------------------------------------------- 1 | furo 2 | -------------------------------------------------------------------------------- /lain_cli/__init__.py: -------------------------------------------------------------------------------- 1 | __version__ = '4.11.4' 2 | package_name = 'lain' 3 | -------------------------------------------------------------------------------- /lain_cli/aliyun.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timfeirg/lain-cli/HEAD/lain_cli/aliyun.py -------------------------------------------------------------------------------- /lain_cli/chart_template/Chart.yaml.j2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timfeirg/lain-cli/HEAD/lain_cli/chart_template/Chart.yaml.j2 -------------------------------------------------------------------------------- /lain_cli/chart_template/index.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timfeirg/lain-cli/HEAD/lain_cli/chart_template/index.yaml -------------------------------------------------------------------------------- /lain_cli/chart_template/templates/_helpers.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timfeirg/lain-cli/HEAD/lain_cli/chart_template/templates/_helpers.tpl -------------------------------------------------------------------------------- /lain_cli/chart_template/templates/cronjob.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timfeirg/lain-cli/HEAD/lain_cli/chart_template/templates/cronjob.yaml -------------------------------------------------------------------------------- /lain_cli/chart_template/templates/deployment.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timfeirg/lain-cli/HEAD/lain_cli/chart_template/templates/deployment.yaml -------------------------------------------------------------------------------- /lain_cli/chart_template/templates/externalIngress.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timfeirg/lain-cli/HEAD/lain_cli/chart_template/templates/externalIngress.yaml -------------------------------------------------------------------------------- /lain_cli/chart_template/templates/ingress.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timfeirg/lain-cli/HEAD/lain_cli/chart_template/templates/ingress.yaml -------------------------------------------------------------------------------- /lain_cli/chart_template/templates/job.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timfeirg/lain-cli/HEAD/lain_cli/chart_template/templates/job.yaml -------------------------------------------------------------------------------- /lain_cli/chart_template/templates/networkPolicy.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timfeirg/lain-cli/HEAD/lain_cli/chart_template/templates/networkPolicy.yaml -------------------------------------------------------------------------------- /lain_cli/chart_template/templates/pvc.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timfeirg/lain-cli/HEAD/lain_cli/chart_template/templates/pvc.yaml -------------------------------------------------------------------------------- /lain_cli/chart_template/templates/service.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timfeirg/lain-cli/HEAD/lain_cli/chart_template/templates/service.yaml -------------------------------------------------------------------------------- /lain_cli/chart_template/templates/statefulSet.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timfeirg/lain-cli/HEAD/lain_cli/chart_template/templates/statefulSet.yaml -------------------------------------------------------------------------------- /lain_cli/chart_template/templates/test.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timfeirg/lain-cli/HEAD/lain_cli/chart_template/templates/test.yaml -------------------------------------------------------------------------------- /lain_cli/chart_template/values.yaml.j2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timfeirg/lain-cli/HEAD/lain_cli/chart_template/values.yaml.j2 -------------------------------------------------------------------------------- /lain_cli/cluster_values/values-test.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timfeirg/lain-cli/HEAD/lain_cli/cluster_values/values-test.yaml -------------------------------------------------------------------------------- /lain_cli/harbor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timfeirg/lain-cli/HEAD/lain_cli/harbor.py -------------------------------------------------------------------------------- /lain_cli/kibana.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timfeirg/lain-cli/HEAD/lain_cli/kibana.py -------------------------------------------------------------------------------- /lain_cli/lain.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timfeirg/lain-cli/HEAD/lain_cli/lain.py -------------------------------------------------------------------------------- /lain_cli/lint.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timfeirg/lain-cli/HEAD/lain_cli/lint.py -------------------------------------------------------------------------------- /lain_cli/prometheus.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timfeirg/lain-cli/HEAD/lain_cli/prometheus.py -------------------------------------------------------------------------------- /lain_cli/prompt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timfeirg/lain-cli/HEAD/lain_cli/prompt.py -------------------------------------------------------------------------------- /lain_cli/registry.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timfeirg/lain-cli/HEAD/lain_cli/registry.py -------------------------------------------------------------------------------- /lain_cli/scm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timfeirg/lain-cli/HEAD/lain_cli/scm.py -------------------------------------------------------------------------------- /lain_cli/templates/.dockerignore.j2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timfeirg/lain-cli/HEAD/lain_cli/templates/.dockerignore.j2 -------------------------------------------------------------------------------- /lain_cli/templates/Dockerfile.j2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timfeirg/lain-cli/HEAD/lain_cli/templates/Dockerfile.j2 -------------------------------------------------------------------------------- /lain_cli/templates/canary-toast.txt.j2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timfeirg/lain-cli/HEAD/lain_cli/templates/canary-toast.txt.j2 -------------------------------------------------------------------------------- /lain_cli/templates/deploy-toast.txt.j2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timfeirg/lain-cli/HEAD/lain_cli/templates/deploy-toast.txt.j2 -------------------------------------------------------------------------------- /lain_cli/templates/deploy-webhook-message.txt.j2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timfeirg/lain-cli/HEAD/lain_cli/templates/deploy-webhook-message.txt.j2 -------------------------------------------------------------------------------- /lain_cli/templates/docker-compose.yaml.j2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timfeirg/lain-cli/HEAD/lain_cli/templates/docker-compose.yaml.j2 -------------------------------------------------------------------------------- /lain_cli/templates/job.yaml.j2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timfeirg/lain-cli/HEAD/lain_cli/templates/job.yaml.j2 -------------------------------------------------------------------------------- /lain_cli/templates/k8s-secret-diff.txt.j2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timfeirg/lain-cli/HEAD/lain_cli/templates/k8s-secret-diff.txt.j2 -------------------------------------------------------------------------------- /lain_cli/templates/values-canary.yaml.j2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timfeirg/lain-cli/HEAD/lain_cli/templates/values-canary.yaml.j2 -------------------------------------------------------------------------------- /lain_cli/tencent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timfeirg/lain-cli/HEAD/lain_cli/tencent.py -------------------------------------------------------------------------------- /lain_cli/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timfeirg/lain-cli/HEAD/lain_cli/utils.py -------------------------------------------------------------------------------- /lain_cli/webhook.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timfeirg/lain-cli/HEAD/lain_cli/webhook.py -------------------------------------------------------------------------------- /pylintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timfeirg/lain-cli/HEAD/pylintrc -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timfeirg/lain-cli/HEAD/pyproject.toml -------------------------------------------------------------------------------- /pytest.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timfeirg/lain-cli/HEAD/pytest.ini -------------------------------------------------------------------------------- /setup.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timfeirg/lain-cli/HEAD/setup.cfg -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timfeirg/lain-cli/HEAD/setup.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timfeirg/lain-cli/HEAD/tests/conftest.py -------------------------------------------------------------------------------- /tests/editor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timfeirg/lain-cli/HEAD/tests/editor.py -------------------------------------------------------------------------------- /tests/test_commands.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timfeirg/lain-cli/HEAD/tests/test_commands.py -------------------------------------------------------------------------------- /tests/test_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timfeirg/lain-cli/HEAD/tests/test_utils.py -------------------------------------------------------------------------------- /tests/test_values.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timfeirg/lain-cli/HEAD/tests/test_values.py -------------------------------------------------------------------------------- /tests/test_workflow.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timfeirg/lain-cli/HEAD/tests/test_workflow.py --------------------------------------------------------------------------------