mirror of
https://github.com/D4M13N-D3V/comissions-app-argocd.git
synced 2025-03-14 08:15:00 +00:00
updated core api app
This commit is contained in:
parent
6246281072
commit
a5caf1f397
@ -1,69 +1,16 @@
|
|||||||
apiVersion: argoproj.io/v1alpha1
|
apiVersion: argoproj.io/v1alpha1
|
||||||
kind: ApplicationSet
|
kind: Application
|
||||||
metadata:
|
metadata:
|
||||||
name: core-api
|
name: core-api
|
||||||
namespace: comissions-dev
|
namespace: comissions-dev
|
||||||
|
finalizers:
|
||||||
|
- resources-finalizer.argocd.argoproj.io
|
||||||
spec:
|
spec:
|
||||||
goTemplate: true
|
destination:
|
||||||
goTemplateOptions: ["missingkey=error"]
|
namespace: comissions-dev
|
||||||
generators:
|
server: https://kubernetes.default.svc
|
||||||
- git:
|
project: comissions.app
|
||||||
repoURL: https://github.com/comissions-app/argocd.git
|
|
||||||
revision: HEAD
|
|
||||||
files:
|
|
||||||
- path: "dev/.config/*.json"
|
|
||||||
template:
|
|
||||||
metadata:
|
|
||||||
name: "core-api-{{.deployment.cluster.namespace}}"
|
|
||||||
spec:
|
|
||||||
project: "{{.deployment.argocd.project}}"
|
|
||||||
source:
|
source:
|
||||||
|
path: charts/core-api
|
||||||
repoURL: https://github.com/comissions-app/argocd.git
|
repoURL: https://github.com/comissions-app/argocd.git
|
||||||
targetRevision: HEAD
|
targetRevision: HEAD
|
||||||
path: charts/core-api/
|
|
||||||
helm:
|
|
||||||
values: |
|
|
||||||
fullnameOverride: "core-api"
|
|
||||||
image:
|
|
||||||
tag: '{{ .apps.core-api.version }}'
|
|
||||||
imagePullSecrets:
|
|
||||||
- name: comissions-app
|
|
||||||
ingress:
|
|
||||||
enabled: true
|
|
||||||
annotations:
|
|
||||||
nginx.ingress.kubernetes.io/proxy-body-size: 100m
|
|
||||||
nginx.ingress.kubernetes.io/proxy-buffer-size: 256k
|
|
||||||
nginx.ingress.kubernetes.io/proxy-buffering: 'on'
|
|
||||||
nginx.ingress.kubernetes.io/proxy-buffers-number: '4'
|
|
||||||
nginx.ingress.kubernetes.io/proxy-max-temp-file-size: 1024m
|
|
||||||
hosts:
|
|
||||||
- host: '{{.apps.core-api.ingress.host}}'
|
|
||||||
paths:
|
|
||||||
- path: /
|
|
||||||
pathType: ImplementationSpecific
|
|
||||||
tls:
|
|
||||||
- secretName: ''
|
|
||||||
hosts:
|
|
||||||
- '{{.apps.core-api.ingress.host}}'
|
|
||||||
resources:
|
|
||||||
limits:
|
|
||||||
cpu: "500m"
|
|
||||||
requests:
|
|
||||||
cpu: "10m"
|
|
||||||
|
|
||||||
autoscaling:
|
|
||||||
enabled: true
|
|
||||||
minReplicas: 1
|
|
||||||
maxReplicas: 10
|
|
||||||
targetCPUUtilizationPercentage: 80
|
|
||||||
|
|
||||||
destination:
|
|
||||||
server: "{{.deployment.cluster.address}}"
|
|
||||||
namespace: "{{.deployment.cluster.namespace}}"
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: true
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- ApplyOutOfSyncOnly=true
|
|
||||||
- CreateNamespace=true
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user