docs: #68 add document to how to install with helm
This commit is contained in:
parent
caab72dac5
commit
95a8e9968b
46
.github/workflows/deploy-helm-charts.yml
vendored
46
.github/workflows/deploy-helm-charts.yml
vendored
@ -1,46 +0,0 @@
|
||||
name: Deploy Helm Charts
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- "k8s/helm/**"
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
release:
|
||||
# depending on default permission settings for your org (contents being read-only or read-write for workloads), you will have to add permissions
|
||||
# see: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#modifying-the-permissions-for-the-github_token
|
||||
permissions:
|
||||
contents: write
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Configure Git
|
||||
run: |
|
||||
git config user.name "$GITHUB_ACTOR"
|
||||
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
|
||||
|
||||
- name: Install Helm
|
||||
uses: azure/setup-helm@v4
|
||||
env:
|
||||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
||||
|
||||
- name: Update Helm Deps
|
||||
run: |
|
||||
helm repo add bitnami https://charts.bitnami.com/bitnami
|
||||
cd k8s/helm
|
||||
helm dependency update
|
||||
|
||||
- name: Run chart-releaser
|
||||
uses: helm/chart-releaser-action@v1.6.0
|
||||
with:
|
||||
charts_dir: k8s
|
||||
config: k8s/helm/cr.yaml
|
||||
env:
|
||||
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
@ -1,2 +0,0 @@
|
||||
owner: msgbyte
|
||||
git-repo: charts
|
4
website/docs/install/kubernetes/_category_.json
Normal file
4
website/docs/install/kubernetes/_category_.json
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"label": "Kubernetes",
|
||||
"position": 2
|
||||
}
|
31
website/docs/install/kubernetes/helm.md
Normal file
31
website/docs/install/kubernetes/helm.md
Normal file
@ -0,0 +1,31 @@
|
||||
---
|
||||
sidebar_position: 1
|
||||
---
|
||||
|
||||
# Install in Helm
|
||||
|
||||
Helm is a tool that streamlines installing and managing Kubernetes applications. Although helm you can easy and quickly enjoy tianji in kubernetes.
|
||||
|
||||
## Add repo
|
||||
|
||||
At first, you should add msgbyte charts registry into helm repo list.
|
||||
|
||||
```bash
|
||||
helm repo add msgbyte https://msgbyte.github.io/charts
|
||||
```
|
||||
|
||||
Now you can search tianji with `helm search` command.
|
||||
|
||||
```bash
|
||||
helm search repo tianji
|
||||
```
|
||||
|
||||
## Install
|
||||
|
||||
Then, feel free to install with one command:
|
||||
|
||||
```bash
|
||||
helm install tianji msgbyte/tianji
|
||||
```
|
||||
|
||||
Its will bring you a pg database and tianji.
|
Loading…
Reference in New Issue
Block a user