diff --git a/dev/.config/config.json b/dev/.config/config.json index 9bf4ff5..4821879 100644 --- a/dev/.config/config.json +++ b/dev/.config/config.json @@ -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" } diff --git a/dev/apps/core-api.yaml b/dev/apps/core-api.yaml index 91783a2..9be47af 100644 --- a/dev/apps/core-api.yaml +++ b/dev/apps/core-api.yaml @@ -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 '