Skip to content

Commit

Permalink
Upgrade Teleport (#1085)
Browse files Browse the repository at this point in the history
* Upgrade Teleport

* Upgrade Teleport chart version
  • Loading branch information
andrleite authored Nov 11, 2024
1 parent eee2cd6 commit 83813a7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions internal/api/request_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func TestNewCreateClusterRequestFromReader(t *testing.T) {
"nginx-internal": {Chart: "4.11.1", ValuesPath: ""},
"prometheus-operator": {Chart: "54.2.2", ValuesPath: ""},
"thanos": {Chart: "13.2.2", ValuesPath: ""},
"teleport": {Chart: "10.3.16", ValuesPath: ""},
"teleport": {Chart: "12.4.34", ValuesPath: ""},
"pgbouncer": {Chart: "1.2.1", ValuesPath: ""},
"promtail": {Chart: "6.15.5", ValuesPath: ""},
"rtcd": {Chart: "1.3.0", ValuesPath: ""},
Expand Down Expand Up @@ -104,7 +104,7 @@ func TestNewCreateClusterRequestFromReader(t *testing.T) {
"nginx-internal": {Chart: "4.11.1", ValuesPath: ""},
"prometheus-operator": {Chart: "54.2.2", ValuesPath: ""},
"thanos": {Chart: "13.2.2", ValuesPath: ""},
"teleport": {Chart: "10.3.16", ValuesPath: ""},
"teleport": {Chart: "12.4.34", ValuesPath: ""},
"pgbouncer": {Chart: "1.2.1", ValuesPath: ""},
"promtail": {Chart: "6.15.5", ValuesPath: ""},
"rtcd": {Chart: "1.3.0", ValuesPath: ""},
Expand Down
2 changes: 1 addition & 1 deletion model/cluster_utility.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ var DefaultUtilityVersions map[string]*HelmUtilityVersion = map[string]*HelmUtil
// FluentbitCanonicalName defines the default version and values path for the Helm chart
FluentbitCanonicalName: {Chart: "0.31.0", ValuesPath: ""},
// TeleportCanonicalName defines the default version and values path for the Helm chart
TeleportCanonicalName: {Chart: "10.3.16", ValuesPath: ""},
TeleportCanonicalName: {Chart: "12.4.34", ValuesPath: ""},
// PgbouncerCanonicalName defines the default version and values path for the Helm chart
PgbouncerCanonicalName: {Chart: "1.2.1", ValuesPath: ""},
// PromtailCanonicalName defines the default version and values path for the Helm chart
Expand Down
6 changes: 3 additions & 3 deletions model/cluster_utility_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ func TestGetActualVersion(t *testing.T) {
Thanos: &HelmUtilityVersion{Chart: "thanos-2.4"},
Nginx: &HelmUtilityVersion{Chart: "nginx-10.2"},
Fluentbit: &HelmUtilityVersion{Chart: "fluent-bit-0.9"},
Teleport: &HelmUtilityVersion{Chart: "teleport-kube-agent-10.3.16"},
Teleport: &HelmUtilityVersion{Chart: "teleport-kube-agent-12.4.34"},
Pgbouncer: &HelmUtilityVersion{Chart: "pgbouncer-1.2.1"},
Promtail: &HelmUtilityVersion{Chart: "promtail-6.15.5"},
Rtcd: &HelmUtilityVersion{Chart: "rtcd-1.3.0"},
Expand All @@ -173,7 +173,7 @@ func TestGetActualVersion(t *testing.T) {
assert.Equal(t, &HelmUtilityVersion{Chart: "fluent-bit-0.9"}, version)

version = c.ActualUtilityVersion(TeleportCanonicalName)
assert.Equal(t, &HelmUtilityVersion{Chart: "teleport-kube-agent-10.3.16"}, version)
assert.Equal(t, &HelmUtilityVersion{Chart: "teleport-kube-agent-12.4.34"}, version)

version = c.ActualUtilityVersion(PgbouncerCanonicalName)
assert.Equal(t, &HelmUtilityVersion{Chart: "pgbouncer-1.2.1"}, version)
Expand Down Expand Up @@ -222,7 +222,7 @@ func TestGetDesiredVersion(t *testing.T) {
Thanos: &HelmUtilityVersion{Chart: "thanos-2.4"},
Nginx: &HelmUtilityVersion{Chart: "nginx-10.2"},
Fluentbit: &HelmUtilityVersion{Chart: "fluent-bit-0.9"},
Teleport: &HelmUtilityVersion{Chart: "teleport-kube-agent-10.3.16"},
Teleport: &HelmUtilityVersion{Chart: "teleport-kube-agent-12.4.34"},
Pgbouncer: &HelmUtilityVersion{Chart: "pgbouncer-1.2.1"},
Promtail: &HelmUtilityVersion{Chart: "promtail-6.15.5"},
Rtcd: &HelmUtilityVersion{Chart: "rtcd-1.3.0"},
Expand Down

0 comments on commit 83813a7

Please sign in to comment.