Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(mautrix-whatsapp): init #41

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@
'chart: prowlarr': charts/prowlarr/*
'chart: radarr': charts/radarr/*
'chart: sonarr': charts/sonarr/*
'chart: mautrix-whatsapp': charts/mautrix-whatsapp/*
29 changes: 29 additions & 0 deletions charts/mautrix-whatsapp/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
apiVersion: v2
name: mautrix-whatsapp
description: A Matrix-WhatsApp puppeting bridge
type: application
version: 1.0.0
# renovate: image=dock.mau.dev/mautrix/whatsapp
appVersion: "v0.8.1"
keywords:
- matrix
- whatsapp
- bridge
home: https://github.com/pree/helm-charts/tree/master/charts/mautrix-whatsapp
sources:
- https://github.com/mautrix/whatsapp
maintainers:
- name: pree
email: [email protected]
dependencies:
- name: common
repository: https://bjw-s.github.io/helm-charts/
version: 1.3.1
- name: postgresql
version: 12.1.15
repository: https://charts.bitnami.com/bitnami
condition: postgresql.enabled
annotations:
artifacthub.io/changes: |
- kind: added
description: init
41 changes: 41 additions & 0 deletions charts/mautrix-whatsapp/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# mautrix-whatsapp

![Version: 1.0.0](https://img.shields.io/badge/Version-1.0.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.8.1](https://img.shields.io/badge/AppVersion-v0.8.1-informational?style=flat-square)

A Matrix-WhatsApp puppeting bridge

**Homepage:** <https://github.com/pree/helm-charts/tree/master/charts/mautrix-whatsapp>

## Maintainers

| Name | Email | Url |
| ---- | ------ | --- |
| pree | <[email protected]> | |

## Source Code

* <https://github.com/mautrix/whatsapp>

## Requirements

| Repository | Name | Version |
|------------|------|---------|
| https://bjw-s.github.io/helm-charts/ | common | 1.3.1 |
| https://charts.bitnami.com/bitnami | postgresql | 12.1.15 |

## Values

| Key | Type | Default | Description |
|-----|------|---------|-------------|
| env | object | See below | environment variables. |
| env.TZ | string | `"UTC"` | Set the container timezone |
| image.pullPolicy | string | `"IfNotPresent"` | image pull policy |
| image.repository | string | `"dock.mau.dev/mautrix/whatsapp"` | image repository |
| image.tag | string | `nil` | |
| ingress.main | object | See values.yaml | Enable and configure ingress settings for the chart under this key. |
| persistence | object | See values.yaml | Configure persistence settings for the chart under this key. # Config persistence is required for the Prometheus exporter sidecar. |
| postgresql | object | See values.yaml | Enable and configure postgresql database subchart under this key. For more options see [postgresql chart documentation](https://github.com/bitnami/charts/tree/master/bitnami/postgresql) |
| service | object | See values.yaml | Configures service settings for the chart. |

----------------------------------------------
Autogenerated from chart metadata using [helm-docs v1.11.0](https://github.com/norwoodj/helm-docs/releases/v1.11.0)
14 changes: 14 additions & 0 deletions charts/mautrix-whatsapp/templates/common.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
{{- include "bjw-s.common.loader.init" . }}

{{- define "mautrix-whatsapp.hardcodedValues" -}}
# Set the nameOverride based on the release name if no override has been set
{{ if not .Values.global.nameOverride }}
global:
nameOverride: "{{ .Release.Name }}"
{{ end }}
{{- end -}}
{{- $_ := mergeOverwrite .Values (include "mautrix-whatsapp.hardcodedValues" . | fromYaml) -}}

{{/* Render the templates */}}
{{ include "bjw-s.common.loader.generate" . }}
54 changes: 54 additions & 0 deletions charts/mautrix-whatsapp/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
#
# IMPORTANT NOTE
#
# This chart inherits from bjw-s's common library chart. You can check the default values/options here:
# https://github.com/bjw-s/helm-charts/tree/main/charts/library/common/values.yaml
#

image:
# -- image repository
repository: dock.mau.dev/mautrix/whatsapp
# @default -- chart.appVersion
tag:
# -- image pull policy
pullPolicy: IfNotPresent

# -- environment variables.
# @default -- See below
env:
# -- Set the container timezone
TZ: UTC

# -- Configures service settings for the chart.
# @default -- See values.yaml
service:
main:
ports:
http:
port: 29318

ingress:
# -- Enable and configure ingress settings for the chart under this key.
# @default -- See values.yaml
main:
enabled: false

# -- Configure persistence settings for the chart under this key.
## Config persistence is required for the Prometheus exporter sidecar.
# @default -- See values.yaml
persistence:
data:
enabled: false

# -- Enable and configure postgresql database subchart under this key.
# For more options see [postgresql chart documentation](https://github.com/bitnami/charts/tree/master/bitnami/postgresql)
# @default -- See values.yaml
postgresql:
enabled: false
image:
repository: bitnami/postgresql
tag: 15.1.0
auth:
username: home-assistant
password: home-assistant-pass
database: home-assistant