Skip to content

Commit

Permalink
fix: use specific cipher suites for kube-rbac-proxy
Browse files Browse the repository at this point in the history
Signed-off-by: Suleyman Akbas <sakbas@redhat.com>
  • Loading branch information
suleymanakbas91 committed Sep 27, 2023
1 parent b1f83fe commit 0a20e29
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 63 deletions.

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion config/rbac/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ resources:
- lvms_node_role_n_rolebindings.yaml
# topolvm-node metric rbac
- topolvm_metric_service_config.yaml
- topolvm_node_role_n_rolebindings.yaml
- topolvm_node_service_account.yaml
- topolvm_node_role.yaml
- topolvm_node_role_bindings.yaml
Expand Down
31 changes: 0 additions & 31 deletions config/rbac/topolvm_node_role_n_rolebindings.yaml

This file was deleted.

3 changes: 1 addition & 2 deletions controllers/topolvm_node.go
Original file line number Diff line number Diff line change
Expand Up @@ -335,10 +335,9 @@ func getRBACProxyContainer() *corev1.Container {
args := []string{
"--secure-listen-address=0.0.0.0:8443",
"--upstream=http://127.0.0.1:8080/",
"--logtostderr=true",
"--v=0",
"--tls-cert-file=/var/run/secrets/serving-cert/tls.crt",
"--tls-private-key-file=/var/run/secrets/serving-cert/tls.key",
"--tls-cipher-suites=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256,TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256",
}

requirements := corev1.ResourceRequirements{
Expand Down

0 comments on commit 0a20e29

Please sign in to comment.