mirror of
https://github.com/nikdoof/smsbot.git
synced 2025-12-14 10:32:16 +00:00
Add helm chart
This commit is contained in:
32
.github/workflows/release-chart.yaml
vendored
Normal file
32
.github/workflows/release-chart.yaml
vendored
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
name: Release Helm Chart
|
||||||
|
|
||||||
|
"on":
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
paths:
|
||||||
|
- "charts/**/Chart.yaml"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
release:
|
||||||
|
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@v1
|
||||||
|
with:
|
||||||
|
version: v3.6.3
|
||||||
|
|
||||||
|
- name: Run chart-releaser
|
||||||
|
uses: helm/chart-releaser-action@v1.2.1
|
||||||
|
env:
|
||||||
|
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
|
CR_RELEASE_NAME_TEMPLATE: "smsbot-helm-chart-{{ .Version }}"
|
||||||
6
charts/smsbot/Chart.lock
Normal file
6
charts/smsbot/Chart.lock
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
dependencies:
|
||||||
|
- name: common
|
||||||
|
repository: https://library-charts.k8s-at-home.com
|
||||||
|
version: 4.0.0
|
||||||
|
digest: sha256:0c6cd85b0c4a451d01fcbbe16ae1d969d2cf323e053944d6c543113b6a281f88
|
||||||
|
generated: "2021-12-23T18:33:24.377986Z"
|
||||||
18
charts/smsbot/Chart.yaml
Normal file
18
charts/smsbot/Chart.yaml
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
apiVersion: v2
|
||||||
|
appVersion: 0.0.2
|
||||||
|
description: A simple Telegram bot to receive SMS messages.
|
||||||
|
name: smsbot
|
||||||
|
version: 0.0.2
|
||||||
|
kubeVersion: ">=1.19.0-0"
|
||||||
|
keywords:
|
||||||
|
- smsbot
|
||||||
|
home: https://github.com/nikdoof/smsbot/tree/main/charts/smsbot
|
||||||
|
sources:
|
||||||
|
- https://github.com/nikdoof/smsbot
|
||||||
|
maintainers:
|
||||||
|
- name: nikdoof
|
||||||
|
email: nikdoof@users.noreply.github.com
|
||||||
|
dependencies:
|
||||||
|
- name: common
|
||||||
|
repository: https://library-charts.k8s-at-home.com
|
||||||
|
version: 4.3.0
|
||||||
10
charts/smsbot/ci/ct-values.yaml
Normal file
10
charts/smsbot/ci/ct-values.yaml
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
env:
|
||||||
|
SMSBOT_TELEGRAM_BOT_TOKEN: xxxx
|
||||||
|
ingress:
|
||||||
|
main:
|
||||||
|
enabled: true
|
||||||
|
hosts:
|
||||||
|
- host: smsbot.domain.tld
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
pathType: Prefix
|
||||||
1
charts/smsbot/templates/NOTES.txt
Normal file
1
charts/smsbot/templates/NOTES.txt
Normal file
@@ -0,0 +1 @@
|
|||||||
|
{{ include "common.notes.defaultNotes" . }}
|
||||||
1
charts/smsbot/templates/common.yaml
Normal file
1
charts/smsbot/templates/common.yaml
Normal file
@@ -0,0 +1 @@
|
|||||||
|
{{ include "common.all" . }}
|
||||||
35
charts/smsbot/values.yaml
Normal file
35
charts/smsbot/values.yaml
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
#
|
||||||
|
# IMPORTANT NOTE
|
||||||
|
#
|
||||||
|
# This chart inherits from the k8s@home library chart. You can check the default values/options here:
|
||||||
|
# https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common/values.yaml
|
||||||
|
#
|
||||||
|
|
||||||
|
image:
|
||||||
|
# -- image repository
|
||||||
|
repository: ghcr.io/nikdoof/smsbot
|
||||||
|
# -- image pull policy
|
||||||
|
pullPolicy: IfNotPresent
|
||||||
|
# -- image tag
|
||||||
|
tag: 0.0.2
|
||||||
|
|
||||||
|
# -- environment variables.
|
||||||
|
# @default -- See below
|
||||||
|
env:
|
||||||
|
# -- Set the container timezone
|
||||||
|
TZ: UTC
|
||||||
|
# SMSBOT_TELEGRAM_BOT_TOKEN:
|
||||||
|
|
||||||
|
# -- Configures service settings for the chart.
|
||||||
|
# @default -- See values.yaml
|
||||||
|
service:
|
||||||
|
main:
|
||||||
|
ports:
|
||||||
|
http:
|
||||||
|
port: 80
|
||||||
|
|
||||||
|
ingress:
|
||||||
|
# -- Enable and configure ingress settings for the chart under this key.
|
||||||
|
# @default -- See values.yaml
|
||||||
|
main:
|
||||||
|
enabled: false
|
||||||
Reference in New Issue
Block a user