From 9776385dc7d8027a71d40433a3bdaf7421cdc347 Mon Sep 17 00:00:00 2001 From: Josh Robson Chase Date: Fri, 29 Mar 2024 10:51:43 -0400 Subject: [PATCH 1/3] helm: bump to version 0.12.4 --- CHANGELOG.md | 6 ++++++ VERSION | 2 +- helm/ingress-controller/CHANGELOG.md | 6 ++++++ helm/ingress-controller/Chart.yaml | 4 ++-- .../controller-deployment_test.yaml.snap | 12 ++++++------ .../tests/__snapshot__/controller-pdb_test.yaml.snap | 4 ++-- .../controller-serviceaccount_test.yaml.snap | 4 ++-- .../tests/__snapshot__/ingress-class_test.yaml.snap | 4 ++-- 8 files changed, 27 insertions(+), 15 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8494321f..c0dde4cb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## 0.10.4 + +- Add the `--api-url` option + This can be used to set the endpoint for the ngrok API. + It can be set through via the helm `apiURL` value. + ## 0.10.3 ### Added diff --git a/VERSION b/VERSION index a3f5a8ed..9b40aa6c 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.10.3 +0.10.4 diff --git a/helm/ingress-controller/CHANGELOG.md b/helm/ingress-controller/CHANGELOG.md index 15933ebe..12a0debb 100644 --- a/helm/ingress-controller/CHANGELOG.md +++ b/helm/ingress-controller/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## 0.12.4 + +- Add the `apiURL` value. + This sets the ngrok API endpoint used by the controller. + It corresponds to the `--api-url` argument to the manager binary. + ## 0.12.1 - Update to version 0.10.1 of the ingress controller, which includes: diff --git a/helm/ingress-controller/Chart.yaml b/helm/ingress-controller/Chart.yaml index 0e789afd..f33300fa 100644 --- a/helm/ingress-controller/Chart.yaml +++ b/helm/ingress-controller/Chart.yaml @@ -1,8 +1,8 @@ apiVersion: v2 name: kubernetes-ingress-controller description: A Kubernetes ingress controller built using ngrok. -version: 0.12.3 -appVersion: 0.10.3 +version: 0.12.4 +appVersion: 0.10.4 keywords: - ngrok - networking diff --git a/helm/ingress-controller/tests/__snapshot__/controller-deployment_test.yaml.snap b/helm/ingress-controller/tests/__snapshot__/controller-deployment_test.yaml.snap index 31cae16f..eef354d3 100644 --- a/helm/ingress-controller/tests/__snapshot__/controller-deployment_test.yaml.snap +++ b/helm/ingress-controller/tests/__snapshot__/controller-deployment_test.yaml.snap @@ -12,8 +12,8 @@ Should match all-options snapshot: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: kubernetes-ingress-controller app.kubernetes.io/part-of: kubernetes-ingress-controller - app.kubernetes.io/version: 0.10.3 - helm.sh/chart: kubernetes-ingress-controller-0.12.3 + app.kubernetes.io/version: 0.10.4 + helm.sh/chart: kubernetes-ingress-controller-0.12.4 name: RELEASE-NAME-kubernetes-ingress-controller-manager namespace: NAMESPACE spec: @@ -84,7 +84,7 @@ Should match all-options snapshot: value: test-value - name: TEST_ENV_VAR value: test - image: docker.io/ngrok/kubernetes-ingress-controller:0.10.3 + image: docker.io/ngrok/kubernetes-ingress-controller:0.10.4 imagePullPolicy: IfNotPresent livenessProbe: httpGet: @@ -515,8 +515,8 @@ Should match default snapshot: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: kubernetes-ingress-controller app.kubernetes.io/part-of: kubernetes-ingress-controller - app.kubernetes.io/version: 0.10.3 - helm.sh/chart: kubernetes-ingress-controller-0.12.3 + app.kubernetes.io/version: 0.10.4 + helm.sh/chart: kubernetes-ingress-controller-0.12.4 name: RELEASE-NAME-kubernetes-ingress-controller-manager namespace: NAMESPACE spec: @@ -580,7 +580,7 @@ Should match default snapshot: valueFrom: fieldRef: fieldPath: metadata.namespace - image: docker.io/ngrok/kubernetes-ingress-controller:0.10.3 + image: docker.io/ngrok/kubernetes-ingress-controller:0.10.4 imagePullPolicy: IfNotPresent livenessProbe: httpGet: diff --git a/helm/ingress-controller/tests/__snapshot__/controller-pdb_test.yaml.snap b/helm/ingress-controller/tests/__snapshot__/controller-pdb_test.yaml.snap index 8e660776..b66a136e 100644 --- a/helm/ingress-controller/tests/__snapshot__/controller-pdb_test.yaml.snap +++ b/helm/ingress-controller/tests/__snapshot__/controller-pdb_test.yaml.snap @@ -9,8 +9,8 @@ should match snapshot: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: kubernetes-ingress-controller app.kubernetes.io/part-of: kubernetes-ingress-controller - app.kubernetes.io/version: 0.10.3 - helm.sh/chart: kubernetes-ingress-controller-0.12.3 + app.kubernetes.io/version: 0.10.4 + helm.sh/chart: kubernetes-ingress-controller-0.12.4 name: test-release-kubernetes-ingress-controller-controller-pdb namespace: test-namespace spec: diff --git a/helm/ingress-controller/tests/__snapshot__/controller-serviceaccount_test.yaml.snap b/helm/ingress-controller/tests/__snapshot__/controller-serviceaccount_test.yaml.snap index 475c8ce4..a9365fed 100644 --- a/helm/ingress-controller/tests/__snapshot__/controller-serviceaccount_test.yaml.snap +++ b/helm/ingress-controller/tests/__snapshot__/controller-serviceaccount_test.yaml.snap @@ -9,7 +9,7 @@ Should match the snapshot: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: kubernetes-ingress-controller app.kubernetes.io/part-of: kubernetes-ingress-controller - app.kubernetes.io/version: 0.10.3 - helm.sh/chart: kubernetes-ingress-controller-0.12.3 + app.kubernetes.io/version: 0.10.4 + helm.sh/chart: kubernetes-ingress-controller-0.12.4 name: test-release-kubernetes-ingress-controller namespace: test-namespace diff --git a/helm/ingress-controller/tests/__snapshot__/ingress-class_test.yaml.snap b/helm/ingress-controller/tests/__snapshot__/ingress-class_test.yaml.snap index e223c752..360040ed 100644 --- a/helm/ingress-controller/tests/__snapshot__/ingress-class_test.yaml.snap +++ b/helm/ingress-controller/tests/__snapshot__/ingress-class_test.yaml.snap @@ -9,8 +9,8 @@ Should match snapshot: app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: kubernetes-ingress-controller app.kubernetes.io/part-of: kubernetes-ingress-controller - app.kubernetes.io/version: 0.10.3 - helm.sh/chart: kubernetes-ingress-controller-0.12.3 + app.kubernetes.io/version: 0.10.4 + helm.sh/chart: kubernetes-ingress-controller-0.12.4 name: ngrok spec: controller: k8s.ngrok.com/ingress-controller From 93665d837bba294ac2fd54e58c2b49d16f63566a Mon Sep 17 00:00:00 2001 From: Josh Robson Chase Date: Fri, 19 Apr 2024 11:06:29 -0400 Subject: [PATCH 2/3] Update CHANGELOG.md Co-authored-by: Oz --- CHANGELOG.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index c0dde4cb..b95415a2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,9 +7,25 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## 0.10.4 +### Added + - Add the `--api-url` option This can be used to set the endpoint for the ngrok API. It can be set through via the helm `apiURL` value. +- Set metadata for edges created by the gateway +- Add gateway to client info comment + +### Changed + +- Controller will now start without having session established. Any operations + that require tunnels will return error, while it is trying to create a session. + Its ready and health checks now depend on the status of this session - `ready` + will not return `ok` until connection was established, and `health` check will + return error if this connection had authentication issues. + +### Fixed + +- Search for backend service using the `HTTPRoute` namepace ## 0.10.3 From 01aca0b96f0b151be536bd855e7a3e9049a7590b Mon Sep 17 00:00:00 2001 From: Josh Robson Chase Date: Fri, 19 Apr 2024 11:09:23 -0400 Subject: [PATCH 3/3] Cross-link changelog entries --- helm/ingress-controller/CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/helm/ingress-controller/CHANGELOG.md b/helm/ingress-controller/CHANGELOG.md index 12a0debb..3bd8d855 100644 --- a/helm/ingress-controller/CHANGELOG.md +++ b/helm/ingress-controller/CHANGELOG.md @@ -11,6 +11,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 This sets the ngrok API endpoint used by the controller. It corresponds to the `--api-url` argument to the manager binary. +- Update to version 0.10.4 of the ingress controller. + See its changes [here](../../CHANGELOG.md#0104). + ## 0.12.1 - Update to version 0.10.1 of the ingress controller, which includes: