From ae5ce63f3932184dfb6c85709db57b1f9c1f9ade Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?n=CE=B9c=D0=BDola=D1=95=20w=CE=B9lde?= Date: Tue, 29 Jun 2021 14:30:58 +0000 Subject: [PATCH] [odoo] Change tag to version-14.0 in order to reduce the number of chart updates - Simplify values.yaml - Bump common to 0.1.13 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: nιcнolaѕ wιlde --- charts/odoo/Chart.yaml | 14 +++++---- charts/odoo/README.md | 4 +-- charts/odoo/values.yaml | 63 ++++++++++++----------------------------- 3 files changed, 29 insertions(+), 52 deletions(-) diff --git a/charts/odoo/Chart.yaml b/charts/odoo/Chart.yaml index 4eb8a4f5..53f88fa7 100644 --- a/charts/odoo/Chart.yaml +++ b/charts/odoo/Chart.yaml @@ -1,7 +1,7 @@ --- apiVersion: v2 appVersion: "14.0" -version: 0.2.0 +version: 1.0.0 name: odoo description: All-in-one business software. Beautiful. Easy-to-use. CRM, Accounting, PM, HR, Procurement, Point of Sale, MRP, Marketing, etc. type: application @@ -9,7 +9,7 @@ home: "https://github.com/nicholaswilde/helm-charts/tree/main/charts/odoo" icon: "https://pbs.twimg.com/profile_images/970608340014419969/1bpCWJhS_400x400.jpg" dependencies: - name: common - version: ~0.1.8 + version: ~0.1.13 repository: https://nicholaswilde.github.io/helm-charts/ - name: postgres version: ~0.1.0 @@ -31,8 +31,12 @@ maintainers: email: ncwilde43@gmail.com annotations: artifacthub.io/changes: | - - Add support for postgres - - Bump tag to 14.0-ls3 + - kind: changed + description: Change tag to version-14.0 in order to reduce the number of chart updates + - kind: changed + description: Simplify values.yaml + - kind: changed + description: Bump common to 0.1.13 artifacthub.io/images: | - name: odoo - image: ghcr.io/nicholaswilde/odoo:14.0-ls3 + image: ghcr.io/nicholaswilde/odoo:version-14.0 diff --git a/charts/odoo/README.md b/charts/odoo/README.md index 641d7940..f0347558 100644 --- a/charts/odoo/README.md +++ b/charts/odoo/README.md @@ -1,6 +1,6 @@ # odoo -![Version: 0.2.0](https://img.shields.io/badge/Version-0.2.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 14.0](https://img.shields.io/badge/AppVersion-14.0-informational?style=flat-square) +![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: 14.0](https://img.shields.io/badge/AppVersion-14.0-informational?style=flat-square) All-in-one business software. Beautiful. Easy-to-use. CRM, Accounting, PM, HR, Procurement, Point of Sale, MRP, Marketing, etc. @@ -8,7 +8,7 @@ All-in-one business software. Beautiful. Easy-to-use. CRM, Accounting, PM, HR, P | Repository | Name | Version | |------------|------|---------| -| https://nicholaswilde.github.io/helm-charts/ | common | ~0.1.8 | +| https://nicholaswilde.github.io/helm-charts/ | common | ~0.1.13 | | https://nicholaswilde.github.io/helm-charts/ | postgres | ~0.1.0 | ## TL;DR diff --git a/charts/odoo/values.yaml b/charts/odoo/values.yaml index 22a6e582..ae577848 100644 --- a/charts/odoo/values.yaml +++ b/charts/odoo/values.yaml @@ -1,18 +1,22 @@ --- -# Default values for odoo. -# This is a YAML-formatted file. -# Declare variables to be passed into your templates. +# +# IMPORTANT NOTE +# +# This chart inherits from our common library chart. You can check the default values/options here: +# https://github.com/nicholaswilde/helm-charts/tree/main/charts/common/values.yaml +# image: repository: ghcr.io/nicholaswilde/odoo pullPolicy: IfNotPresent - # Overrides the image tag whose default is the chart appVersion. - tag: "14.0-ls3" + tag: "version-14.0" secret: {} # USER: "odoo" # PASSWORD: "myodoo" +# See more environment variables in the odoo documentation +# https://github.com/nicholaswilde/docker-odoo env: {} # HOST: "odoo-db" @@ -28,60 +32,29 @@ service: protocol: TCP ingress: - enabled: true - hosts: - - host: "odoo.192.168.1.203.nip.io" - paths: - - path: / - # Ignored if not kubeVersion >= 1.14-0 - pathType: Prefix - tls: [] - # - secretName: chart-example-tls - # hosts: - # - chart-example.local + enabled: false persistence: odoo: enabled: false emptyDir: false mountPath: /var/lib/odoo - ## Template downloads data Persistent Volume Storage Class - ## If defined, storageClassName: - ## If set to "-", storageClassName: "", which disables dynamic provisioning - ## If undefined (the default) or set to null, no storageClassName spec is - ## set, choosing the default provisioner. (gp2 on AWS, standard on - ## GKE, AWS & OpenStack) - ## - # storageClass: "-" - ## - ## If you want to reuse an existing claim, you can pass the name of the PVC using - ## the existingClaim variable - # existingClaim: your-claim accessMode: ReadWriteOnce size: 1Gi - ## Do not delete the pvc upon helm uninstall - skipuninstall: false addons: enabled: false emptyDir: false mountPath: /mnt/extra-addons accessMode: ReadWriteOnce size: 1Gi - skipuninstall: false +# Enable postgres +# https://github.com/nicholaswilde/helm-charts/blob/main/charts/postgres/values.yaml postgres: enabled: false - secret: {} - # POSTGRES_PASSWORD: odoo - env: {} - # POSTGRES_DB: postgres - # POSTGRES_USER: odoo - persistence: - data: - enabled: false - emptyDir: false - mountPath: /var/lib/postgresql/data - # storageClass: "-" - accessMode: ReadWriteOnce - size: 1Gi - skipuninstall: false + secret: + POSTGRES_PASSWORD: odoo + env: + POSTGRES_DB: postgres + POSTGRES_USER: odoo + fullnameOverride: odoo-postgres