cloud-native-toolkit / cloud-native-toolkit/planning

argocd service account not configured with correct rbac

Open
#849 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
4
Forks
1
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
Deploying interation zero argocd don't have permissions to deploy apps

**To Reproduce**
Deploy toolkit using quickstart on OCP 4.6

**Expected behavior**
argocd application service account not longer configure as cluster-admin

In the module terraform-tools-argocd the service-account-name is passed as value to the argocd-config chart here
https://github.com/cloud-native-toolkit/terraform-tools-argocd/blob/main/main.tf#L51

This service-account-name is not being used in the argocd-chart here
https://github.com/cloud-native-toolkit/toolkit-charts/blob/main/stable/argocd-config/templates/rbac.yaml#L27

This other place is also rbac is configure
https://github.com/cloud-native-toolkit/toolkit-charts/blob/main/stable/openshift-gitops/templates/rbac.yaml#L28

but the service-account name is incorrect

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.