diff --git a/templates/backend-deployment.yaml b/templates/backend-deployment.yaml index d64f694..05976f1 100644 --- a/templates/backend-deployment.yaml +++ b/templates/backend-deployment.yaml @@ -41,6 +41,17 @@ spec: value: {{ .Values.config.giteaOrg | quote }} - name: TOWER_CHART_REPO value: {{ .Values.config.chartRepo | quote }} + - name: TOWER_GIT_HOST + value: {{ .Values.config.gitHost | quote }} + - name: TOWER_GITLAB_URL + value: {{ .Values.config.gitLabURL | quote }} + - name: TOWER_GITLAB_GROUP + value: {{ .Values.config.gitLabGroup | quote }} + - name: TOWER_GITLAB_TOKEN + valueFrom: + secretKeyRef: + name: {{ .Values.config.existingSecret }} + key: GITLAB_TOKEN - name: TOWER_ARGOCD_URL value: {{ .Values.config.argoCDURL | quote }} - name: TOWER_ARGOCD_USERNAME diff --git a/values.yaml b/values.yaml index f7390eb..c5f4b78 100644 --- a/values.yaml +++ b/values.yaml @@ -54,6 +54,9 @@ config: giteaURL: https://git.odoosky.org giteaOrg: odoo-tower chartRepo: instance-template-v3 + gitHost: gitlab + gitLabURL: https://git.odoosky.cloud + gitLabGroup: odoo-tower argoCDURL: https://argocd.odoosky.org argoCDUsername: admin argoCDDestination: https://kubernetes.default.svc