8 Commits

Author SHA1 Message Date
27a5aacffd trying chatgpt trick 2024-12-29 18:10:09 +01:00
f26304e5b8 disabling ssl 2024-12-29 17:52:11 +01:00
cf39626324 same 2024-12-29 16:21:00 +01:00
42d2bdbf4a trying bypassing ssl verification 2024-12-29 15:55:45 +01:00
6b9f1792a6 adding debug mode 2024-12-29 00:36:34 +01:00
98e4812a3e removed superfluous prefix 2024-12-29 00:01:16 +01:00
88fd35d2fd added prefix 2024-12-28 23:52:17 +01:00
b6c96025d0 adding prefix and non cnpg database 2024-12-28 21:06:47 +01:00
15 changed files with 46 additions and 39 deletions

View File

@@ -2,5 +2,5 @@ apiVersion: v2
name: immich-argocd-apps
description: A Helm chart for deploying Immich as an ArgoCD app
type: application
version: 0.8.0
appVersion: v1.131.0
version: 0.3.0
appVersion: v1.123.0

View File

@@ -28,4 +28,4 @@ spec:
syncOptions:
- ApplyOutOfSyncOnly=true
- ServerSideApply=true
- CreateNamespace=true
- CreateNamespace=true

View File

@@ -2,4 +2,4 @@ apiVersion: v2
name: odoo-argocd-apps
description: A Helm chart for deploying the requirements, main charts and postinstall as ArgoCD apps for Odoo
type: application
version: 0.1.0
version: 0.1.1

View File

@@ -1,7 +1,7 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: odoo-chart
name: {{ .Values.argocd.prefix }}odoo-chart
namespace: {{ .Values.argocd.namespace }}
annotations:
argocd.argoproj.io/sync-wave: "0"
@@ -13,8 +13,9 @@ spec:
chart: odoo
targetRevision: 28.x
helm:
releaseName: odoo
releaseName: {{ .Values.argocd.prefix }}odoo
valuesObject:
image.debug: {{ .Values.odoo.image.debug }}
odooEmail: {{ .Values.odoo.odooEmail }}
replicaCount: {{ .Values.odoo.replicaCount }}
resourcesPreset: {{ .Values.odoo.resourcesPreset }}
@@ -23,13 +24,15 @@ spec:
postgresql:
enabled: false
externalDatabase:
host: odoo-db-rw
port: 5432
user: app
database: app
create: false
existingSecret: odoo-db-app
existingSecretPasswordKey: password
host: {{ .Values.odoo.externalDatabase.host }}
port: {{ .Values.odoo.externalDatabase.port }}
user: {{ .Values.odoo.externalDatabase.user }}
database: {{ .Values.odoo.externalDatabase.database }}
create: {{ .Values.odoo.externalDatabase.create }}
existingSecret: {{ .Values.odoo.externalDatabase.passwordSecret.name }}
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:
server: {{ .Values.destination.server }}
namespace: {{ .Values.destination.namespace }}

View File

@@ -1,7 +1,7 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: odoo-postinstall
name: {{ .Values.argocd.prefix }}odoo-postinstall
namespace: {{ .Values.argocd.namespace }}
annotations:
argocd.argoproj.io/sync-wave: "1"
@@ -15,6 +15,7 @@ spec:
helm:
releaseName: odoo-postinstall
valuesObject:
prefix: {{ .Values.argocd.prefix }}
tailscaleIngresses:
odooHostname: {{ .Values.tailscaleIngresses.odooHostname }}
destination:

View File

@@ -1,7 +1,7 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: odoo-requirements
name: {{ .Values.argocd.prefix }}odoo-requirements
namespace: {{ .Values.argocd.namespace }}
annotations:
argocd.argoproj.io/sync-wave: "-1"
@@ -15,8 +15,10 @@ spec:
helm:
releaseName: odoo-requirements
valuesObject:
prefix: {{ .Values.argocd.prefix }}
odoo:
dbCluster:
enable: {{ .Values.odoo.dbCluster.enable }}
numInstances: {{ .Values.odoo.dbCluster.numInstances }}
size: {{ .Values.odoo.dbCluster.size }}
dataPvc:

View File

@@ -1,6 +1,7 @@
argocd:
namespace: argocd
project: default
prefix: null
requirements:
repoURL: "https://git.blarre.net/thomas/helm-charts.git"
targetRevision: HEAD
@@ -16,6 +17,7 @@ destination:
odoo:
dbCluster:
enable: true
numInstances: 3
size: 10Gi
dataPvc:
@@ -25,6 +27,17 @@ odoo:
odooEmail: "admin@domain.net"
resourcesPreset: "large"
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:
odooHostname: odoo

View File

@@ -2,4 +2,4 @@ apiVersion: v2
name: odoo-postinstall
description: A Helm chart for deploying the postinall stuff for odoo, mainly the ingress
type: application
version: 0.1.0
version: 0.1.1

View File

@@ -1,13 +1,13 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: ts-odoo
name: {{ .Values.prefix}}ts-odoo
annotations:
tailscale.com/funnel: "true"
spec:
defaultBackend:
service:
name: odoo
name: {{ .Values.prefix }}odoo
port:
name: http
ingressClassName: tailscale

View File

@@ -1,2 +1,3 @@
prefix: null
tailcaleIngresses:
odooHostname: odoo

View File

@@ -2,4 +2,4 @@ apiVersion: v2
name: odoo-requirements
description: A Helm chart for the requirements for Odoo
type: application
version: 0.1.0
version: 0.1.1

View File

@@ -1,8 +1,10 @@
apiVersion: postgresql.cnpg.io/v1
{{- if .Values.odoo.dbCluster.enabled -}}
: postgresql.cnpg.io/v1
kind: Cluster
metadata:
name: odoo-db
name: {{ .Values.prefix }}odoo-db
spec:
instances: {{ .Values.odoo.dbCluster.numInstances }}
storage:
size: {{ .Values.odoo.dbCluster.size }}
size: {{ .Values.odoo.dbCluster.size }}
{{- end }}

View File

@@ -1,5 +1,7 @@
prefix: null
odoo:
dbCluster:
enable: true
numInstances: 3
size: 10Gi
dataPvc:

View File

@@ -1,16 +0,0 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: transmission-thomflix
annotations:
tailscale.com/tags: "tag:k8s,tag:thomflix"
spec:
defaultBackend:
service:
name: transmission
port:
number: 10109
ingressClassName: tailscale
tls:
- hosts:
- {{ .Values.tailscaleIngresses.transmissionHostname }}

View File

@@ -3,7 +3,6 @@ tailscaleIngresses:
sonarrHostname: thomflix-sonarr
radarrHostname: thomflix-radarr
filebrowserHostname: thomflix-files
transmissionHostname: thomflix-transmission
mainNamespace: thomflix
jellyfinURL: "jellyfin.domain.net"
jellyseerrURL: "jellyserr.domain.net"