apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: dev-app
namespace: cicd
spec:
destination:
namespace: nft
server: https://rancher.cattle-system.svc/k8s/clusters/c-m-xxxxxxxx
project: dev-app
source:
helm:
valueFiles:
- values.yaml
values: |-
imagePullSecrets:
- name: registry-pld-cicd
env:
- name: SERVER_PORT
value: "8188"
- name: MONGODB_HOSTS
value: dev-app-mongodb.dev-app.svc:27017
- name: MONGODB_DBNAME
value: "foundation"
- name: DAPP_HOST
value: "http://dev-app-api.dev-app.svc:8188"
ingress:
enabled: true
className: "nginx"
hosts:
- host: dev-app.example.com
paths:
- path: /
pathType: ImplementationSpecific
tls:
- secretName: example-com-tls
hosts:
- dev-app-sync-index.example.com
extraVolumeMounts:
- mountPath: /data/logs
name: volume-logs
- mountPath: /etc/localtime
name: localtime
readOnly: true
extraVolumes:
- name: localtime
hostPath:
path: /etc/localtime
- name: volume-logs
hostPath:
path: /data/dev-app/logs
type: ''
path: charts/app
repoURL: https://gitlab.example.com/pld/app-helm-charts.git
targetRevision: dev
syncPolicy:
automated: {}