feat(argocd-apps): Add Argo extensions (#1546)
Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
This commit is contained in:
parent
8495d6bb5c
commit
7c3276f44d
5 changed files with 57 additions and 2 deletions
|
@ -2,7 +2,7 @@ apiVersion: v2
|
||||||
name: argocd-apps
|
name: argocd-apps
|
||||||
description: A Helm chart for managing additional Argo CD Applications and Projects
|
description: A Helm chart for managing additional Argo CD Applications and Projects
|
||||||
type: application
|
type: application
|
||||||
version: 0.0.2
|
version: 0.0.3
|
||||||
home: https://github.com/argoproj/argo-helm
|
home: https://github.com/argoproj/argo-helm
|
||||||
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
|
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
|
||||||
keywords:
|
keywords:
|
||||||
|
@ -14,4 +14,4 @@ maintainers:
|
||||||
url: https://argoproj.github.io/
|
url: https://argoproj.github.io/
|
||||||
annotations:
|
annotations:
|
||||||
artifacthub.io/changes: |
|
artifacthub.io/changes: |
|
||||||
- "[Added]: Add ApplicationSets"
|
- "[Added]: Add Extensions"
|
||||||
|
|
|
@ -26,6 +26,7 @@ $ helm install my-release argo/argocd-apps
|
||||||
|-----|------|---------|-------------|
|
|-----|------|---------|-------------|
|
||||||
| applications | list | `[]` (See [values.yaml]) | Deploy Argo CD Applications within this helm release |
|
| applications | list | `[]` (See [values.yaml]) | Deploy Argo CD Applications within this helm release |
|
||||||
| applicationsets | list | `[]` (See [values.yaml]) | Deploy Argo CD ApplicationSets within this helm release |
|
| applicationsets | list | `[]` (See [values.yaml]) | Deploy Argo CD ApplicationSets within this helm release |
|
||||||
|
| extensions | list | `[]` (See [values.yaml]) | Deploy Argo UI Extensions within this helm release |
|
||||||
| projects | list | `[]` (See [values.yaml]) | Deploy Argo CD Projects within this helm release |
|
| projects | list | `[]` (See [values.yaml]) | Deploy Argo CD Projects within this helm release |
|
||||||
|
|
||||||
----------------------------------------------
|
----------------------------------------------
|
||||||
|
|
12
charts/argocd-apps/ci/extensions-values.yaml
Normal file
12
charts/argocd-apps/ci/extensions-values.yaml
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
# Test with extensions
|
||||||
|
|
||||||
|
extensions:
|
||||||
|
- name: example
|
||||||
|
namespace: default
|
||||||
|
additionalLabels: {}
|
||||||
|
additionalAnnotations: {}
|
||||||
|
sources:
|
||||||
|
- git:
|
||||||
|
url: https://github.com/argoproj-labs/argocd-example-extension.git
|
||||||
|
- web:
|
||||||
|
url: https://github.com/argoproj-labs/argocd-example-extension/releases/download/v0.1.0/extension.tar
|
27
charts/argocd-apps/templates/extensions.yaml
Normal file
27
charts/argocd-apps/templates/extensions.yaml
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
{{- range .Values.extensions }}
|
||||||
|
---
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: ArgoCDExtension
|
||||||
|
metadata:
|
||||||
|
name: {{ .name }}
|
||||||
|
{{- with .namespace }}
|
||||||
|
namespace: {{ . }}
|
||||||
|
{{- end }}
|
||||||
|
finalizers:
|
||||||
|
- extensions-finalizer.argocd.argoproj.io
|
||||||
|
{{- with .additionalLabels }}
|
||||||
|
labels:
|
||||||
|
{{- toYaml . | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with .additionalAnnotations }}
|
||||||
|
annotations:
|
||||||
|
{{- range $key, $value := . }}
|
||||||
|
{{ $key }}: {{ $value | quote }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with .sources }}
|
||||||
|
spec:
|
||||||
|
sources:
|
||||||
|
{{- toYaml . | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
|
@ -121,3 +121,18 @@ applicationsets: []
|
||||||
# syncPolicy:
|
# syncPolicy:
|
||||||
# # Set Application finalizer
|
# # Set Application finalizer
|
||||||
# preserveResourcesOnDeletion: false
|
# preserveResourcesOnDeletion: false
|
||||||
|
|
||||||
|
# -- Deploy Argo UI Extensions within this helm release
|
||||||
|
# @default -- `[]` (See [values.yaml])
|
||||||
|
## This function in tech preview stage, do expect unstability or breaking changes in newer versions. Bump image.tag if necessary.
|
||||||
|
## Ref: https://github.com/argoproj-labs/argocd-extensions
|
||||||
|
extensions: []
|
||||||
|
# - name: example
|
||||||
|
# namespace: argocd
|
||||||
|
# additionalLabels: {}
|
||||||
|
# additionalAnnotations: {}
|
||||||
|
# sources:
|
||||||
|
# - git:
|
||||||
|
# url: https://github.com/argoproj-labs/argocd-example-extension.git
|
||||||
|
# - web:
|
||||||
|
# url: https://github.com/argoproj-labs/argocd-example-extension/releases/download/v0.1.0/extension.tar
|
||||||
|
|
Loading…
Reference in a new issue