Compare commits

..

1 Commits

Author SHA1 Message Date
Morten Olsen
00d90bfa21 more-stuff 2025-09-03 17:24:27 +02:00
7 changed files with 15 additions and 10 deletions

View File

@@ -5,24 +5,25 @@ metadata:
namespace: '{{ .Values.env }}-argo'
spec:
generators:
- directory:
path: charts/apps
recurse: false
- git:
repoURL: '{{ .Values.repo }}'
revision: '{{ .Values.ref }}'
directories:
- path: charts/apps/*
include: '.*'
filter: |
.is_dir == true and (.path | endswith(".disabled") | not)
exclude: '.*.disabled'
template:
metadata:
name: '{{path.basename}}'
name: '{{`{{path.basename}}`}}'
spec:
project: default
source:
repoURL: '{{ .Values.repo }}'
targetRevision: '{{ .Values.ref }}'
path: charts/apps/{{path.basename}}
path: charts/apps/{{`{{path.basename}}`}}
helm:
values: |
global: {{ .Values.global | toYaml | nindent 14 }}
globals: {{ .Values.globals | toYaml | nindent 14 }}
destination:
server: https://kubernetes.default.svc
namespace: '{{ .Values.globals.env }}'

View File

@@ -204,7 +204,11 @@ class Environment extends CustomResource<typeof specSchema> {
spec: {
targetNamespace: this.#argoNamespace.name,
interval: '1h',
values: {},
values: {
applicationset: {
enabled: true,
},
},
chart: {
spec: {
chart: 'argo-cd',