latest work
This commit is contained in:
1 parent
774a7764d3
commit
5eeed7568c
2 files changed
+50
-28
No files matched your search
@@ -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 -}}
|
||||
@@ -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 -}}
|
||||
Reference in new issue
Block a user