Compare commits

...

4 Commits

Author SHA1 Message Date
renovate[bot]
7801f2e626 [statping] Update helm chart postgresql to v10.1.2 (#299)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-04 17:19:53 -05:00
renovate[bot]
fe64832570 [powerdns] Update helm chart postgresql to v10.1.2 (#298)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-04 17:17:55 -05:00
renovate[bot]
0099a56e38 [unifi-poller] Update helm chart influxdb to v1.1.1 (#302)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-04 17:16:28 -05:00
Ryan Holt
cfec6a9cc2 [monica] initial add for monica (#296) 2020-12-04 13:13:25 -05:00
10 changed files with 169 additions and 6 deletions

23
charts/monica/Chart.yaml Normal file
View File

@@ -0,0 +1,23 @@
apiVersion: v2
appVersion: v2.19.1
description: A Personal Relationship Management tool to help you organize your social life
name: monica
version: 1.0.0
keywords:
- crm
home: https://www.monicahq.com/
icon: https://pbs.twimg.com/profile_images/951820722191720450/mtCNuIXX.jpg
sources:
- https://github.com/monicahq/monica
- https://hub.docker.com/_/monica
maintainers:
- name: billimek
email: jeff@billimek.com
dependencies:
- name: common
repository: https://k8s-at-home.com/charts/
version: 1.7.0
- name: mariadb
version: 9.0.1
repository: https://charts.bitnami.com/bitnami
condition: mariadb.enabled

8
charts/monica/OWNERS Normal file
View File

@@ -0,0 +1,8 @@
approvers:
- billimek
- onedr0p
- bjw-s
reviewers:
- billimek
- onedr0p
- bjw-s

68
charts/monica/README.md Normal file
View File

@@ -0,0 +1,68 @@
# Monica
This is a helm chart for [Monica](https://github.com/monicahq/monica).
**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/k8s-at-home/charts/issues/new/choose)**
This chart supports many different environment variables. See the [Monica Documentation](https://raw.githubusercontent.com/monicahq/monica/master/.env.example) for more information.
## TL;DR;
```shell
$ helm repo add k8s-at-home https://k8s-at-home.com/charts/
$ helm install k8s-at-home/moica
```
## Installing the Chart
To install the chart with the release name `my-release`:
```console
helm install --name my-release k8s-at-home/monica
```
## Uninstalling the Chart
To uninstall/delete the `my-release` deployment:
```console
helm delete my-release --purge
```
The command removes all the Kubernetes components associated with the chart and deletes the release.
## Configuration
Read through the charts [values.yaml](https://github.com/k8s-at-home/charts/blob/master/charts/monica/values.yaml)
file. It has several commented out suggested values.
Additionally you can take a look at the common library [values.yaml](https://github.com/k8s-at-home/charts/blob/master/charts/common/values.yaml) for more (advanced) configuration options.
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
```console
helm install monica \
--set env.TZ="America/New_York" \
k8s-at-home/monica
```
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the
chart. For example,
```console
helm install monica k8s-at-home/monica --values values.yaml
```
```yaml
image:
tag: ...
```
---
**NOTE**
If you get
```console
Error: rendered manifests contain a resource that already exists. Unable to continue with install: existing resource conflict: ...`
```
it may be because you uninstalled the chart with `skipuninstall` enabled, you need to manually delete the pvc or use `existingClaim`.
---
## Upgrading an existing Release to a new major version
A major chart version change (like 4.0.1 -> 5.0.0) indicates that there is an incompatible breaking change potentially needing manual actions.

View File

@@ -0,0 +1,17 @@
env:
APP_ENV: production
APP_KEY: pG335ncsoY7z18CLdpXOp0JXGYKMtFa1
APP_URL: https://crm.k8s-at-home.com
DB_HOST: monica-mariadb
DB_DATABASE: monica
DB_USERNAME: monica
DB_PASSWORD: monicapass
ingress:
enabled: true
fullnameOverride: monica
mariadb:
enabled: true
fullnameOverride: monica-mariadb

View File

@@ -0,0 +1 @@
{{- include "common.notes.defaultNotes" . -}}

View File

@@ -0,0 +1 @@
{{ include "common.all" . }}

45
charts/monica/values.yaml Normal file
View File

@@ -0,0 +1,45 @@
# Default values for Monica.
image:
repository: monica
pullPolicy: IfNotPresent
tag: 2.19.1-apache
strategy:
type: Recreate
service:
port:
port: 80
env: {}
# See the Monica documentation for all available options for environment variables: https://raw.githubusercontent.com/monicahq/monica/master/.env.example
# APP_ENV: production
# Generate a different APP_KEY with `pwgen -s 32 1`
# APP_KEY: pG335ncsoY7z18CLdpXOp0JXGYKMtFa1
# APP_URL: https://crm.k8s-at-home.com
# DB_HOST: monica-mariadb
# DB_DATABASE: monica
# DB_USERNAME: monica
# DB_PASSWORD: monicapass
persistence:
config:
enabled: false
emptyDir: false
mountPath: /var/www/html/storage
# Enabled mariadb
# ... for more options see https://github.com/bitnami/charts/tree/master/bitnami/mariadb
mariadb:
enabled: false
architecture: standalone
auth:
database: monica
username: monica
password: monicapass
rootPassword: monicarootpass
primary:
persistence:
enabled: false
# storageClass: ""

View File

@@ -2,7 +2,7 @@ apiVersion: v2
appVersion: v4.3.0
description: PowerDNS is a DNS server, written in C++ and licensed under the GPL. It runs on most Unix derivatives. PowerDNS features a large number of different backends ranging from simple BIND style zonefiles to relational databases and load balancing/failover algorithms. A DNS recursor is provided as a separate program.
name: powerdns
version: 2.4.0
version: 2.5.0
home: https://www.powerdns.com/
sources:
- http://www.github.com/PowerDNS/
@@ -12,7 +12,7 @@ maintainers:
email: ryan@ryanholt.net
dependencies:
- name: postgresql
version: 10.1.1
version: 10.1.2
repository: https://charts.bitnami.com/bitnami
condition: postgres.enabled
- name: mariadb

View File

@@ -2,7 +2,7 @@ apiVersion: v2
name: statping
description: Status page for monitoring your websites and applications
type: application
version: 1.2.0
version: 1.3.0
appVersion: v0.90.65
keywords:
- statping
@@ -18,5 +18,5 @@ icon: https://github.com/statping/statping/blob/dev/frontend/src/assets/logo.png
dependencies:
- name: postgresql
repository: https://charts.bitnami.com/bitnami
version: 10.1.1
version: 10.1.2
condition: postgres.posgresql.enabled

View File

@@ -2,7 +2,7 @@ apiVersion: v2
appVersion: 2.0.1
description: Collect ALL UniFi Controller, Site, Device & Client Data - Export to InfluxDB or Prometheus
name: unifi-poller
version: 4.0.0
version: 4.1.0
keywords:
- unifi
- unifi-poller
@@ -19,6 +19,6 @@ dependencies:
repository: https://k8s-at-home.com/charts/
version: 1.7.0
- name: influxdb
version: 1.0.0
version: 1.1.1
repository: https://charts.bitnami.com/bitnami
condition: influxdb.enabled