Compare commits
11 Commits
keycloak-v
...
odoo-rewor
| Author | SHA1 | Date | |
|---|---|---|---|
| 27a5aacffd | |||
| f26304e5b8 | |||
| cf39626324 | |||
| 42d2bdbf4a | |||
| 6b9f1792a6 | |||
| 98e4812a3e | |||
| 88fd35d2fd | |||
| b6c96025d0 | |||
| f0552c9548 | |||
| 3e00bef7fa | |||
| d8029652d1 |
@@ -28,4 +28,4 @@ spec:
|
|||||||
syncOptions:
|
syncOptions:
|
||||||
- ApplyOutOfSyncOnly=true
|
- ApplyOutOfSyncOnly=true
|
||||||
- ServerSideApply=true
|
- ServerSideApply=true
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
@@ -7,7 +7,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
defaultBackend:
|
defaultBackend:
|
||||||
service:
|
service:
|
||||||
name: linode-keycloak-service
|
name: {{ .Values.prefix }}keycloak-service
|
||||||
port:
|
port:
|
||||||
number: 8080
|
number: 8080
|
||||||
ingressClassName: tailscale
|
ingressClassName: tailscale
|
||||||
|
|||||||
@@ -2,4 +2,4 @@ apiVersion: v2
|
|||||||
name: odoo-argocd-apps
|
name: odoo-argocd-apps
|
||||||
description: A Helm chart for deploying the requirements, main charts and postinstall as ArgoCD apps for Odoo
|
description: A Helm chart for deploying the requirements, main charts and postinstall as ArgoCD apps for Odoo
|
||||||
type: application
|
type: application
|
||||||
version: 0.1.0
|
version: 0.1.1
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
apiVersion: argoproj.io/v1alpha1
|
apiVersion: argoproj.io/v1alpha1
|
||||||
kind: Application
|
kind: Application
|
||||||
metadata:
|
metadata:
|
||||||
name: odoo-chart
|
name: {{ .Values.argocd.prefix }}odoo-chart
|
||||||
namespace: {{ .Values.argocd.namespace }}
|
namespace: {{ .Values.argocd.namespace }}
|
||||||
annotations:
|
annotations:
|
||||||
argocd.argoproj.io/sync-wave: "0"
|
argocd.argoproj.io/sync-wave: "0"
|
||||||
@@ -13,8 +13,9 @@ spec:
|
|||||||
chart: odoo
|
chart: odoo
|
||||||
targetRevision: 28.x
|
targetRevision: 28.x
|
||||||
helm:
|
helm:
|
||||||
releaseName: odoo
|
releaseName: {{ .Values.argocd.prefix }}odoo
|
||||||
valuesObject:
|
valuesObject:
|
||||||
|
image.debug: {{ .Values.odoo.image.debug }}
|
||||||
odooEmail: {{ .Values.odoo.odooEmail }}
|
odooEmail: {{ .Values.odoo.odooEmail }}
|
||||||
replicaCount: {{ .Values.odoo.replicaCount }}
|
replicaCount: {{ .Values.odoo.replicaCount }}
|
||||||
resourcesPreset: {{ .Values.odoo.resourcesPreset }}
|
resourcesPreset: {{ .Values.odoo.resourcesPreset }}
|
||||||
@@ -23,13 +24,15 @@ spec:
|
|||||||
postgresql:
|
postgresql:
|
||||||
enabled: false
|
enabled: false
|
||||||
externalDatabase:
|
externalDatabase:
|
||||||
host: odoo-db-rw
|
host: {{ .Values.odoo.externalDatabase.host }}
|
||||||
port: 5432
|
port: {{ .Values.odoo.externalDatabase.port }}
|
||||||
user: app
|
user: {{ .Values.odoo.externalDatabase.user }}
|
||||||
database: app
|
database: {{ .Values.odoo.externalDatabase.database }}
|
||||||
create: false
|
create: {{ .Values.odoo.externalDatabase.create }}
|
||||||
existingSecret: odoo-db-app
|
existingSecret: {{ .Values.odoo.externalDatabase.passwordSecret.name }}
|
||||||
existingSecretPasswordKey: password
|
existingSecretPasswordKey: {{ .Values.odoo.externalDatabase.passwordSecret.key }}
|
||||||
|
sslmode: require
|
||||||
|
extraOptions: sslrootcert=/opt/ssl/root.crt sslcert=/opt/ssl/postgresql.crt sslkey=/opt/ssl/postgresql.key
|
||||||
destination:
|
destination:
|
||||||
server: {{ .Values.destination.server }}
|
server: {{ .Values.destination.server }}
|
||||||
namespace: {{ .Values.destination.namespace }}
|
namespace: {{ .Values.destination.namespace }}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
apiVersion: argoproj.io/v1alpha1
|
apiVersion: argoproj.io/v1alpha1
|
||||||
kind: Application
|
kind: Application
|
||||||
metadata:
|
metadata:
|
||||||
name: odoo-postinstall
|
name: {{ .Values.argocd.prefix }}odoo-postinstall
|
||||||
namespace: {{ .Values.argocd.namespace }}
|
namespace: {{ .Values.argocd.namespace }}
|
||||||
annotations:
|
annotations:
|
||||||
argocd.argoproj.io/sync-wave: "1"
|
argocd.argoproj.io/sync-wave: "1"
|
||||||
@@ -15,6 +15,7 @@ spec:
|
|||||||
helm:
|
helm:
|
||||||
releaseName: odoo-postinstall
|
releaseName: odoo-postinstall
|
||||||
valuesObject:
|
valuesObject:
|
||||||
|
prefix: {{ .Values.argocd.prefix }}
|
||||||
tailscaleIngresses:
|
tailscaleIngresses:
|
||||||
odooHostname: {{ .Values.tailscaleIngresses.odooHostname }}
|
odooHostname: {{ .Values.tailscaleIngresses.odooHostname }}
|
||||||
destination:
|
destination:
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
apiVersion: argoproj.io/v1alpha1
|
apiVersion: argoproj.io/v1alpha1
|
||||||
kind: Application
|
kind: Application
|
||||||
metadata:
|
metadata:
|
||||||
name: odoo-requirements
|
name: {{ .Values.argocd.prefix }}odoo-requirements
|
||||||
namespace: {{ .Values.argocd.namespace }}
|
namespace: {{ .Values.argocd.namespace }}
|
||||||
annotations:
|
annotations:
|
||||||
argocd.argoproj.io/sync-wave: "-1"
|
argocd.argoproj.io/sync-wave: "-1"
|
||||||
@@ -15,8 +15,10 @@ spec:
|
|||||||
helm:
|
helm:
|
||||||
releaseName: odoo-requirements
|
releaseName: odoo-requirements
|
||||||
valuesObject:
|
valuesObject:
|
||||||
|
prefix: {{ .Values.argocd.prefix }}
|
||||||
odoo:
|
odoo:
|
||||||
dbCluster:
|
dbCluster:
|
||||||
|
enable: {{ .Values.odoo.dbCluster.enable }}
|
||||||
numInstances: {{ .Values.odoo.dbCluster.numInstances }}
|
numInstances: {{ .Values.odoo.dbCluster.numInstances }}
|
||||||
size: {{ .Values.odoo.dbCluster.size }}
|
size: {{ .Values.odoo.dbCluster.size }}
|
||||||
dataPvc:
|
dataPvc:
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
argocd:
|
argocd:
|
||||||
namespace: argocd
|
namespace: argocd
|
||||||
project: default
|
project: default
|
||||||
|
prefix: null
|
||||||
requirements:
|
requirements:
|
||||||
repoURL: "https://git.blarre.net/thomas/helm-charts.git"
|
repoURL: "https://git.blarre.net/thomas/helm-charts.git"
|
||||||
targetRevision: HEAD
|
targetRevision: HEAD
|
||||||
@@ -16,6 +17,7 @@ destination:
|
|||||||
|
|
||||||
odoo:
|
odoo:
|
||||||
dbCluster:
|
dbCluster:
|
||||||
|
enable: true
|
||||||
numInstances: 3
|
numInstances: 3
|
||||||
size: 10Gi
|
size: 10Gi
|
||||||
dataPvc:
|
dataPvc:
|
||||||
@@ -25,6 +27,17 @@ odoo:
|
|||||||
odooEmail: "admin@domain.net"
|
odooEmail: "admin@domain.net"
|
||||||
resourcesPreset: "large"
|
resourcesPreset: "large"
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
externalDatabase:
|
||||||
|
host: odoo-db-rw
|
||||||
|
port: 5432
|
||||||
|
user: app
|
||||||
|
database: app
|
||||||
|
create: false
|
||||||
|
passwordSecret:
|
||||||
|
name: odoo-db-secret
|
||||||
|
key: password
|
||||||
|
image:
|
||||||
|
debug: false
|
||||||
|
|
||||||
tailscaleIngresses:
|
tailscaleIngresses:
|
||||||
odooHostname: odoo
|
odooHostname: odoo
|
||||||
@@ -2,4 +2,4 @@ apiVersion: v2
|
|||||||
name: odoo-postinstall
|
name: odoo-postinstall
|
||||||
description: A Helm chart for deploying the postinall stuff for odoo, mainly the ingress
|
description: A Helm chart for deploying the postinall stuff for odoo, mainly the ingress
|
||||||
type: application
|
type: application
|
||||||
version: 0.1.0
|
version: 0.1.1
|
||||||
|
|||||||
@@ -1,13 +1,13 @@
|
|||||||
apiVersion: networking.k8s.io/v1
|
apiVersion: networking.k8s.io/v1
|
||||||
kind: Ingress
|
kind: Ingress
|
||||||
metadata:
|
metadata:
|
||||||
name: ts-odoo
|
name: {{ .Values.prefix}}ts-odoo
|
||||||
annotations:
|
annotations:
|
||||||
tailscale.com/funnel: "true"
|
tailscale.com/funnel: "true"
|
||||||
spec:
|
spec:
|
||||||
defaultBackend:
|
defaultBackend:
|
||||||
service:
|
service:
|
||||||
name: odoo
|
name: {{ .Values.prefix }}odoo
|
||||||
port:
|
port:
|
||||||
name: http
|
name: http
|
||||||
ingressClassName: tailscale
|
ingressClassName: tailscale
|
||||||
|
|||||||
@@ -1,2 +1,3 @@
|
|||||||
|
prefix: null
|
||||||
tailcaleIngresses:
|
tailcaleIngresses:
|
||||||
odooHostname: odoo
|
odooHostname: odoo
|
||||||
@@ -2,4 +2,4 @@ apiVersion: v2
|
|||||||
name: odoo-requirements
|
name: odoo-requirements
|
||||||
description: A Helm chart for the requirements for Odoo
|
description: A Helm chart for the requirements for Odoo
|
||||||
type: application
|
type: application
|
||||||
version: 0.1.0
|
version: 0.1.1
|
||||||
|
|||||||
@@ -1,8 +1,10 @@
|
|||||||
apiVersion: postgresql.cnpg.io/v1
|
{{- if .Values.odoo.dbCluster.enabled -}}
|
||||||
|
: postgresql.cnpg.io/v1
|
||||||
kind: Cluster
|
kind: Cluster
|
||||||
metadata:
|
metadata:
|
||||||
name: odoo-db
|
name: {{ .Values.prefix }}odoo-db
|
||||||
spec:
|
spec:
|
||||||
instances: {{ .Values.odoo.dbCluster.numInstances }}
|
instances: {{ .Values.odoo.dbCluster.numInstances }}
|
||||||
storage:
|
storage:
|
||||||
size: {{ .Values.odoo.dbCluster.size }}
|
size: {{ .Values.odoo.dbCluster.size }}
|
||||||
|
{{- end }}
|
||||||
@@ -1,5 +1,7 @@
|
|||||||
|
prefix: null
|
||||||
odoo:
|
odoo:
|
||||||
dbCluster:
|
dbCluster:
|
||||||
|
enable: true
|
||||||
numInstances: 3
|
numInstances: 3
|
||||||
size: 10Gi
|
size: 10Gi
|
||||||
dataPvc:
|
dataPvc:
|
||||||
|
|||||||
Reference in New Issue
Block a user