apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: badhouseplants-net
namespace: argo-system
spec:
generators:
- list:
elements:
- name: application
app: badhouseplants
branch: main
chart_version: 0.3.9
repo_url: https://git.badhouseplants.net/api/packages/badhouseplants/helm
value: |
template:
name: "{{ app }}-{{ name }}"
labels:
branch: "{{ branch }}"
application: "{{ app }}"
project: "default"
source:
helm:
valueFiles:
- values.yaml
values: "{{ value }}"
repoURL: "{{ repo_url }}"
targetRevision: "{{ chart_version }}"
chart: badhouseplants-net
destination:
server: "https://kubernetes.default.svc"
namespace: "{{ app }}-{{ name }}"