fix(argocd-image-updater): add namespace field for namespace scoped resources (#1970)
Signed-off-by: yu-croco <yu.croco@gmail.com>
This commit is contained in:
parent
22356c77af
commit
29b753057b
10 changed files with 16 additions and 9 deletions
|
|
@ -5,7 +5,8 @@ kind: Role
|
|||
metadata:
|
||||
labels:
|
||||
{{ include "argocd-image-updater.labels" . | nindent 4 }}
|
||||
name: {{ include "argocd-image-updater.fullname" . }}
|
||||
name: {{ include "argocd-image-updater.fullname" . }}
|
||||
namespace: {{ .Release.Namespace | quote }}
|
||||
rules:
|
||||
- apiGroups:
|
||||
- ''
|
||||
|
|
@ -45,4 +46,5 @@ roleRef:
|
|||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: {{ include "argocd-image-updater.serviceAccountName" . }}
|
||||
namespace: {{ .Release.Namespace | quote }}
|
||||
{{- end }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue