diff --git a/CHANGELOG.md b/CHANGELOG.md index 3f896af13..7c5410ce0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ ## UNRELEASED +IMPROVEMENTS: + +* go: build with Go 1.18 [[GH-167](https://github.com/hashicorp/consul-api-gateway/issues/167)] + +BUG FIXES: + +* k8s/reconciler: gateway addresses have invalid empty string when LoadBalancer services use a hostname for ExternalIP (like EKS) [[GH-187](https://github.com/hashicorp/consul-api-gateway/issues/187)] + ## 0.2.0 (April 27, 2022) BREAKING CHANGES: diff --git a/config/deployment/deployment.yaml b/config/deployment/deployment.yaml index ab57079da..265f1cfd9 100644 --- a/config/deployment/deployment.yaml +++ b/config/deployment/deployment.yaml @@ -20,7 +20,7 @@ spec: spec: serviceAccountName: consul-api-gateway-controller containers: - - image: hashicorp/consul-api-gateway:0.2.0 + - image: hashicorp/consul-api-gateway:0.2.1 command: ["consul-api-gateway", "server", "-consul-address", "$(HOST_IP):8501", "-ca-file", "/ca/tls.crt", "-sds-server-host", "$(IP)", "-k8s-namespace", "$(CONSUL_K8S_NAMESPACE)", "-log-level", "$(LOG_LEVEL)"] name: consul-api-gateway-controller ports: diff --git a/dev/docs/example-setup.md b/dev/docs/example-setup.md index e38064d1f..48dea6f8a 100644 --- a/dev/docs/example-setup.md +++ b/dev/docs/example-setup.md @@ -72,8 +72,8 @@ We have provided a set of `kustomize` manifests for installing the Consul API Ga Apply them to your cluster using the following commands. ```bash -kubectl apply -k "github.com/hashicorp/consul-api-gateway/config/crd?ref=v0.2.0" -kubectl apply -k "github.com/hashicorp/consul-api-gateway/config?ref=v0.2.0" +kubectl apply -k "github.com/hashicorp/consul-api-gateway/config/crd?ref=v0.2.1" +kubectl apply -k "github.com/hashicorp/consul-api-gateway/config?ref=v0.2.1" ``` ## Installing the demo Gateway and Mesh Service @@ -116,7 +116,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: -- github.com/hashicorp/consul-api-gateway/config/example?ref=v0.2.0 +- github.com/hashicorp/consul-api-gateway/config/example?ref=v0.2.1 patches: - target: diff --git a/internal/k8s/builder/testdata/clusterip.deployment.golden.yaml b/internal/k8s/builder/testdata/clusterip.deployment.golden.yaml index 7dce2c3fc..0ab2ee669 100644 --- a/internal/k8s/builder/testdata/clusterip.deployment.golden.yaml +++ b/internal/k8s/builder/testdata/clusterip.deployment.golden.yaml @@ -79,7 +79,7 @@ spec: - cp - /bin/consul-api-gateway - /bootstrap/consul-api-gateway - image: hashicorp/consul-api-gateway:0.2.0 + image: hashicorp/consul-api-gateway:0.2.1 name: consul-api-gateway-init resources: {} volumeMounts: diff --git a/internal/k8s/builder/testdata/loadbalancer.deployment.golden.yaml b/internal/k8s/builder/testdata/loadbalancer.deployment.golden.yaml index 3f95ab414..b466b8233 100644 --- a/internal/k8s/builder/testdata/loadbalancer.deployment.golden.yaml +++ b/internal/k8s/builder/testdata/loadbalancer.deployment.golden.yaml @@ -79,7 +79,7 @@ spec: - cp - /bin/consul-api-gateway - /bootstrap/consul-api-gateway - image: hashicorp/consul-api-gateway:0.2.0 + image: hashicorp/consul-api-gateway:0.2.1 name: consul-api-gateway-init resources: {} volumeMounts: diff --git a/internal/k8s/builder/testdata/static-mapping.deployment.golden.yaml b/internal/k8s/builder/testdata/static-mapping.deployment.golden.yaml index cc9979351..45be6ee36 100644 --- a/internal/k8s/builder/testdata/static-mapping.deployment.golden.yaml +++ b/internal/k8s/builder/testdata/static-mapping.deployment.golden.yaml @@ -82,7 +82,7 @@ spec: - cp - /bin/consul-api-gateway - /bootstrap/consul-api-gateway - image: hashicorp/consul-api-gateway:0.2.0 + image: hashicorp/consul-api-gateway:0.2.1 name: consul-api-gateway-init resources: {} volumeMounts: diff --git a/internal/k8s/builder/testdata/tls-cert.deployment.golden.yaml b/internal/k8s/builder/testdata/tls-cert.deployment.golden.yaml index 8a6574c1e..1739e0ea7 100644 --- a/internal/k8s/builder/testdata/tls-cert.deployment.golden.yaml +++ b/internal/k8s/builder/testdata/tls-cert.deployment.golden.yaml @@ -82,7 +82,7 @@ spec: - cp - /bin/consul-api-gateway - /bootstrap/consul-api-gateway - image: hashicorp/consul-api-gateway:0.2.0 + image: hashicorp/consul-api-gateway:0.2.1 name: consul-api-gateway-init resources: {} volumeMounts: diff --git a/internal/version/version.go b/internal/version/version.go index 063c4d26e..826d4df8a 100644 --- a/internal/version/version.go +++ b/internal/version/version.go @@ -14,7 +14,7 @@ var ( // // Version must conform to the format expected by // github.com/hashicorp/go-version for tests to work. - Version = "0.2.0" + Version = "0.2.1" // A pre-release marker for the version. If this is "" (empty string) // then it means that it is a final release. Otherwise, this is a pre-release