File tree 5 files changed +13
-7
lines changed
5 files changed +13
-7
lines changed Original file line number Diff line number Diff line change @@ -13,9 +13,9 @@ echo "Waiting for workload to be available"
13
13
14
14
# manually change the host here as the workload host resolves to localhost, which is not reachable from the container
15
15
if curl -I --retry 30 --retry-delay 3 --retry-all-errors --fail \
16
- --connect-to " $workload_host :30080 :5min-idp-control-plane:30080 " \
17
- " http ://$workload_host :30080 " ; then
18
- echo " Workload available at: http ://$workload_host :30080 "
16
+ --connect-to " $workload_host :30443 :5min-idp-control-plane:30443 " \
17
+ " https ://$workload_host :30443 " ; then
18
+ echo " Workload available at: https ://$workload_host :30443 "
19
19
else
20
20
echo " Workload not available"
21
21
kubectl get pods --all-namespaces
Original file line number Diff line number Diff line change 6
6
extraPortMappings :
7
7
- containerPort : 30080
8
8
hostPort : 30080
9
- listenAddress : " 0.0.0.0"
10
9
protocol : TCP
10
+ - containerPort : 30443
11
+ hostPort : 30443
12
+ protocol : TCP
Original file line number Diff line number Diff line change @@ -45,11 +45,10 @@ resource "humanitec_resource_definition" "dns_localhost" {
45
45
id = " ${ local . prefix } dns-localhost"
46
46
name = " ${ local . prefix } dns-localhost"
47
47
type = " dns"
48
- driver_type = " humanitec/dns-wildcard "
48
+ driver_type = " humanitec/newapp-io-dns "
49
49
50
50
driver_inputs = {
51
51
values_string = jsonencode ({
52
- " domain" = " localhost"
53
52
" template" = " $${context.app.id}-{{ randAlphaNum 4 | lower}}"
54
53
})
55
54
}
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ resource "humanitec_resource_definition" "cluster_local" {
78
78
79
79
driver_inputs = {
80
80
values_string = jsonencode ({
81
- loadbalancer = " 0 .0.0.0 " # ensure dns records are created pointing to localhost
81
+ loadbalancer = " 127 .0.0.1 " # ensure dns records are created pointing to localhost
82
82
cluster_data = local.parsed_kubeconfig[" clusters" ][0 ][" cluster" ]
83
83
})
84
84
secrets_string = jsonencode ({
Original file line number Diff line number Diff line change @@ -25,4 +25,9 @@ resource "helm_release" "ingress_nginx" {
25
25
name = " controller.service.nodePorts.http"
26
26
value = " 30080"
27
27
}
28
+
29
+ set {
30
+ name = " controller.service.nodePorts.https"
31
+ value = " 30443"
32
+ }
28
33
}
You can’t perform that action at this time.
0 commit comments