infra appset
This commit is contained in:
1 parent
bbeac65509
commit
97ced4251d
4 files changed
+47
-54
No files matched your search
@@ -1,24 +0,0 @@
|
||||
# {{- if .Values.selfapp.enabled -}}
|
||||
# ---
|
||||
# apiVersion: argoproj.io/v1alpha1
|
||||
# kind: Application
|
||||
# metadata:
|
||||
# name: longhorn
|
||||
# namespace: "{{ .Release.Namespace }}"
|
||||
# spec:
|
||||
# project: default
|
||||
# source:
|
||||
# chart: longhorn
|
||||
# repoURL: https://charts.longhorn.io
|
||||
# targetRevision: v1.4.0
|
||||
# helm:
|
||||
# releaseName: longhorn
|
||||
# destination:
|
||||
# server: "https://kubernetes.default.svc"
|
||||
# namespace: longhorn
|
||||
# syncPolicy:
|
||||
# syncOptions:
|
||||
# - CreateNamespace=true
|
||||
# ---
|
||||
|
||||
# {{- end -}}
|
||||
@@ -0,0 +1,47 @@
|
||||
{{- if .Values.selfapp.enabled -}}
|
||||
---
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: ApplicationSet
|
||||
metadata:
|
||||
name: "infra"
|
||||
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: "infra"
|
||||
source:
|
||||
repoURL: "git@github.com:{{ .Values.selfapp.repo }}.git"
|
||||
targetRevision: "{{ .Values.selfapp.commit }}"
|
||||
path: '{{ `{{path}}` }}'
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: '{{ `{{path.basename}}` }}'
|
||||
{{- end -}}
|
||||
|
||||
|
||||
# apiVersion: argoproj.io/v1alpha1
|
||||
# kind: Application
|
||||
# metadata:
|
||||
# name: longhorn
|
||||
# namespace: "{{ .Release.Namespace }}"
|
||||
# spec:
|
||||
# project: default
|
||||
# source:
|
||||
# chart: longhorn
|
||||
# repoURL: https://charts.longhorn.io
|
||||
# targetRevision: v1.4.0
|
||||
# helm:
|
||||
# releaseName: longhorn
|
||||
# destination:
|
||||
# server: "https://kubernetes.default.svc"
|
||||
# namespace: longhorn
|
||||
# syncPolicy:
|
||||
# syncOptions:
|
||||
# - CreateNamespace=true
|
||||
@@ -1,30 +0,0 @@
|
||||
{{- 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
|
||||
{{- end -}}
|
||||
File renamed without changes.
Reference in new issue
Block a user