37 lines
931 B
YAML
37 lines
931 B
YAML
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:
|
|
metadata:
|
|
name: "{{ app }}-{{ name }}"
|
|
namespace: argo-system
|
|
labels:
|
|
branch: "{{ branch }}"
|
|
application: "{{ app }}"
|
|
spec:
|
|
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 }}"
|
|
|