You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: charts/capsule-proxy/README.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -178,7 +178,7 @@ If you only need to make minor customizations, you can specify them on the comma
178
178
| options.certificateVolumeName | string |`""`| Specify an override for the Secret containing the certificate for SSL. Default value is empty and referring to the generated certificate. |
179
179
| options.clientConnectionBurst | int |`30`| Burst to use for interacting with kubernetes API Server. |
180
180
| options.clientConnectionQPS | int |`20`| QPS to use for interacting with Kubernetes API Server. |
181
-
| options.disableCaching | bool |`false`| Disable the go-client caching to hit directly the Kubernetes API Server, it disables any local caching as the rolebinding reflector |
181
+
| options.disableCaching | bool |`false`| Disable the go-client caching to hit directly the Kubernetes API Server, it disables any local caching as the rolebinding reflector.|
182
182
| options.enableSSL | bool |`true`| Specify if capsule-proxy will use SSL |
183
183
| options.extraArgs | list |`[]`| A list of extra arguments to add to the capsule-proxy. |
184
184
| options.generateCertificates | bool |`true`| Specify if capsule-proxy will generate self-signed SSL certificates |
@@ -188,6 +188,7 @@ If you only need to make minor customizations, you can specify them on the comma
188
188
| options.logLevel | int |`4`| Set the log verbosity of the capsule-proxy with a value from 1 to 10 |
189
189
| options.oidcUsernameClaim | string |`"preferred_username"`| Specify if capsule-proxy will use SSL |
190
190
| options.pprof | bool |`false`| Enable Pprof for profiling |
191
+
| options.roleBindingReflector | bool |`false`| Enable the rolebinding reflector, which allows to list the namespaces, where a rolebinding mentions a user. |
191
192
| options.rolebindingsResyncPeriod | string |`"10h"`| Set the role bindings reflector resync period, a local cache to store mappings between users and their namespaces. [Use a lower value in case of flaky etcd server connections.](https://github.com/projectcapsule/capsule-proxy/issues/174)|
192
193
| options.webhookPort | int |`9443`| Webhook port |
Copy file name to clipboardExpand all lines: charts/capsule-proxy/values.schema.json
+5-1Lines changed: 5 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -547,7 +547,7 @@
547
547
"type": "integer"
548
548
},
549
549
"disableCaching": {
550
-
"description": "Disable the go-client caching to hit directly the Kubernetes API Server, it disables any local caching as the rolebinding reflector",
550
+
"description": "Disable the go-client caching to hit directly the Kubernetes API Server, it disables any local caching as the rolebinding reflector.",
551
551
"type": "boolean"
552
552
},
553
553
"enableSSL": {
@@ -586,6 +586,10 @@
586
586
"description": "Enable Pprof for profiling",
587
587
"type": "boolean"
588
588
},
589
+
"roleBindingReflector": {
590
+
"description": "Enable the rolebinding reflector, which allows to list the namespaces, where a rolebinding mentions a user.",
591
+
"type": "boolean"
592
+
},
589
593
"rolebindingsResyncPeriod": {
590
594
"description": "Set the role bindings reflector resync period, a local cache to store mappings between users and their namespaces. [Use a lower value in case of flaky etcd server connections.](https://github.com/projectcapsule/capsule-proxy/issues/174)",
Copy file name to clipboardExpand all lines: charts/capsule-proxy/values.yaml
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -272,8 +272,10 @@ options:
272
272
certificateVolumeName: ""
273
273
# -- Set the role bindings reflector resync period, a local cache to store mappings between users and their namespaces. [Use a lower value in case of flaky etcd server connections.](https://github.com/projectcapsule/capsule-proxy/issues/174)
274
274
rolebindingsResyncPeriod: 10h
275
-
# -- Disable the go-client caching to hit directly the Kubernetes API Server, it disables any local caching as the rolebinding reflector
275
+
# -- Disable the go-client caching to hit directly the Kubernetes API Server, it disables any local caching as the rolebinding reflector.
276
276
disableCaching: false
277
+
# -- Enable the rolebinding reflector, which allows to list the namespaces, where a rolebinding mentions a user.
278
+
roleBindingReflector: false
277
279
# -- Authentication types to be used for requests. Possible Auth Types: [BearerToken, TLSCertificate]
278
280
authPreferredTypes: "BearerToken,TLSCertificate"
279
281
# -- QPS to use for interacting with Kubernetes API Server.
flag.StringVar(&impersonationGroupsRegexp, "impersonation-group-regexp", "", "Regular expression to match the groups which are considered for impersonation")
120
120
flag.UintVar(&listeningPort, "listening-port", 9001, "HTTP port the proxy listens to (default: 9001)")
121
121
flag.StringVar(&usernameClaimField, "oidc-username-claim", "preferred_username", "The OIDC field name used to identify the user (default: preferred_username)")
122
+
flag.BoolVar(&roleBindingReflector, "enable-reflector", false, "Enable rolebinding reflector. The reflector allows to list the namespaces, where a rolebinding mentions a user")
122
123
flag.BoolVar(&enablePprof, "enable-pprof", false, "Enables Pprof endpoint for profiling (not recommend in production)")
123
124
flag.BoolVar(&bindSsl, "enable-ssl", true, "Enable the bind on HTTPS for secure communication (default: true)")
124
125
flag.StringVar(&certPath, "ssl-cert-path", "", "Path to the TLS certificate (default: /opt/capsule-proxy/tls.crt)")
@@ -237,7 +238,7 @@ First match is used and can be specified multiple times as comma separated value
0 commit comments