Files
k8scd/apps/templates/test-app.yaml
T
2024-09-10 13:51:36 +02:00

33 lines
851 B
YAML

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: simple-helm
namespace: argocd
spec:
destination:
name: ''
namespace: default
server: https://kubernetes.default.svc
project: default
source:
path: simple-with-envs # (1)
repoURL: https://github.com/piomin/sample-generic-helm-charts.git
targetRevision: HEAD
plugin: # (2)
env:
- name: HELM_VALUES # (3)
value: |
image:
registry: quay.io
repository: pminkows/sample-kotlin-spring
tag: "1.4.30"
app:
name: sample-spring-boot-kotlin
replicas: 1
ports:
- name: http
value: 8080
envs:
- name: PASS
value: <path:kv/argocd#password> # (4)