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:
Wylie Hobbs 2021-08-16 09:23:02 -06:00 committed by GitHub
parent d0efbc458a
commit 879453808c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 518 additions and 0 deletions

View 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 }}