latest work

This commit is contained in:
ari committed 2023-02-21 22:28:10 +00:00
1 parent 774a7764d3
commit 5eeed7568c
2 files changed
+50 -28

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
{{- if .Values.selfapp.enabled -}}
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: contour
namespace: "{{ .Release.Namespace }}"
spec:
project: default
source:
chart: contour
repoURL: https://charts.bitnami.com/bitnami
targetRevision: "11.0.0"
helm:
releaseName: contour
destination:
server: "https://kubernetes.default.svc"
namespace: contour
syncPolicy:
syncOptions:
- CreateNamespace=true
{{- end -}}
+28 -28
View File
@@ -1,30 +1,30 @@
{{- if .Values.selfapp.enabled -}}
---
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: "infra"
namespace: "{{ .Release.Namespace }}"
spec:
generators:
- git:
repoURL: "git@github.com:{{ .Values.selfapp.repo }}.git"
revision: "{{ .Values.selfapp.commit }}"
directories:
- path: k8s/infra/*
template:
metadata:
name: '{{ `{{path.basename}}` }}'
spec:
project: "default"
source:
repoURL: "git@github.com:{{ .Values.selfapp.repo }}.git"
targetRevision: "{{ .Values.selfapp.commit }}"
path: '{{ `{{path}}` }}'
destination:
server: https://kubernetes.default.svc
namespace: '{{ `{{path.basename}}` }}'
syncPolicy:
syncOptions:
- CreateNamespace=true
# ---
# apiVersion: argoproj.io/v1alpha1
# kind: ApplicationSet
# metadata:
# name: "infra"
# namespace: "{{ .Release.Namespace }}"
# spec:
# generators:
# - git:
# repoURL: "git@github.com:{{ .Values.selfapp.repo }}.git"
# revision: "{{ .Values.selfapp.commit }}"
# directories:
# - path: k8s/infra/*
# template:
# metadata:
# name: '{{ `{{path.basename}}` }}'
# spec:
# project: "default"
# source:
# repoURL: "git@github.com:{{ .Values.selfapp.repo }}.git"
# targetRevision: "{{ .Values.selfapp.commit }}"
# path: '{{ `{{path}}` }}'
# destination:
# server: https://kubernetes.default.svc
# namespace: '{{ `{{path.basename}}` }}'
# syncPolicy:
# syncOptions:
# - CreateNamespace=true
{{- end -}}