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": {
"core-api": {
"version" : "1.0.0",
"image": "core-api:1.0.0",
"version" : "latest",
"image": "ghcr.io/comissions-app/core-api",
"ingress":{
"host": "core-api.comissions-dev.com"
}

View File

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