feat: add admin-user's ClusterRoleBinding which maps to the argo-workflow-admin role

This commit is contained in:
cătălin 2024-03-17 15:33:09 +01:00
commit 3d556a4533
No known key found for this signature in database
3 changed files with 19 additions and 0 deletions

View file

@ -8,6 +8,19 @@ metadata:
workflows.argoproj.io/rbac-rule: "true" workflows.argoproj.io/rbac-rule: "true"
workflows.argoproj.io/rbac-rule-precedence: "1" workflows.argoproj.io/rbac-rule-precedence: "1"
--- ---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: admin-user
subjects:
- kind: ServiceAccount
name: admin-user
namespace: argo-workflows
roleRef:
name: argo-workflows-admin
kind: ClusterRole
apiGroup: rbac.authorization.k8s.io
---
apiVersion: v1 apiVersion: v1
kind: Secret kind: Secret
metadata: metadata:

View file

@ -6,6 +6,7 @@ metadata:
spec: spec:
entryPoints: entryPoints:
- websecure - websecure
- web
routes: routes:
- kind: Rule - kind: Rule
match: Host(`argo.fuku`) match: Host(`argo.fuku`)

View file

@ -105,3 +105,8 @@ resource "adguard_rewrite" "ci_local_3" {
domain = "ci.fuku" domain = "ci.fuku"
answer = "192.168.1.33" answer = "192.168.1.33"
} }
resource "adguard_rewrite" "ace" {
domain = "ace.fuku"
answer = "192.168.1.14"
}