Skip to content

Commit

Permalink
Update smee flags for the latest version bump (#9080)
Browse files Browse the repository at this point in the history
Signed-off-by: EKS Distro PR Bot <aws-model-rocket-bots+eksdistroprbot@amazon.com>
Co-authored-by: EKS Distro PR Bot <aws-model-rocket-bots+eksdistroprbot@amazon.com>
  • Loading branch information
rahulbabu95 and eks-distro-pr-bot authored Dec 15, 2024
1 parent 92985cc commit f3c0828
Show file tree
Hide file tree
Showing 16 changed files with 26 additions and 3 deletions.
11 changes: 8 additions & 3 deletions pkg/providers/tinkerbell/stack/stack.go
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,11 @@ func (s *Installer) installBootsOnDocker(ctx context.Context, bundle releasev1al
flags := []string{
"-v", fmt.Sprintf("%s:/kubeconfig", kubeconfig),
"--network", "host",
"-e", fmt.Sprintf("PUBLIC_IP=%s", tinkServerIP),
"-e", fmt.Sprintf("SMEE_DHCP_SYSLOG_IP=%s", tinkServerIP),
"-e", fmt.Sprintf("SMEE_DHCP_IP_FOR_PACKET=%s", tinkServerIP),
"-e", fmt.Sprintf("SMEE_DHCP_TFTP_IP=%s", tinkServerIP),
"-e", fmt.Sprintf("SMEE_DHCP_HTTP_IPXE_BINARY_HOST=%s", tinkServerIP),
"-e", fmt.Sprintf("SMEE_DHCP_HTTP_IPXE_SCRIPT_HOST=%s", tinkServerIP),
"-e", fmt.Sprintf("PUBLIC_SYSLOG_IP=%s", tinkServerIP),
"-e", fmt.Sprintf("BOOTS_KUBE_NAMESPACE=%v", s.namespace),
}
Expand Down Expand Up @@ -542,8 +546,9 @@ func (s *Installer) createValuesOverride(bundle releasev1alpha1.TinkerbellBundle
},
"http": map[string]interface{}{
"tinkServer": map[string]interface{}{
"ip": tinkerbellIP,
port: grpcPort,
"ip": tinkerbellIP,
port: grpcPort,
"insecureTLS": true,
},
"osieUrl": map[string]interface{}{
"scheme": osiePath.Scheme,
Expand Down
4 changes: 4 additions & 0 deletions pkg/providers/tinkerbell/stack/stack_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,10 @@ func TestTinkerbellStackInstallWithDifferentOptions(t *testing.T) {
"-e", gomock.Any(),
"-e", gomock.Any(),
"-e", gomock.Any(),
"-e", gomock.Any(),
"-e", gomock.Any(),
"-e", gomock.Any(),
"-e", gomock.Any(),
)
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ smee:
tinkServer:
ip: 1.2.3.4
port: "42113"
insecureTLS: true
image: public.ecr.aws/eks-anywhere/boots:latest
publicIP: 1.2.3.4
tinkWorkerImage: public.ecr.aws/eks-anywhere/tink-worker:latest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ smee:
tinkServer:
ip: 1.2.3.4
port: "42113"
insecureTLS: true
image: public.ecr.aws/eks-anywhere/boots:latest
publicIP: 1.2.3.4
tinkWorkerImage: public.ecr.aws/eks-anywhere/tink-worker:latest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ smee:
tinkServer:
ip: 1.2.3.4
port: "42113"
insecureTLS: true
image: public.ecr.aws/eks-anywhere/boots:latest
publicIP: 1.2.3.4
tinkWorkerImage: public.ecr.aws/eks-anywhere/tink-worker:latest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ smee:
tinkServer:
ip: 1.2.3.4
port: "42113"
insecureTLS: true
image: public.ecr.aws/eks-anywhere/boots:latest
publicIP: 1.2.3.4
tinkWorkerImage: public.ecr.aws/eks-anywhere/tink-worker:latest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ smee:
tinkServer:
ip: 1.2.3.4
port: "42113"
insecureTLS: true
image: public.ecr.aws/eks-anywhere/boots:latest
publicIP: 1.2.3.4
tinkWorkerImage: public.ecr.aws/eks-anywhere/tink-worker:latest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ smee:
tinkServer:
ip: 1.2.3.4
port: "42113"
insecureTLS: true
image: public.ecr.aws/eks-anywhere/boots:latest
publicIP: 1.2.3.4
tinkWorkerImage: public.ecr.aws/eks-anywhere/tink-worker:latest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ smee:
tinkServer:
ip: 1.2.3.4
port: "42113"
insecureTLS: true
image: public.ecr.aws/eks-anywhere/boots:latest
publicIP: 1.2.3.4
tinkWorkerImage: public.ecr.aws/eks-anywhere/tink-worker:latest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ smee:
tinkServer:
ip: 1.2.3.4
port: "42113"
insecureTLS: true
image: public.ecr.aws/eks-anywhere/boots:latest
publicIP: 1.2.3.4
tinkWorkerImage: public.ecr.aws/eks-anywhere/tink-worker:latest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ smee:
tinkServer:
ip: 1.2.3.4
port: "42113"
insecureTLS: true
image: public.ecr.aws/eks-anywhere/boots:latest
publicIP: 1.2.3.4
tinkWorkerImage: public.ecr.aws/eks-anywhere/tink-worker:latest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ smee:
tinkServer:
ip: 1.2.3.4
port: "42113"
insecureTLS: true
image: public.ecr.aws/eks-anywhere/boots:latest
publicIP: 1.2.3.4
tinkWorkerImage: public.ecr.aws/eks-anywhere/tink-worker:latest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ smee:
tinkServer:
ip: 1.2.3.4
port: "42113"
insecureTLS: true
image: public.ecr.aws/eks-anywhere/boots:latest
publicIP: 1.2.3.4
tinkWorkerImage: public.ecr.aws/eks-anywhere/tink-worker:latest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ smee:
tinkServer:
ip: 1.2.3.4
port: "42113"
insecureTLS: true
image: public.ecr.aws/eks-anywhere/boots:latest
publicIP: 1.2.3.4
tinkWorkerImage: public.ecr.aws/eks-anywhere/tink-worker:latest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ smee:
tinkServer:
ip: 1.2.3.4
port: "42113"
insecureTLS: true
image: public.ecr.aws/eks-anywhere/boots:latest
publicIP: 1.2.3.4
tinkWorkerImage: public.ecr.aws/eks-anywhere/tink-worker:latest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ smee:
tinkServer:
ip: 1.2.3.4
port: "42113"
insecureTLS: true
image: public.ecr.aws/eks-anywhere/boots:latest
publicIP: 1.2.3.4
tinkWorkerImage: 1.2.3.4:443/custom/eks-anywhere/tink-worker:latest
Expand Down

0 comments on commit f3c0828

Please sign in to comment.