mirror of
https://github.com/2martens/cloud-configuration.git
synced 2026-10-17 08:37:56 +02:00
Removed argocd config in template
This commit is contained in:
@@ -2,7 +2,7 @@ apiVersion: v2
|
||||
name: template
|
||||
description: A Helm library chart containing common templates, keeping application templates short
|
||||
type: library
|
||||
version: 0.1.14
|
||||
version: 0.1.15
|
||||
maintainers:
|
||||
- name: Jim Martens
|
||||
url: https://2martens.de
|
||||
@@ -10,8 +10,8 @@ sources:
|
||||
- https://git.2martens.de/2martens/cloud-configuration
|
||||
annotations:
|
||||
artifacthub.io/changes: |
|
||||
- kind: added
|
||||
description: Added more configuration options for applications
|
||||
- kind: removed
|
||||
description: Removed pointless argo config
|
||||
artifacthub.io/signKey: |
|
||||
fingerprint: F0F153B65BAD467201D7544E47393ABD1F96B7C8
|
||||
url: https://mafiasi.de/pks/key/47393ABD1F96B7C8.asc
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
{{- include "template.application" . -}}
|
||||
@@ -137,15 +137,3 @@ affinity: {}
|
||||
podSpec: {}
|
||||
# containerSpec: will be added at the bottom of the container specification in the pod template
|
||||
containerSpec: {}
|
||||
|
||||
argocd:
|
||||
enabled: false
|
||||
project: default
|
||||
repoURL: https://github.com/exampleUser/exampleRepo
|
||||
targetRevision: HEAD
|
||||
# pathInRepo: is required if it is a git repo
|
||||
pathInRepo: /
|
||||
# chartName: required if repo is a Helm chart repo
|
||||
chartName: ""
|
||||
# targetCluster: specifies the cluster to deploy to
|
||||
targetCluster: https://kubernetes.default.svc
|
||||
|
||||
@@ -1,25 +0,0 @@
|
||||
{{- define "template.application" -}}
|
||||
{{- if .Values.argocd.enabled }}
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: {{ include "template.fullname" . }}
|
||||
namespace: argocd
|
||||
finalizers:
|
||||
- resources-finalizer.argocd.argoproj.io
|
||||
spec:
|
||||
project: {{ .Values.argocd.project }}
|
||||
source:
|
||||
repoURL: {{ .Values.argocd.repoURL }}
|
||||
targetRevision: {{ .Values.argocd.targetRevision }}
|
||||
{{- if .Values.argocd.pathInRepo }}
|
||||
path: {{ .Values.argocd.pathInRepo }}
|
||||
{{- end }}
|
||||
{{- if .Values.argocd.chartName }}
|
||||
chart: {{ .Values.argocd.chartName }}
|
||||
{{- end }}
|
||||
destination:
|
||||
server: {{ .Values.argocd.targetCluster }}
|
||||
namespace: {{ .Values.application.namespace }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user