diff options
| author | Jort Koopmans <jort@jabo-solutions.eu> | 2024-09-06 02:43:35 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-05 20:43:35 -0400 |
| commit | 5990a9b49ca3e09bd91477bf6730c792c4d3cdf2 (patch) | |
| tree | 930b81c9841f7064a7c246961456fead811d5fee /manifests/base | |
| parent | d8296853e09ab4944646462e680aa5231695638b (diff) | |
feat: Sync namespace for Event to the Application namespace (#847) (#848)
Signed-off-by: Jort Koopmans <jort.koopmans@entrnce.com>
Diffstat (limited to 'manifests/base')
4 files changed, 32 insertions, 7 deletions
diff --git a/manifests/base/rbac/argocd-image-updater-clusterrole.yaml b/manifests/base/rbac/argocd-image-updater-clusterrole.yaml new file mode 100644 index 0000000..fb4bc82 --- /dev/null +++ b/manifests/base/rbac/argocd-image-updater-clusterrole.yaml @@ -0,0 +1,15 @@ +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRole +metadata: + labels: + app.kubernetes.io/name: argocd-image-updater + app.kubernetes.io/part-of: argocd-image-updater + app.kubernetes.io/component: controller + name: argocd-image-updater +rules: + - apiGroups: + - "" + resources: + - events + verbs: + - create diff --git a/manifests/base/rbac/argocd-image-updater-clusterrolebinding.yaml b/manifests/base/rbac/argocd-image-updater-clusterrolebinding.yaml new file mode 100644 index 0000000..f718710 --- /dev/null +++ b/manifests/base/rbac/argocd-image-updater-clusterrolebinding.yaml @@ -0,0 +1,15 @@ +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRoleBinding +metadata: + labels: + app.kubernetes.io/name: argocd-image-updater + app.kubernetes.io/part-of: argocd-image-updater + app.kubernetes.io/component: controller + name: argocd-image-updater +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: ClusterRole + name: argocd-image-updater +subjects: + - kind: ServiceAccount + name: argocd-image-updater diff --git a/manifests/base/rbac/argocd-image-updater-role.yaml b/manifests/base/rbac/argocd-image-updater-role.yaml index 60266f2..aa7cd02 100644 --- a/manifests/base/rbac/argocd-image-updater-role.yaml +++ b/manifests/base/rbac/argocd-image-updater-role.yaml @@ -25,10 +25,3 @@ rules: - list - update - patch - - apiGroups: - - "" - resources: - - events - verbs: - - create - diff --git a/manifests/base/rbac/kustomization.yaml b/manifests/base/rbac/kustomization.yaml index 882fcc1..266ee1c 100644 --- a/manifests/base/rbac/kustomization.yaml +++ b/manifests/base/rbac/kustomization.yaml @@ -2,6 +2,8 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: + - argocd-image-updater-clusterrole.yaml + - argocd-image-updater-clusterrolebinding.yaml - argocd-image-updater-role.yaml - argocd-image-updater-rolebinding.yaml - argocd-image-updater-sa.yaml |
