configuring api user for argocd
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: argocd-cm
|
||||
namespace: argocd
|
||||
labels:
|
||||
app.kubernetes.io/name: argocd-cm
|
||||
app.kubernetes.io/part-of: argocd
|
||||
data:
|
||||
accounts.api: apiKey
|
||||
accounts.api.enabled: "true"
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: argocd-rbac-cm
|
||||
namespace: argocd
|
||||
labels:
|
||||
app.kubernetes.io/name: argocd-rbac-cm
|
||||
app.kubernetes.io/part-of: argocd
|
||||
data:
|
||||
policy.csv: |
|
||||
g, api, role:readonly
|
||||
@@ -9,3 +9,4 @@ resources:
|
||||
|
||||
patches:
|
||||
- path: server-insecure-patch.yaml
|
||||
- path: argocd-api-user.yaml
|
||||
|
||||
Reference in New Issue
Block a user