added config

This commit is contained in:
Damien Ostler 2024-02-09 00:09:54 -05:00
parent c88697acad
commit c59856b126
2 changed files with 9 additions and 4 deletions

View File

@ -11,8 +11,8 @@
}, },
"apps": { "apps": {
"core-api": { "core-api": {
"version" : "1.0.0", "version" : "latest",
"image": "core-api:1.0.0", "image": "ghcr.io/comissions-app/core-api",
"ingress":{ "ingress":{
"host": "core-api.comissions-dev.com" "host": "core-api.comissions-dev.com"
} }

View File

@ -23,6 +23,11 @@ spec:
path: charts/core-api path: charts/core-api
helm: helm:
values: | values: |
image:
repository: {{.apps.core-api.image}}
pullPolicy: Always
tag: "{{.apps.core-api.version}}"
imagePullSecrets: imagePullSecrets:
- name: comissions-app - name: comissions-app
@ -43,14 +48,14 @@ spec:
annotations: annotations:
nginx.ingress.kubernetes.io/proxy-body-size: 512m nginx.ingress.kubernetes.io/proxy-body-size: 512m
hosts: hosts:
- host: 'core-api.comissions.dev' - host: '{{.apps.core-api.ingress.host}}'
paths: paths:
- path: / - path: /
pathType: ImplementationSpecific pathType: ImplementationSpecific
tls: tls:
- secretName: 'tls-secret' - secretName: 'tls-secret'
hosts: hosts:
- 'core-api.comissions.dev' - '{{.apps.core-api.ingress.host}}'
destination: destination:
server: 'https://kubernetes.default.svc' server: 'https://kubernetes.default.svc'
namespace: 'argo-cd ' namespace: 'argo-cd '