diff --git a/k8s/argocd/templates/app-contour.yaml b/k8s/argocd/templates/app-contour.yaml new file mode 100644 index 0000000..a38b88f --- /dev/null +++ b/k8s/argocd/templates/app-contour.yaml @@ -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 -}} \ No newline at end of file diff --git a/k8s/argocd/templates/appset-services.yaml b/k8s/argocd/templates/appset-services.yaml index 484de1b..b7a6cb4 100644 --- a/k8s/argocd/templates/appset-services.yaml +++ b/k8s/argocd/templates/appset-services.yaml @@ -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 -}} \ No newline at end of file