0
Fork 0
mirror of https://github.com/penpot/penpot-helm.git synced 2024-12-21 21:23:04 -05:00
penpot-helm/devel
2024-11-15 20:46:32 +01:00
..
kind.config.yml 👶 initial code 2024-07-04 16:59:22 +02:00
penpot-namespace.yml 👶 initial code 2024-07-04 16:59:22 +02:00
penpot.values.yaml docs: improve development documentation 2024-11-15 20:46:32 +01:00
README.md docs: improve development documentation 2024-11-15 20:46:32 +01:00

Penpot Helm Chart: Devel doc

Requirements:

Set the environment:

# Enable  precommit in the repository
pre-commit install --install-hooks -f

Usage:

  • Create the cluster penpot-cluster with a namespace penpot:

    ./scripts/cluster_create.sh
    
  • Download dependencies (only the first time or for an upgrade).

    helm repo add bitnami https://charts.bitnami.com/bitnami
    helm dependency build ./charts/penpot
    
  • Create a local copy of the custom settings file.

    cp devel/penpot.values.yaml local.penpot.values.yaml
    

    You can edit and customize your copy as your wish.

  • Install the chart.

    helm install penpot ./charts/penpot -f local.penpot.values.yaml
    

    Use upgrade to install a new version or applay changes in the settings file.

  • Check status.

    kubectl get all,pvc,ingress,pdb -o wide
    
  • Access to http://penpot.example.com/.

Note

You need to add 127.0.1.1 penpot.example.com to /etc/hosts

Tip

if you disable ingress, you can exposing the app in the port 8888 with:

kubectl port-forward service/penpot 8888:80
  • Stop and delete cluster.
    ./scripts/cluster_delete.sh
    

Troubleshooting:

  • Error: INSTALLATION FAILED: 1 error occurred:
    	  * Internal error occurred: failed calling webhook "validate.nginx.ingress.kubernetes.io": failed to call webhook: Post "https://ingress-nginx-controller-admission.ingress-nginx.svc:443/networking/v1/ingresses?timeout=10s": dial tcp 10.96.81.208:443: connect: connection refused
    
    This error appears after install penpot helm. To ignore it, run:
    kubectl delete ValidatingWebhookCOnfiguration ingress-nginx-admission