feat(odoo): github username and access token

This commit is contained in:
Janik von Rotz committed 2025-04-27 10:12:47 +02:00
1 parent 1f1b060c3f
commit 06eaacefe7
6 files changed
+25 -16

No files matched your search

+5 -5
View File
@@ -3,14 +3,14 @@ entries:
odoo:
- apiVersion: v2
appVersion: 1.0.0
created: "2025-04-17T09:55:49.83690746+02:00"
created: "2025-04-27T10:12:19.978556845+02:00"
dependencies:
- condition: postgres.enabled
name: postgres
repository: https://kubernetes.build
version: 0.1.0
description: Mint System Odoo
digest: 4d3f786aea557d28e32e8abf878ec82fc8cc092ebe9c866ee74b87e54d23ebee
digest: 4b612dfc99aa1b2db4c7c351a8d0bd0bc50aa67ab4e500eaefda91792f72aac9
home: https://kubernetes.build/
maintainers:
- email: support@mint-system.ch
@@ -23,9 +23,9 @@ entries:
postgres:
- apiVersion: v2
appVersion: 1.0.0
created: "2025-04-17T09:55:49.837019653+02:00"
created: "2025-04-27T10:12:19.979062857+02:00"
description: Mint System Postgres
digest: f675875be03f5267c5347d047a4b9edcf6d9c70ce1fb6d93b9107a8278209807
digest: 7796bdb821c27c3ac3018fb9613da49238400382a91ce88e0bb42bd8a704258d
home: https://kubernetes.build/
maintainers:
- email: support@mint-system.ch
@@ -35,4 +35,4 @@ entries:
urls:
- postgres-0.1.0.tgz
version: 0.1.0
generated: "2025-04-17T09:55:49.836505738+02:00"
generated: "2025-04-27T10:12:19.967495279+02:00"
+11 -8
View File
@@ -25,11 +25,14 @@ Prefix: `postgres`
Prefix: `odoo`
| Key | Type | Default |
| -------------- | ------ | ------------------------------------------------------------------------------------------------------------- |
| image | string | `mintsystem/odoo:18.0.20250311` |
| proxyMode | string | `True` |
| addonsGitRepos | string | `https://github.com/Mint-System/Odoo-Apps-Server-Tools.git#18.0,https://github.com/OCA/Server-Tools.git#18.0` |
| database | string | `odoo` |
| initLang | string | `de_CH` |
| listDB | string | `False` |
| Key | Type | Default |
| ------------------------- | ------ | ------------------------------------------------------------------------------------------------------------- |
| image | string | `mintsystem/odoo:18.0.20250401` |
| proxyMode | bool | `True` |
| githubUserame | string | `` |
| githubPersonalAccessToken | string | `` |
| downloadOdooEnterprise | bool | `False` |
| addonsGitRepos | string | `https://github.com/Mint-System/Odoo-Apps-Server-Tools.git#18.0,https://github.com/OCA/Server-Tools.git#18.0` |
| database | string | `odoo` |
| initLang | string | `de_CH` |
| listDB | string | `False` |
+3 -2
View File
@@ -6,7 +6,8 @@ metadata:
labels:
app: odoo
data:
PROXY_MODE: {{ .Values.odoo.proxyMode | quote }}
GITHUB_USERNAME: {{ .Values.odoo.githubUsername | quote }}
ADDONS_GIT_REPOS: {{ .Values.odoo.addonsGitRepos | quote }}
ODOO_INIT_LANG: {{ .Values.odoo.initLang | quote }}
LIST_DB: {{ .Values.odoo.listDB | quote }}
PROXY_MODE: {{ .Values.odoo.proxyMode | quote }}
LIST_DB: {{ .Values.odoo.listDB | quote }}
+1
View File
@@ -21,6 +21,7 @@ spec:
- /bin/bash
- -c
- |
{{- if .Values.odoo.downloadOdooEnterprise }}/entrypoint.sh download-odoo-enterprise && \{{- end }}
/entrypoint.sh git-clone-addons && \
/entrypoint.sh init-db
envFrom:
+1
View File
@@ -18,3 +18,4 @@ data:
PGPASSWORD: '{{ (lookup "v1" "Secret" .Release.Namespace "postgresql-credentials").data.POSTGRESQL_PASSWORD | b64dec }}'
ODOO_DATABASE: '{{ (lookup "v1" "Secret" .Release.Namespace "postgresql-credentials").data.POSTGRESQL_DB | b64dec }}'
{{- end }}
GITHUB_PERSONAL_ACCESS_TOKEN: {{ .Values.odoo.githubPersonalAccessToken | b64enc | quote }}
+4 -1
View File
@@ -12,7 +12,10 @@ odoo:
image: mintsystem/odoo:18.0.20250401
host: odoo
proxyMode: True
githubUsername:
githubPersonalAccessToken:
downloadOdooEnterprise: False
addonsGitRepos: "https://github.com/Mint-System/Odoo-Apps-Server-Tools.git#18.0,https://github.com/OCA/Server-Tools.git#18.0"
database: odoo
initLang: de_CH
listDB: False
listDB: False