forked from catalin/fukuops
feat: add admin-user's ClusterRoleBinding which maps to the argo-workflow-admin role
This commit is contained in:
parent
2c7de2fb4c
commit
3d556a4533
3 changed files with 19 additions and 0 deletions
|
|
@ -8,6 +8,19 @@ metadata:
|
|||
workflows.argoproj.io/rbac-rule: "true"
|
||||
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
|
||||
kind: Secret
|
||||
metadata:
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@ metadata:
|
|||
spec:
|
||||
entryPoints:
|
||||
- websecure
|
||||
- web
|
||||
routes:
|
||||
- kind: Rule
|
||||
match: Host(`argo.fuku`)
|
||||
|
|
|
|||
|
|
@ -105,3 +105,8 @@ resource "adguard_rewrite" "ci_local_3" {
|
|||
domain = "ci.fuku"
|
||||
answer = "192.168.1.33"
|
||||
}
|
||||
|
||||
resource "adguard_rewrite" "ace" {
|
||||
domain = "ace.fuku"
|
||||
answer = "192.168.1.14"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue