This repository was archived by the owner on Jan 8, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -9,13 +9,14 @@ import (
99 "time"
1010
1111 "github.com/hashicorp/go-hclog"
12- "github.com/hashicorp/waypoint-plugin-sdk/terminal"
13- "github.com/hashicorp/waypoint/internal/clierrors"
1412 metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
1513 "k8s.io/apimachinery/pkg/util/wait"
1614 "k8s.io/apimachinery/pkg/watch"
1715 "k8s.io/client-go/kubernetes"
1816 "k8s.io/client-go/tools/clientcmd"
17+
18+ "github.com/hashicorp/waypoint-plugin-sdk/terminal"
19+ "github.com/hashicorp/waypoint/internal/clierrors"
1920)
2021
2122type K8sConfig struct {
@@ -26,7 +27,7 @@ type K8sConfig struct {
2627 RunnerImage string `hcl:"runner_image,optional"`
2728 CpuRequest string `hcl:"runner_cpu_request,optional"`
2829 MemRequest string `hcl:"runner_mem_request,optional"`
29- CreateServiceAccount bool `hcl:"odr_service_account_init ,optional"`
30+ CreateServiceAccount bool `hcl:"create_service_account ,optional"`
3031 OdrImage string `hcl:"odr_image"`
3132
3233 // Required for backwards compatibility
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ type NomadConfig struct {
3434
3535 RunnerImage string `hcl:"runner_image,optional"`
3636
37- Region string `hcl:"namespace ,optional"`
37+ Region string `hcl:"region ,optional"`
3838 Datacenters []string `hcl:"datacenters,optional"`
3939 PolicyOverride bool `hcl:"policy_override,optional"`
4040
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ type nomadConfig struct {
5454 consulServiceUITags []string `hcl:"consul_service_ui_tags:optional"`
5555 consulServiceBackendTags []string `hcl:"consul_service_backend_tags:optional"`
5656 consulDatacenter string `hcl:"consul_datacenter,optional"`
57- consulDomain string `hcl:"consul_datacenter ,optional"`
57+ consulDomain string `hcl:"consul_domain ,optional"`
5858 consulToken string `hcl:"consul_token,optional"`
5959
6060 // If set along with consul, will use this hostname instead of
@@ -63,7 +63,7 @@ type nomadConfig struct {
6363
6464 odrImage string `hcl:"odr_image,optional"`
6565
66- region string `hcl:"namespace ,optional"`
66+ region string `hcl:"region ,optional"`
6767 datacenters []string `hcl:"datacenters,optional"`
6868 policyOverride bool `hcl:"policy_override,optional"`
6969
You can’t perform that action at this time.
0 commit comments