Skip to content

Commit

Permalink
feat(argocd-apps): add permitOnlyProjectScopedClusters flag (#2149)
Browse files Browse the repository at this point in the history
Signed-off-by: Fabián Sellés Rosa <1088313+Fsero@users.noreply.github.com>
  • Loading branch information
Fsero authored Jul 11, 2023
1 parent 2fb6049 commit 047ba6b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/argocd-apps/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: argocd-apps
description: A Helm chart for managing additional Argo CD Applications and Projects
type: application
version: 1.2.0
version: 1.3.0
home: https://github.com/argoproj/argo-helm
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
keywords:
Expand All @@ -18,4 +18,4 @@ annotations:
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
artifacthub.io/changes: |
- kind: added
description: Rollout strategy for ApplicationSet
description: add permitOnlyProjectScopedClusters flag to Projects defaulting to false
3 changes: 3 additions & 0 deletions charts/argocd-apps/templates/projects.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ metadata:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
{{- with .permitOnlyProjectScopedClusters }}
permitOnlyProjectScopedClusters: {{ . }}
{{- end }}
description: {{ .description }}
{{- with .sourceRepos }}
sourceRepos:
Expand Down
1 change: 1 addition & 0 deletions charts/argocd-apps/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ projects: []
# namespace: argocd
# additionalLabels: {}
# additionalAnnotations: {}
# permitOnlyProjectScopedClusters: false
# finalizers:
# - resources-finalizer.argocd.argoproj.io
# description: Example Project
Expand Down

0 comments on commit 047ba6b

Please sign in to comment.