108 lines
3.1 KiB
YAML
108 lines
3.1 KiB
YAML
---
|
|
apiVersion: argoproj.io/v1alpha1
|
|
kind: Application
|
|
metadata:
|
|
name: comparisons-frontend
|
|
namespace: argocd
|
|
finalizers:
|
|
- resources-finalizer.argocd.argoproj.io
|
|
spec:
|
|
project: default
|
|
source:
|
|
repoURL: oci://cr.yandex/crp3ccidau046kdj8g9q/charts
|
|
chart: universal-chart
|
|
targetRevision: 0.1.7
|
|
helm:
|
|
valuesObject:
|
|
global:
|
|
env: _default
|
|
services:
|
|
frontend:
|
|
enabled: true
|
|
deployment:
|
|
enabled: true
|
|
name:
|
|
_default: frontend
|
|
replicaCount:
|
|
_default: 1
|
|
port:
|
|
_default: 80
|
|
resources:
|
|
requests:
|
|
memory:
|
|
_default: 100Mi
|
|
cpu:
|
|
_default: 100m
|
|
probes:
|
|
liveness:
|
|
enabled:
|
|
_default: true
|
|
type:
|
|
_default: httpGet
|
|
httpGet:
|
|
path:
|
|
_default: /ping
|
|
port:
|
|
_default: 80
|
|
initialDelaySeconds:
|
|
_default: 10
|
|
periodSeconds:
|
|
_default: 10
|
|
failureThreshold:
|
|
_default: 10
|
|
readiness:
|
|
enabled:
|
|
_default: true
|
|
type:
|
|
_default: httpGet
|
|
httpGet:
|
|
path:
|
|
_default: /ping
|
|
port:
|
|
_default: 80
|
|
initialDelaySeconds:
|
|
_default: 10
|
|
periodSeconds:
|
|
_default: 10
|
|
failureThreshold:
|
|
_default: 20
|
|
volumes:
|
|
_default:
|
|
- name: nginx-configmap
|
|
mountPath:
|
|
_default: /etc/nginx/nginx.conf
|
|
subPath:
|
|
_default: nginx.conf
|
|
configMap:
|
|
name:
|
|
_default: nginx-configmap
|
|
items:
|
|
- key: nginx.conf
|
|
path:
|
|
_default: nginx.conf
|
|
image:
|
|
name:
|
|
_default: cr.yandex/crp3ccidau046kdj8g9q/comparisons-frontend:prod_6dc6e0c2
|
|
pullPolicy:
|
|
_default: IfNotPresent
|
|
service:
|
|
enabled: true
|
|
name:
|
|
_default: frontend-service
|
|
type:
|
|
_default: ClusterIP
|
|
port:
|
|
_default: 80
|
|
targetPort:
|
|
_default: 80
|
|
portName:
|
|
_default: http
|
|
imagePullSecrets:
|
|
enabled:
|
|
_default: true
|
|
name:
|
|
_default: regcred
|
|
destination:
|
|
server: https://kubernetes.default.svc
|
|
namespace: comparisons
|