mirror of
https://github.com/2martens/cloud-configuration.git
synced 2026-10-17 16:46:51 +02:00
Removed argocd config in template
This commit is contained in:
@@ -2,7 +2,7 @@ apiVersion: v2
|
|||||||
name: template
|
name: template
|
||||||
description: A Helm library chart containing common templates, keeping application templates short
|
description: A Helm library chart containing common templates, keeping application templates short
|
||||||
type: library
|
type: library
|
||||||
version: 0.1.14
|
version: 0.1.15
|
||||||
maintainers:
|
maintainers:
|
||||||
- name: Jim Martens
|
- name: Jim Martens
|
||||||
url: https://2martens.de
|
url: https://2martens.de
|
||||||
@@ -10,8 +10,8 @@ sources:
|
|||||||
- https://git.2martens.de/2martens/cloud-configuration
|
- https://git.2martens.de/2martens/cloud-configuration
|
||||||
annotations:
|
annotations:
|
||||||
artifacthub.io/changes: |
|
artifacthub.io/changes: |
|
||||||
- kind: added
|
- kind: removed
|
||||||
description: Added more configuration options for applications
|
description: Removed pointless argo config
|
||||||
artifacthub.io/signKey: |
|
artifacthub.io/signKey: |
|
||||||
fingerprint: F0F153B65BAD467201D7544E47393ABD1F96B7C8
|
fingerprint: F0F153B65BAD467201D7544E47393ABD1F96B7C8
|
||||||
url: https://mafiasi.de/pks/key/47393ABD1F96B7C8.asc
|
url: https://mafiasi.de/pks/key/47393ABD1F96B7C8.asc
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
{{- include "template.application" . -}}
|
|
||||||
@@ -137,15 +137,3 @@ affinity: {}
|
|||||||
podSpec: {}
|
podSpec: {}
|
||||||
# containerSpec: will be added at the bottom of the container specification in the pod template
|
# containerSpec: will be added at the bottom of the container specification in the pod template
|
||||||
containerSpec: {}
|
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