Skip to content

Commit b32aba1

Browse files
committed
fix: remove metrics-secure flag
1 parent e223dab commit b32aba1

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

config/default/manager_auth_proxy_patch.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14-
# This patch configures the controller manager to serve metrics securely
15-
# using controller-runtime's built-in authentication and authorization.
14+
# This patch configures the controller manager to expose metrics on port 8443.
15+
# Access is controlled via Kubernetes RBAC on the metrics service.
1616
apiVersion: apps/v1
1717
kind: Deployment
1818
metadata:
@@ -26,7 +26,6 @@ spec:
2626
args:
2727
- "--health-probe-bind-address=:8081"
2828
- "--metrics-bind-address=:8443"
29-
- "--metrics-secure=true"
3029
- "--leader-elect"
3130
ports:
3231
- containerPort: 8443

0 commit comments

Comments
 (0)