This commit is contained in:
ari committed 2023-03-18 02:32:48 +00:00
1 parent df5be1ff10
commit 3538a643ac
7 files changed
+48 -1

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
{{- if .Values.selfapp.enabled -}}
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: "charts"
namespace: "{{ .Release.Namespace }}"
spec:
project: default
source:
repoURL: "git@github.com:{{ .Values.selfapp.repo }}.git"
targetRevision: "{{ .Values.selfapp.commit }}"
path: k8s/charts
helm:
values: |-
global:
{{- .Values.global | toYaml | nindent 28 }}
valueFiles:
- values.yaml
- values-{{ .Values.global.deployment }}.yaml
destination:
server: https://kubernetes.default.svc
namespace: "{{ .Release.Namespace }}"
{{- end -}}
@@ -0,0 +1,23 @@
{{- if .Values.selfapp.enabled -}}
---
apiVersion: argoproj.io/v1alpha1
kind: AppProject
metadata:
name: meta-infrastructure
namespace: "{{ .Release.Namespace }}"
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
description: "meta infra services such as base helm charts"
orphanedResources:
warn: false
sourceRepos:
- "*"
destinations:
- server: "*"
namespace: '*'
name: '*'
clusterResourceWhitelist:
- group: "*"
kind: "*"
{{- end -}}
File renamed without changes.
@@ -5,7 +5,7 @@ metadata:
name: "kubernetes-dashboard"
namespace: "{{ .Release.Namespace }}"
spec:
project: default
project: meta-infrastructure
source:
chart: kubernetes-dashboard
repoURL: "https://kubernetes.github.io/dashboard/"
File renamed without changes.
File renamed without changes.
File renamed without changes.