mirror of
https://github.com/D4M13N-D3V/comissions-app-argocd.git
synced 2025-06-16 13:18:55 +00:00
fix app manifest
This commit is contained in:
parent
7edc55f9c4
commit
38468b91d9
@ -1,5 +1,5 @@
|
|||||||
apiVersion: argoproj.io/v1alpha1
|
apiVersion: argoproj.io/v1alpha1
|
||||||
kind: ApplicationSet
|
kind: Application
|
||||||
metadata:
|
metadata:
|
||||||
name: all-dev-apps
|
name: all-dev-apps
|
||||||
namespace: comissions-dev
|
namespace: comissions-dev
|
||||||
|
@ -1,16 +1,63 @@
|
|||||||
apiVersion: argoproj.io/v1alpha1
|
apiVersion: argoproj.io/v1alpha1
|
||||||
kind: Application
|
kind: ApplicationSet
|
||||||
metadata:
|
metadata:
|
||||||
name: core-api
|
name: core-api
|
||||||
namespace: comissions-dev
|
namespace: comissions-dev
|
||||||
finalizers:
|
|
||||||
- resources-finalizer.argocd.argoproj.io
|
|
||||||
spec:
|
spec:
|
||||||
destination:
|
goTemplate: true
|
||||||
namespace: comissions-dev
|
goTemplateOptions: ["missingkey=error"]
|
||||||
server: https://kubernetes.default.svc
|
generators:
|
||||||
project: comissions.app
|
- git:
|
||||||
|
repoURL: https://github.com/comissions-app/argocd.git
|
||||||
|
revision: HEAD
|
||||||
|
files:
|
||||||
|
- path: "dev/.config/*.json"
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
name: 'core-api'
|
||||||
|
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: |
|
||||||
|
imagePullSecrets:
|
||||||
|
- name: regcred
|
||||||
|
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpu: 1
|
||||||
|
requests:
|
||||||
|
cpu: 100m
|
||||||
|
autoscaling:
|
||||||
|
enabled: true
|
||||||
|
minReplicas: 2
|
||||||
|
maxReplicas: 20
|
||||||
|
targetCPUUtilizationPercentage: 80
|
||||||
|
# targetMemoryUtilizationPercentage: 80
|
||||||
|
|
||||||
|
ingress:
|
||||||
|
enabled: true
|
||||||
|
annotations:
|
||||||
|
nginx.ingress.kubernetes.io/proxy-body-size: 512m
|
||||||
|
hosts:
|
||||||
|
- host: 'core-api.comissions.dev'
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
pathType: ImplementationSpecific
|
||||||
|
tls:
|
||||||
|
- secretName: 'tls-secret'
|
||||||
|
hosts:
|
||||||
|
- 'core-api.comissions.dev'
|
||||||
|
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