mirror of
https://github.com/morten-olsen/homelab-operator.git
synced 2026-02-08 01:36:28 +01:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1259e3e752 |
@@ -5,25 +5,24 @@ metadata:
|
||||
namespace: '{{ .Values.env }}-argo'
|
||||
spec:
|
||||
generators:
|
||||
- git:
|
||||
repoURL: '{{ .Values.repo }}'
|
||||
revision: '{{ .Values.ref }}'
|
||||
directories:
|
||||
- path: charts/apps/*
|
||||
include: '.*'
|
||||
exclude: '.*.disabled'
|
||||
- directory:
|
||||
path: charts/apps
|
||||
recurse: false
|
||||
include: '.*'
|
||||
filter: |
|
||||
.is_dir == true and (.path | endswith(".disabled") | not)
|
||||
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: |
|
||||
globals: {{ .Values.globals | toYaml | nindent 14 }}
|
||||
global: {{ .Values.global | toYaml | nindent 14 }}
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: '{{ .Values.globals.env }}'
|
||||
|
||||
@@ -204,11 +204,7 @@ class Environment extends CustomResource<typeof specSchema> {
|
||||
spec: {
|
||||
targetNamespace: this.#argoNamespace.name,
|
||||
interval: '1h',
|
||||
values: {
|
||||
applicationset: {
|
||||
enabled: true,
|
||||
},
|
||||
},
|
||||
values: {},
|
||||
chart: {
|
||||
spec: {
|
||||
chart: 'argo-cd',
|
||||
|
||||
Reference in New Issue
Block a user