Skip to content

Commit 91fd71d

Browse files
expose CAPI_OPERATOR_DIAGNOSTICS_ADDRESS & CAPI_OPERATOR_INSECURE_DIAGNOSTICS in manager deployment
Signed-off-by: Furkat Gofurov <[email protected]>
1 parent 0013b46 commit 91fd71d

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

config/manager/manager.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ spec:
2222
- /manager
2323
args:
2424
- "--leader-elect"
25+
- "--diagnostics-address=${CAPI_OPERATOR_DIAGNOSTICS_ADDRESS:=:8443}"
26+
- "--insecure-diagnostics=${CAPI_OPERATOR_INSECURE_DIAGNOSTICS:=false}"
2527
image: controller:latest
2628
name: manager
2729
ports:

config/rbac/role.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,15 @@ rules:
1010
- '*'
1111
verbs:
1212
- '*'
13+
- apiGroups:
14+
- authentication.k8s.io
15+
resources:
16+
- tokenreviews
17+
verbs:
18+
- create
19+
- apiGroups:
20+
- authorization.k8s.io
21+
resources:
22+
- subjectaccessreviews
23+
verbs:
24+
- create

0 commit comments

Comments
 (0)