File tree Expand file tree Collapse file tree
rust/operator-binary/src/crd Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -838,7 +838,7 @@ impl v1alpha1::TrinoCluster {
838838 let ns = ns. clone ( ) ;
839839 ( 0 ..rolegroup. replicas . unwrap_or ( 0 ) ) . map ( move |i| TrinoPodRef {
840840 namespace : ns. clone ( ) ,
841- role_group_service_name : rolegroup_metrics_service_name (
841+ role_group_service_name : rolegroup_headless_service_name (
842842 & role_group_ref. object_name ( ) ,
843843 ) ,
844844 pod_name : format ! (
Original file line number Diff line number Diff line change @@ -4,10 +4,10 @@ kind: TestAssert
44timeout : 300
55commands :
66 # file
7- - script : kubectl exec -n $NAMESPACE trino-test-helper-0 -- python /tmp/check-active-workers.py -u test_user_1 -p test_user_1 -c trino-coordinator-default-metrics .$NAMESPACE.svc.cluster.local -w 1
8- - script : kubectl exec -n $NAMESPACE trino-test-helper-0 -- python /tmp/check-active-workers.py -u test_user_2_other -p test_user_2_other -c trino-coordinator-default-metrics .$NAMESPACE.svc.cluster.local -w 1
7+ - script : kubectl exec -n $NAMESPACE trino-test-helper-0 -- python /tmp/check-active-workers.py -u test_user_1 -p test_user_1 -c trino-coordinator-default-headless .$NAMESPACE.svc.cluster.local -w 1
8+ - script : kubectl exec -n $NAMESPACE trino-test-helper-0 -- python /tmp/check-active-workers.py -u test_user_2_other -p test_user_2_other -c trino-coordinator-default-headless .$NAMESPACE.svc.cluster.local -w 1
99 # ldap
10- - script : kubectl exec -n $NAMESPACE trino-test-helper-0 -- python /tmp/check-active-workers.py -u integrationtest -p integrationtest -c trino-coordinator-default-metrics .$NAMESPACE.svc.cluster.local -w 1
11- - script : kubectl exec -n $NAMESPACE trino-test-helper-0 -- python /tmp/check-active-workers.py -u integrationtest-other -p integrationtest-other -c trino-coordinator-default-metrics .$NAMESPACE.svc.cluster.local -w 1
10+ - script : kubectl exec -n $NAMESPACE trino-test-helper-0 -- python /tmp/check-active-workers.py -u integrationtest -p integrationtest -c trino-coordinator-default-headless .$NAMESPACE.svc.cluster.local -w 1
11+ - script : kubectl exec -n $NAMESPACE trino-test-helper-0 -- python /tmp/check-active-workers.py -u integrationtest-other -p integrationtest-other -c trino-coordinator-default-headless .$NAMESPACE.svc.cluster.local -w 1
1212 # oidc/oauth2
13- - script : kubectl exec -n $NAMESPACE trino-test-helper-0 -- python /tmp/check-oauth-login.py https://trino-coordinator-default-metrics .$NAMESPACE.svc.cluster.local:8443/ui/
13+ - script : kubectl exec -n $NAMESPACE trino-test-helper-0 -- python /tmp/check-oauth-login.py https://trino-coordinator-default-headless .$NAMESPACE.svc.cluster.local:8443/ui/
Original file line number Diff line number Diff line change @@ -5,4 +5,4 @@ timeout: 600
55commands :
66 # file
77 # new user?
8- - script : kubectl exec -n $NAMESPACE trino-test-helper-0 -- python /tmp/check-active-workers.py -u hot_reloaded -p hot_reloaded -c trino-coordinator-default-metrics .$NAMESPACE.svc.cluster.local -w 1
8+ - script : kubectl exec -n $NAMESPACE trino-test-helper-0 -- python /tmp/check-active-workers.py -u hot_reloaded -p hot_reloaded -c trino-coordinator-default-headless .$NAMESPACE.svc.cluster.local -w 1
Original file line number Diff line number Diff line change @@ -5,4 +5,4 @@ timeout: 600
55commands :
66 # We use the check-active-workers script for the login. Since we do want to wait until we cannot log in anymore
77 # we flip the return value in the end.
8- - script : kubectl exec -n $NAMESPACE trino-test-helper-0 -- python /tmp/check-active-workers.py -u hot_reloaded -p hot_reloaded -c trino-coordinator-default-metrics .$NAMESPACE.svc.cluster.local -w 1; if [ $? -eq 0 ]; then exit 1; fi
8+ - script : kubectl exec -n $NAMESPACE trino-test-helper-0 -- python /tmp/check-active-workers.py -u hot_reloaded -p hot_reloaded -c trino-coordinator-default-headless .$NAMESPACE.svc.cluster.local -w 1; if [ $? -eq 0 ]; then exit 1; fi
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ def read_json(config_path):
6565 "/tmp/test-config.json"
6666 ) # config file to indicate our test script if auth / tls is used or not
6767 coordinator_host = (
68- "trino-coordinator-default-metrics ." + namespace + ".svc.cluster.local"
68+ "trino-coordinator-default-headless ." + namespace + ".svc.cluster.local"
6969 )
7070 trusted_ca = "/stackable/trusted/ca.crt" # will be mounted from secret op
7171 untrusted_ca = "/stackable/untrusted-cert.crt" # some random CA
You can’t perform that action at this time.
0 commit comments