fix(argo-cd): Evaluate namespace field via helm root scope (#1963)
Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
This commit is contained in:
parent
076cf82ddd
commit
388102400f
4 changed files with 5 additions and 5 deletions
|
@ -3,7 +3,7 @@ appVersion: v2.6.7
|
||||||
kubeVersion: ">=1.22.0-0"
|
kubeVersion: ">=1.22.0-0"
|
||||||
description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes.
|
description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes.
|
||||||
name: argo-cd
|
name: argo-cd
|
||||||
version: 5.29.0
|
version: 5.29.1
|
||||||
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
|
||||||
sources:
|
sources:
|
||||||
|
@ -24,4 +24,4 @@ dependencies:
|
||||||
annotations:
|
annotations:
|
||||||
artifacthub.io/changes: |
|
artifacthub.io/changes: |
|
||||||
- kind: fixed
|
- kind: fixed
|
||||||
description: Add namespace field for namespace scoped resources
|
description: Namespace field for some namespaced resources needs to be evaluated via helm root scope
|
||||||
|
|
|
@ -4,7 +4,7 @@ apiVersion: v1
|
||||||
kind: Secret
|
kind: Secret
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "argo-cd.name" $ }}-cluster-{{ .name }}
|
name: {{ include "argo-cd.name" $ }}-cluster-{{ .name }}
|
||||||
namespace: {{ .Release.Namespace | quote }}
|
namespace: {{ $.Release.Namespace | quote }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "argo-cd.labels" (dict "context" $) | nindent 4 }}
|
{{- include "argo-cd.labels" (dict "context" $) | nindent 4 }}
|
||||||
{{- with .labels }}
|
{{- with .labels }}
|
||||||
|
|
|
@ -4,7 +4,7 @@ apiVersion: v1
|
||||||
kind: Secret
|
kind: Secret
|
||||||
metadata:
|
metadata:
|
||||||
name: argocd-repo-creds-{{ $repo_cred_key }}
|
name: argocd-repo-creds-{{ $repo_cred_key }}
|
||||||
namespace: {{ .Release.Namespace | quote }}
|
namespace: {{ $.Release.Namespace | quote }}
|
||||||
labels:
|
labels:
|
||||||
argocd.argoproj.io/secret-type: repo-creds
|
argocd.argoproj.io/secret-type: repo-creds
|
||||||
{{- include "argo-cd.labels" (dict "context" $) | nindent 4 }}
|
{{- include "argo-cd.labels" (dict "context" $) | nindent 4 }}
|
||||||
|
|
|
@ -4,7 +4,7 @@ apiVersion: v1
|
||||||
kind: Secret
|
kind: Secret
|
||||||
metadata:
|
metadata:
|
||||||
name: argocd-repo-{{ $repo_key }}
|
name: argocd-repo-{{ $repo_key }}
|
||||||
namespace: {{ .Release.Namespace | quote }}
|
namespace: {{ $.Release.Namespace | quote }}
|
||||||
labels:
|
labels:
|
||||||
argocd.argoproj.io/secret-type: repository
|
argocd.argoproj.io/secret-type: repository
|
||||||
{{- include "argo-cd.labels" (dict "context" $) | nindent 4 }}
|
{{- include "argo-cd.labels" (dict "context" $) | nindent 4 }}
|
||||||
|
|
Loading…
Reference in a new issue