Compare commits

..

1 Commits

Author SHA1 Message Date
Morten Olsen
1259e3e752 more-stuff 2025-09-03 17:12:42 +02:00
7 changed files with 10 additions and 15 deletions

View File

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

View File

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