Skip to content

Commit 63b60ac

Browse files
authored
Merge pull request #301 from jumppad-labs/b-utf8-dnsnames
Sanitize utf8 characters in dns names
2 parents a74ceee + 7e10fa5 commit 63b60ac

File tree

10 files changed

+30
-108
lines changed

10 files changed

+30
-108
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ resource "k8s_cluster" "k3s" {
5151
}
5252
5353
copy_image {
54-
name = "shipyardrun/connector:v0.1.0"
54+
name = "ghcr.io/jumppad-labs/connector:v0.4.0"
5555
}
5656
}
5757

cmd/server_run.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ func newConnectorRunCommand() *cobra.Command {
102102

103103
// start the http server in the background
104104
l.Info("Starting HTTP server", "bind_addr", httpBindAddr)
105-
httpS := http.NewLocalServer(pathCertRoot, pathCertServer, pathKeyServer, grpcBindAddr, httpBindAddr, logger.LoggerAsHCLogger(l))
105+
httpS := http.NewLocalServer(pathCertRoot, "", pathCertServer, pathKeyServer, grpcBindAddr, httpBindAddr, logger.LoggerAsHCLogger(l))
106106

107107
err = httpS.Serve()
108108
l.Info("Started")

examples/modules/modules/single_k3s_cluster/k8s.hcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ resource "k8s_cluster" "k3s" {
44
}
55

66
copy_image {
7-
name = "shipyardrun/connector:v0.1.0"
7+
name = "ghcr.io/jumppad-labs/connector:v0.4.0"
88
}
99
}
1010

examples/remote/connector_config/connector.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ spec:
1616
spec:
1717
containers:
1818
- name: connector
19-
image: shipyardrun/connector:v0.0.1
19+
image: ghcr.io/jumppad-labs/connector:v0.4.0
2020
env:
2121
- name: BIND_ADDR_GRPC
2222
value: "0.0.0.0:30000"

examples/remote/remote_k8s.hcl

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,39 +6,39 @@ container "remote_k8s" {
66
command = "terraform apply -auto-approve"
77

88
volume {
9-
source = "${data("/terraform/.state/")}"
9+
source = "${data("/terraform/.state/")}"
1010
destination = "/terraform"
1111
}
12-
12+
1313
volume {
14-
source = "./modules/k8s_doks"
14+
source = "./modules/k8s_doks"
1515
destination = "/terraform"
1616
}
17-
17+
1818
volume {
19-
source = "${shipyard()}/.config/doks"
19+
source = "${shipyard()}/.config/doks"
2020
destination = "/terraform/kubeconfig.yaml"
2121
}
2222
}
2323

2424
container "local_connector" {
2525
image {
26-
name = "shipyardrun/connector:v0.0.1"
26+
name = "ghcr.io/jumppad-labs/connector:v0.4.0"
2727
}
2828

2929
env_var = {
30-
"BIND_ADDR_GRPC": "0.0.0.0:9090"
31-
"BIND_ADDR_HTTP": "0.0.0.0:9091"
32-
"LOG_LEVEL": "debug"
30+
"BIND_ADDR_GRPC" : "0.0.0.0:9090"
31+
"BIND_ADDR_HTTP" : "0.0.0.0:9091"
32+
"LOG_LEVEL" : "debug"
3333
}
34-
34+
3535
port_range {
36-
range = "9090-9091"
36+
range = "9090-9091"
3737
enable_host = true
3838
}
3939

4040
port_range {
41-
range = "12000-12100"
41+
range = "12000-12100"
4242
enable_host = true
4343
}
4444

examples/single_k3s_cluster/k8s.hcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ resource "k8s_cluster" "k3s" {
44
}
55

66
copy_image {
7-
name = "shipyardrun/connector:v0.1.0"
7+
name = "ghcr.io/jumppad-labs/connector:v0.4.0"
88
}
99
}
1010

go.mod

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ require (
3434
github.com/hashicorp/hcl/v2 v2.21.0
3535
github.com/hokaccha/go-prettyjson v0.0.0-20211117102719-0474bc63780f
3636
github.com/infinytum/raymond/v2 v2.0.5
37-
github.com/jumppad-labs/connector v0.3.0
37+
github.com/jumppad-labs/connector v0.4.0
3838
github.com/jumppad-labs/gohup v0.4.0
3939
github.com/jumppad-labs/hclconfig v0.24.0
4040
github.com/jumppad-labs/plugin-sdk v0.1.1-0.20240306185853-c09f71f81b8a
@@ -70,7 +70,6 @@ require (
7070
cloud.google.com/go v0.115.0 // indirect
7171
cloud.google.com/go/auth v0.7.3 // indirect
7272
cloud.google.com/go/auth/oauth2adapt v0.2.3 // indirect
73-
cloud.google.com/go/compute v1.27.4 // indirect
7473
cloud.google.com/go/compute/metadata v0.5.0 // indirect
7574
cloud.google.com/go/iam v1.1.12 // indirect
7675
cloud.google.com/go/storage v1.43.0 // indirect
@@ -236,7 +235,6 @@ require (
236235
golang.org/x/time v0.6.0 // indirect
237236
golang.org/x/tools v0.24.0 // indirect
238237
google.golang.org/api v0.190.0 // indirect
239-
google.golang.org/appengine v1.6.8 // indirect
240238
google.golang.org/genproto v0.0.0-20240805194559-2c9e96a0b5d4 // indirect
241239
google.golang.org/genproto/googleapis/api v0.0.0-20240805194559-2c9e96a0b5d4 // indirect
242240
google.golang.org/genproto/googleapis/rpc v0.0.0-20240805194559-2c9e96a0b5d4 // indirect

go.sum

Lines changed: 10 additions & 86 deletions
Large diffs are not rendered by default.

pkg/config/resources/k8s/provider_cluster.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -927,7 +927,7 @@ spec:
927927
containers:
928928
- name: connector
929929
imagePullPolicy: IfNotPresent
930-
image: ghcr.io/jumppad-labs/connector:v0.2.1
930+
image: ghcr.io/jumppad-labs/connector:v0.4.0
931931
ports:
932932
- name: grpc
933933
containerPort: 60000

pkg/config/resources/nomad/provider_cluster.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1053,7 +1053,7 @@ job "connector" {
10531053
}
10541054
10551055
config {
1056-
image = "ghcr.io/jumppad-labs/connector:v0.2.1"
1056+
image = "ghcr.io/jumppad-labs/connector:v0.4.0"
10571057
10581058
ports = ["http", "grpc"]
10591059
command = "/connector"

0 commit comments

Comments
 (0)