File tree Expand file tree Collapse file tree 9 files changed +43
-48
lines changed
operator/gitops/argocd/pipeline-service/tekton-results Expand file tree Collapse file tree 9 files changed +43
-48
lines changed Original file line number Diff line number Diff line change 6
6
cluster_type : openshift
7
7
8
8
# git_url refers to a git repo to be considered as the source of truth for Argo CD applications.
9
- git_url : https://github.com/ramessesii2 /pipeline-service.git
9
+ git_url : https://github.com/openshift-pipelines /pipeline-service.git
10
10
11
11
# git_ref refers to the git repo's ref to be considered as the source of truth for Argo CD applications.
12
- git_ref : RAMESSESII2/results-kube-rbac-proxy-test
12
+ git_ref : main
13
13
14
14
# Applications to be deployed on the cluster
15
15
apps :
Original file line number Diff line number Diff line change 12
12
server : https://kubernetes.default.svc
13
13
source :
14
14
path : developer/openshift/gitops/argocd/pipeline-service-o11y
15
- repoURL : https://github.com/ramessesii2 /pipeline-service.git
16
- targetRevision : RAMESSESII2/results-kube-rbac-proxy-test
15
+ repoURL : https://github.com/openshift-pipelines /pipeline-service.git
16
+ targetRevision : main
17
17
project : default
18
18
syncPolicy :
19
19
# Comment this out if you want to manually trigger deployments (using the
Original file line number Diff line number Diff line change 12
12
server : https://kubernetes.default.svc
13
13
source :
14
14
path : developer/openshift/gitops/argocd/pipeline-service-storage
15
- repoURL : https://github.com/ramessesii2 /pipeline-service.git
16
- targetRevision : RAMESSESII2/results-kube-rbac-proxy-test
15
+ repoURL : https://github.com/openshift-pipelines /pipeline-service.git
16
+ targetRevision : main
17
17
project : default
18
18
syncPolicy :
19
19
# Comment this out if you want to manually trigger deployments (using the
Original file line number Diff line number Diff line change 12
12
server : https://kubernetes.default.svc
13
13
source :
14
14
path : developer/openshift/gitops/argocd/pipeline-service
15
- repoURL : https://github.com/ramessesii2 /pipeline-service.git
16
- targetRevision : RAMESSESII2/results-kube-rbac-proxy-test
15
+ repoURL : https://github.com/openshift-pipelines /pipeline-service.git
16
+ targetRevision : main
17
17
project : default
18
18
syncPolicy :
19
19
# Comment this out if you want to manually trigger deployments (using the
Original file line number Diff line number Diff line change 14
14
- " --secure-listen-address=0.0.0.0:9443"
15
15
- " --upstream=http://127.0.0.1:9090/"
16
16
- " --logtostderr=true"
17
- - " --v=10 "
17
+ - " --v=6 "
18
18
securityContext :
19
19
allowPrivilegeEscalation : false
20
20
seccompProfile :
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ resources:
8
8
- api-route.yaml
9
9
- watcher-logging-rbac.yaml
10
10
- service-monitor.yaml
11
+ - watcher-rbac.yaml
11
12
12
13
images :
13
14
- name : ko://github.com/tektoncd/results/cmd/api
@@ -43,7 +44,6 @@ patches:
43
44
- path : watcher-service-sync.yaml
44
45
- path : api-kube-rbac-proxy.yaml
45
46
- path : watcher-kube-rbac-proxy.yaml
46
- - path : watcher-cr-patch.yaml
47
47
- path : watcher-service-patch.yaml
48
48
target :
49
49
version : v1
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 14
14
- " --secure-listen-address=0.0.0.0:8443"
15
15
- " --upstream=http://127.0.0.1:9090/"
16
16
- " --logtostderr=true"
17
- - " --v=10 "
17
+ - " --v=6 "
18
18
securityContext :
19
19
allowPrivilegeEscalation : false
20
20
seccompProfile :
Original file line number Diff line number Diff line change
1
+ ---
2
+ apiVersion : rbac.authorization.k8s.io/v1
3
+ kind : ClusterRole
4
+ metadata :
5
+ name : tekton-results-watcher-rbac
6
+ annotations :
7
+ argocd.argoproj.io/sync-wave : " 0"
8
+ rules :
9
+ # Watcher needs to be able to verify incoming auth tokens.
10
+ - apiGroups : ["authentication.k8s.io"]
11
+ resources : ["tokenreviews"]
12
+ verbs : ["create"]
13
+ # Watcher needs to be able to use RBAC to verify user authorization.
14
+ - apiGroups : ["authorization.k8s.io"]
15
+ resources : ["subjectaccessreviews"]
16
+ verbs : ["create"]
17
+
18
+ ---
19
+ apiVersion : rbac.authorization.k8s.io/v1
20
+ kind : ClusterRoleBinding
21
+ metadata :
22
+ name : tekton-results-watcher-rbac
23
+ annotations :
24
+ argocd.argoproj.io/sync-wave : " 0"
25
+ subjects :
26
+ - kind : ServiceAccount
27
+ name : watcher
28
+ namespace : tekton-pipelines
29
+ roleRef :
30
+ apiGroup : rbac.authorization.k8s.io
31
+ kind : ClusterRole
32
+ name : tekton-results-watcher-rbac
You can’t perform that action at this time.
0 commit comments