feat(argo-cd): Add argocd image updater (#477)
* Add argocd-image-updater chart Signed-off-by: Wylie Hobbs <wylie-hobbs@pluralsight.com> * Add maintainers Signed-off-by: Wylie Hobbs <wylie-hobbs@pluralsight.com> * update rbac and chart metadata Signed-off-by: Wylie Hobbs <wylie@wyliehobbs.com> * fix chompstyle Signed-off-by: Wylie Hobbs <wylie@wyliehobbs.com> * add README/template with helm-docs Signed-off-by: Wylie Hobbs <wylie@wyliehobbs.com> * Use correct icon url and use a generic maintainer section Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com> Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
This commit is contained in:
parent
d0efbc458a
commit
879453808c
10 changed files with 518 additions and 0 deletions
48
charts/argocd-image-updater/templates/rbac.yaml
Normal file
48
charts/argocd-image-updater/templates/rbac.yaml
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
{{- if .Values.rbac.enabled }}
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: Role
|
||||
metadata:
|
||||
labels:
|
||||
{{ include "argocd-image-updater.labels" . | nindent 4 }}
|
||||
name: {{ include "argocd-image-updater.fullname" . }}
|
||||
rules:
|
||||
- apiGroups:
|
||||
- ''
|
||||
resources:
|
||||
- secrets
|
||||
- configmaps
|
||||
verbs:
|
||||
- get
|
||||
- list
|
||||
- watch
|
||||
- apiGroups:
|
||||
- argoproj.io
|
||||
resources:
|
||||
- applications
|
||||
verbs:
|
||||
- get
|
||||
- list
|
||||
- update
|
||||
- patch
|
||||
- apiGroups:
|
||||
- ""
|
||||
resources:
|
||||
- events
|
||||
verbs:
|
||||
- create
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: RoleBinding
|
||||
metadata:
|
||||
labels:
|
||||
{{ include "argocd-image-updater.labels" . | nindent 4 }}
|
||||
name: {{ include "argocd-image-updater.fullname" . }}
|
||||
roleRef:
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: Role
|
||||
name: {{ include "argocd-image-updater.fullname" . }}
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: {{ include "argocd-image-updater.serviceAccountName" . }}
|
||||
{{- end }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue