Skip to content

rouja/invoice-chart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This charts installs the Invoice Ninja system on kubernetes

Prerequisites

  • a working HTTP/HTTPS ingress controller.
  • cert-manager installed and configured (including a working cert issuer).
  • a working storage class

Installation

git clone [email protected]:rouja/invoice-chart.git
cp invoice-chart/values.yaml cutomized-values.yaml

Adapt the content of cutomized-values.yaml to your environment.

To generate the APP_KEY, you can do:

cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1

Deploy the chart :

kubectl create ns invoice-ninja
helm upgrade -n invoice-ninja -f cutomized-values.yaml --install invoice invoice-chart/

Wait a minute and check that mysql is ready :

kubectl -n invoice-ninja get ingress,po
NAME                                             HOSTS                     ADDRESS   PORTS     AGE
ingress.extensions/invoice-invoice-ninja-nginx   invoice.example.com             80, 443   17s

NAME                                                 READY   STATUS    RESTARTS   AGE
pod/invoice-invoice-ninja-invoice-6b8dcf5654-75rkz   1/1     Running   0          16s
pod/invoice-invoice-ninja-mysql-76fc8c97f4-9cvn2     1/1     Running   0          16s
pod/invoice-invoice-ninja-nginx-8558b65c8d-q678z     1/1     Running   0          16s

kubectl -n invoice-ninja logs invoice-invoice-ninja-mysql-76fc8c97f4-9cvn2
...
2020-02-24T14:35:49.979820Z 0 [Note] Event Scheduler: Loaded 0 events
2020-02-24T14:35:49.980368Z 0 [Note] mysqld: ready for connections.
Version: '5.7.29'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  MySQL Community Server (GPL)

If you see mysqld: ready for connections., everything should be ok. You can access your ingress with a browser and finish the installation.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages