diff --git a/CHANGELOG.md b/CHANGELOG.md index fa0a0f4d906fe..0bf543c91576d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,128 @@ # Changelog +## 15.2.0 (03/29/24) + +### Improved Access Requests UI + +The access requests page of the web UI will be backed by a paginated API, +ensuring fast load times even on clusters with many access requests. + +Additionally, the UI allows you to search for access requests, sort them based +on various attributes, and includes several new filtering options. + +### Zero-downtime web asset rollout + +Teleport 15.2 changes the way that web assets are served and cached, which will +allow multiple compatible versions of the Teleport Proxy to run behind the same +load balancer. + +### Workload Identity MVP + +With Teleport 15.2, Machine ID can bootstrap and issue identity to services +across multiple computing environments and organizational boundaries. Workload +Identity issues SPIFFE-compatible x509 certificates that can be used for mTLS +between services. + +### Support for Kubernetes 1.29+ + +The Kubernetes project is deprecating the SPDY protocol for streaming commands +(kubectl exec, kubectl port-forward, etc) and replacing it with a new +websocket-based subprotocol. Teleport 15.2.0 will support the new protocol to +ensure compatibility with newer Kubernetes clusters. + +### Automatic database access requests + +Both tsh db connect and tsh proxy db will offer the option to submit an access +request if the user attempts to connect to a database that they don't already +have access to. + +### GCP console access via Workforce Identity Federation + +Teleport administrators will be able to setup access to GCP web console through +Workforce Identity Federation using Teleport as a SAML identity provider. + +### IaC support for OpenSSH nodes + +Users will be able to register OpenSSH nodes in the cluster using Terraform and +Kubernetes Operator. + +### Access requests start time + +Users submitting access requests via web UI will be able to request specific +access start time up to a week in advance. + +### Terraform and Operator support for agentless SSH nodes + +The Teleport Terraform provider and Kubernetes operator now support declaring +agentless OpenSSH and OpenSSH EC2 ICE servers. You can follow [this +guide](docs/pages/management/dynamic-resources/agentless-ssh-servers.mdx) +to register OpenSSH agents with infrastructure as code. + +Setting up EC2 ICE automatic discovery with IaC will come in a future update. + +### Operator and CRDs can be deployed separately + +The `teleport-operator` and `teleport-cluster` charts now support deploying only +the CRD, the CRD and the operator, or only the operator. + +From the `teleport-cluster` Helm chart: + +```yaml +operator: + enabled: true|false + installCRDs: always|never|dynamic +``` + +From the `teleport-operator` Helm chart: + +```yaml +enabled: true|false +installCRDs: always|never|dynamic +``` + +In dynamic mode (by default), the chart will install CRDs if the operator is +enabled, but will not remove the CRDs if you temporarily disable the operator. + +### Operator now propagates labels + +Kubernetes CR labels are now copied to the Teleport resource when applicable. +This allows you to configure RBAC for operator-created resources, and to filter +Teleport resources more easily. + +### Terraform provider no longer forces resource re-creation on version change + +Teleport v15 introduced two Terraform provider changes: +- setting the resource version is now mandatory +- a resource version change triggers the resource re-creation to ensure defaults + were correctly set + +The second change was too disruptive, especially for roles, as they cannot be +deleted if a user or an access list references them. Teleport 15.2 lifts this +restriction and allows version change without forcing the resource deletion. + +Another change to ensure resource defaults are correctly set during version +upgrades will happen in v16. + +### Other improvements and fixes + +* Fixed "Invalid URI" error in Teleport Connect when starting mongosh from database connection tab. [#40033](https://github.com/gravitational/teleport/pull/40033) +* Adds support for easily exporting the SPIFFE CA using `tls auth export --type tls-spiffe` and the `/webapi/auth/export` endpoint. [#40007](https://github.com/gravitational/teleport/pull/40007) +* Update Rust to 1.77.0, enable RDP font smoothing. [#39995](https://github.com/gravitational/teleport/pull/39995) +* The role, server and token Teleport operator CRs now display additional information when listed with `kubectl get`. [#39993](https://github.com/gravitational/teleport/pull/39993) +* Improve performance of filtering resources via predicate expressions. [#39972](https://github.com/gravitational/teleport/pull/39972) +* Fixes a bug that prevented CA import when a SPIFFE CA was present. [#39958](https://github.com/gravitational/teleport/pull/39958) +* Fix a verbosity issue that caused the `teleport-kube-agent-updater` to output debug logs by default. [#39953](https://github.com/gravitational/teleport/pull/39953) +* Reduce default Jamf inventory page size, allow custom values to be provided. [#39933](https://github.com/gravitational/teleport/pull/39933) +* AWS IAM Roles are now filterable in the web UI when launching a console app. [#39911](https://github.com/gravitational/teleport/pull/39911) +* The `teleport-cluster` Helm chart now supports using the Amazon Athena event backend. [#39907](https://github.com/gravitational/teleport/pull/39907) +* Correctly show the users allowed logins when accessing leaf resources via the root cluster web UI. [#39887](https://github.com/gravitational/teleport/pull/39887) +* Improve performance of resource filtering via labels and fuzzy search. [#39791](https://github.com/gravitational/teleport/pull/39791) +* Enforce optimistic locking for AuthPreferences, ClusterNetworkingConfig, SessionRecordingConfig. [#39785](https://github.com/gravitational/teleport/pull/39785) +* Fix potential issue with some resources expiry being set to 01/01/1970 instead of never. [#39773](https://github.com/gravitational/teleport/pull/39773) +* Update default access request TTLs to 1 week. [#39509](https://github.com/gravitational/teleport/pull/39509) +* Fixed an issue where creating or updating an access list with Admin MFA would fail in the WebUI. [#3827](https://github.com/gravitational/teleport.e/pull/3827) + + ## 15.1.10 (03/27/24) * Fixed possible phishing links which could result in code execution with install and join scripts. [#39837](https://github.com/gravitational/teleport/pull/39837) diff --git a/Makefile b/Makefile index 42d0ceb38d188..6aec72431a529 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,7 @@ # Stable releases: "1.0.0" # Pre-releases: "1.0.0-alpha.1", "1.0.0-beta.2", "1.0.0-rc.3" # Master/dev branch: "1.0.0-dev" -VERSION=15.1.10 +VERSION=15.2.0 DOCKER_IMAGE ?= teleport diff --git a/api/version.go b/api/version.go index e9c5ec58d6baf..bee15ea730c06 100644 --- a/api/version.go +++ b/api/version.go @@ -3,6 +3,6 @@ package api import "github.com/coreos/go-semver/semver" -const Version = "15.1.10" +const Version = "15.2.0" var SemVersion = semver.New(Version) diff --git a/build.assets/macos/tsh/tsh.app/Contents/Info.plist b/build.assets/macos/tsh/tsh.app/Contents/Info.plist index b63d1a9c26580..fa3d2f1d78ed6 100644 --- a/build.assets/macos/tsh/tsh.app/Contents/Info.plist +++ b/build.assets/macos/tsh/tsh.app/Contents/Info.plist @@ -19,13 +19,13 @@ CFBundlePackageType APPL CFBundleShortVersionString - 15.1.10 + 15.2.0 CFBundleSupportedPlatforms MacOSX CFBundleVersion - 15.1.10 + 15.2.0 DTCompiler com.apple.compilers.llvm.clang.1_0 DTPlatformBuild diff --git a/build.assets/macos/tshdev/tsh.app/Contents/Info.plist b/build.assets/macos/tshdev/tsh.app/Contents/Info.plist index aa479d8234067..8ea2c6d2e9181 100644 --- a/build.assets/macos/tshdev/tsh.app/Contents/Info.plist +++ b/build.assets/macos/tshdev/tsh.app/Contents/Info.plist @@ -17,13 +17,13 @@ CFBundlePackageType APPL CFBundleShortVersionString - 15.1.10 + 15.2.0 CFBundleSupportedPlatforms MacOSX CFBundleVersion - 15.1.10 + 15.2.0 DTCompiler com.apple.compilers.llvm.clang.1_0 DTPlatformBuild diff --git a/e b/e index f24063217d3a9..522c34ee84199 160000 --- a/e +++ b/e @@ -1 +1 @@ -Subproject commit f24063217d3a920c64bb06e1a64190ac14d51373 +Subproject commit 522c34ee84199710cf5813f6b2cf139169a185a9 diff --git a/examples/chart/teleport-cluster/Chart.yaml b/examples/chart/teleport-cluster/Chart.yaml index 8fb57ed1bcbeb..30dfcf12bf5ce 100644 --- a/examples/chart/teleport-cluster/Chart.yaml +++ b/examples/chart/teleport-cluster/Chart.yaml @@ -1,4 +1,4 @@ -.version: &version "15.1.10" +.version: &version "15.2.0" name: teleport-cluster apiVersion: v2 diff --git a/examples/chart/teleport-cluster/charts/teleport-operator/Chart.yaml b/examples/chart/teleport-cluster/charts/teleport-operator/Chart.yaml index b4c8b5b321580..5510bd730e4fb 100644 --- a/examples/chart/teleport-cluster/charts/teleport-operator/Chart.yaml +++ b/examples/chart/teleport-cluster/charts/teleport-operator/Chart.yaml @@ -1,4 +1,4 @@ -.version: &version "15.1.10" +.version: &version "15.2.0" name: teleport-operator apiVersion: v2 diff --git a/examples/chart/teleport-cluster/tests/__snapshot__/auth_deployment_test.yaml.snap b/examples/chart/teleport-cluster/tests/__snapshot__/auth_deployment_test.yaml.snap index 40135c484b158..8c581dac7778b 100644 --- a/examples/chart/teleport-cluster/tests/__snapshot__/auth_deployment_test.yaml.snap +++ b/examples/chart/teleport-cluster/tests/__snapshot__/auth_deployment_test.yaml.snap @@ -8,7 +8,7 @@ - args: - --diag-addr=0.0.0.0:3000 - --apply-on-startup=/etc/teleport/apply-on-startup.yaml - image: public.ecr.aws/gravitational/teleport-distroless:15.1.10 + image: public.ecr.aws/gravitational/teleport-distroless:15.2.0 imagePullPolicy: IfNotPresent lifecycle: preStop: @@ -141,7 +141,7 @@ should set nodeSelector when set in values: - args: - --diag-addr=0.0.0.0:3000 - --apply-on-startup=/etc/teleport/apply-on-startup.yaml - image: public.ecr.aws/gravitational/teleport-distroless:15.1.10 + image: public.ecr.aws/gravitational/teleport-distroless:15.2.0 imagePullPolicy: IfNotPresent lifecycle: preStop: @@ -238,7 +238,7 @@ should set resources when set in values: - args: - --diag-addr=0.0.0.0:3000 - --apply-on-startup=/etc/teleport/apply-on-startup.yaml - image: public.ecr.aws/gravitational/teleport-distroless:15.1.10 + image: public.ecr.aws/gravitational/teleport-distroless:15.2.0 imagePullPolicy: IfNotPresent lifecycle: preStop: @@ -324,7 +324,7 @@ should set securityContext when set in values: - args: - --diag-addr=0.0.0.0:3000 - --apply-on-startup=/etc/teleport/apply-on-startup.yaml - image: public.ecr.aws/gravitational/teleport-distroless:15.1.10 + image: public.ecr.aws/gravitational/teleport-distroless:15.2.0 imagePullPolicy: IfNotPresent lifecycle: preStop: diff --git a/examples/chart/teleport-cluster/tests/__snapshot__/proxy_deployment_test.yaml.snap b/examples/chart/teleport-cluster/tests/__snapshot__/proxy_deployment_test.yaml.snap index bc67201842584..48854f2299349 100644 --- a/examples/chart/teleport-cluster/tests/__snapshot__/proxy_deployment_test.yaml.snap +++ b/examples/chart/teleport-cluster/tests/__snapshot__/proxy_deployment_test.yaml.snap @@ -5,7 +5,7 @@ should provision initContainer correctly when set in values: - wait - no-resolve - RELEASE-NAME-auth-v14.NAMESPACE.svc.cluster.local - image: public.ecr.aws/gravitational/teleport-distroless:15.1.10 + image: public.ecr.aws/gravitational/teleport-distroless:15.2.0 name: wait-auth-update resources: limits: @@ -69,7 +69,7 @@ should set nodeSelector when set in values: containers: - args: - --diag-addr=0.0.0.0:3000 - image: public.ecr.aws/gravitational/teleport-distroless:15.1.10 + image: public.ecr.aws/gravitational/teleport-distroless:15.2.0 imagePullPolicy: IfNotPresent lifecycle: preStop: @@ -130,7 +130,7 @@ should set nodeSelector when set in values: - wait - no-resolve - RELEASE-NAME-auth-v14.NAMESPACE.svc.cluster.local - image: public.ecr.aws/gravitational/teleport-distroless:15.1.10 + image: public.ecr.aws/gravitational/teleport-distroless:15.2.0 name: wait-auth-update nodeSelector: environment: security @@ -181,7 +181,7 @@ should set resources for wait-auth-update initContainer when set in values: containers: - args: - --diag-addr=0.0.0.0:3000 - image: public.ecr.aws/gravitational/teleport-distroless:15.1.10 + image: public.ecr.aws/gravitational/teleport-distroless:15.2.0 imagePullPolicy: IfNotPresent lifecycle: preStop: @@ -249,7 +249,7 @@ should set resources for wait-auth-update initContainer when set in values: - wait - no-resolve - RELEASE-NAME-auth-v14.NAMESPACE.svc.cluster.local - image: public.ecr.aws/gravitational/teleport-distroless:15.1.10 + image: public.ecr.aws/gravitational/teleport-distroless:15.2.0 name: wait-auth-update resources: limits: @@ -289,7 +289,7 @@ should set resources when set in values: containers: - args: - --diag-addr=0.0.0.0:3000 - image: public.ecr.aws/gravitational/teleport-distroless:15.1.10 + image: public.ecr.aws/gravitational/teleport-distroless:15.2.0 imagePullPolicy: IfNotPresent lifecycle: preStop: @@ -357,7 +357,7 @@ should set resources when set in values: - wait - no-resolve - RELEASE-NAME-auth-v14.NAMESPACE.svc.cluster.local - image: public.ecr.aws/gravitational/teleport-distroless:15.1.10 + image: public.ecr.aws/gravitational/teleport-distroless:15.2.0 name: wait-auth-update resources: limits: @@ -397,7 +397,7 @@ should set securityContext for initContainers when set in values: containers: - args: - --diag-addr=0.0.0.0:3000 - image: public.ecr.aws/gravitational/teleport-distroless:15.1.10 + image: public.ecr.aws/gravitational/teleport-distroless:15.2.0 imagePullPolicy: IfNotPresent lifecycle: preStop: @@ -465,7 +465,7 @@ should set securityContext for initContainers when set in values: - wait - no-resolve - RELEASE-NAME-auth-v14.NAMESPACE.svc.cluster.local - image: public.ecr.aws/gravitational/teleport-distroless:15.1.10 + image: public.ecr.aws/gravitational/teleport-distroless:15.2.0 name: wait-auth-update securityContext: allowPrivilegeEscalation: false @@ -505,7 +505,7 @@ should set securityContext when set in values: containers: - args: - --diag-addr=0.0.0.0:3000 - image: public.ecr.aws/gravitational/teleport-distroless:15.1.10 + image: public.ecr.aws/gravitational/teleport-distroless:15.2.0 imagePullPolicy: IfNotPresent lifecycle: preStop: @@ -573,7 +573,7 @@ should set securityContext when set in values: - wait - no-resolve - RELEASE-NAME-auth-v14.NAMESPACE.svc.cluster.local - image: public.ecr.aws/gravitational/teleport-distroless:15.1.10 + image: public.ecr.aws/gravitational/teleport-distroless:15.2.0 name: wait-auth-update securityContext: allowPrivilegeEscalation: false diff --git a/examples/chart/teleport-kube-agent/Chart.yaml b/examples/chart/teleport-kube-agent/Chart.yaml index b03a27239e23c..e30f0ee8843ab 100644 --- a/examples/chart/teleport-kube-agent/Chart.yaml +++ b/examples/chart/teleport-kube-agent/Chart.yaml @@ -1,4 +1,4 @@ -.version: &version "15.1.10" +.version: &version "15.2.0" name: teleport-kube-agent apiVersion: v2 diff --git a/examples/chart/teleport-kube-agent/tests/__snapshot__/deployment_test.yaml.snap b/examples/chart/teleport-kube-agent/tests/__snapshot__/deployment_test.yaml.snap index e30b0b36109e7..06b18be55c98b 100644 --- a/examples/chart/teleport-kube-agent/tests/__snapshot__/deployment_test.yaml.snap +++ b/examples/chart/teleport-kube-agent/tests/__snapshot__/deployment_test.yaml.snap @@ -30,7 +30,7 @@ sets Deployment annotations when specified if action is Upgrade: env: - name: TELEPORT_INSTALL_METHOD_HELM_KUBE_AGENT value: "true" - image: public.ecr.aws/gravitational/teleport-distroless:15.1.10 + image: public.ecr.aws/gravitational/teleport-distroless:15.2.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -103,7 +103,7 @@ sets Deployment labels when specified if action is Upgrade: env: - name: TELEPORT_INSTALL_METHOD_HELM_KUBE_AGENT value: "true" - image: public.ecr.aws/gravitational/teleport-distroless:15.1.10 + image: public.ecr.aws/gravitational/teleport-distroless:15.2.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -163,7 +163,7 @@ sets Pod annotations when specified if action is Upgrade: env: - name: TELEPORT_INSTALL_METHOD_HELM_KUBE_AGENT value: "true" - image: public.ecr.aws/gravitational/teleport-distroless:15.1.10 + image: public.ecr.aws/gravitational/teleport-distroless:15.2.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -223,7 +223,7 @@ sets Pod labels when specified if action is Upgrade: env: - name: TELEPORT_INSTALL_METHOD_HELM_KUBE_AGENT value: "true" - image: public.ecr.aws/gravitational/teleport-distroless:15.1.10 + image: public.ecr.aws/gravitational/teleport-distroless:15.2.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -300,7 +300,7 @@ should add emptyDir for data when existingDataVolume is not set if action is Upg env: - name: TELEPORT_INSTALL_METHOD_HELM_KUBE_AGENT value: "true" - image: public.ecr.aws/gravitational/teleport-distroless:15.1.10 + image: public.ecr.aws/gravitational/teleport-distroless:15.2.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -361,7 +361,7 @@ should add insecureSkipProxyTLSVerify to args when set in values if action is Up env: - name: TELEPORT_INSTALL_METHOD_HELM_KUBE_AGENT value: "true" - image: public.ecr.aws/gravitational/teleport-distroless:15.1.10 + image: public.ecr.aws/gravitational/teleport-distroless:15.2.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -421,7 +421,7 @@ should correctly configure existingDataVolume when set if action is Upgrade: env: - name: TELEPORT_INSTALL_METHOD_HELM_KUBE_AGENT value: "true" - image: public.ecr.aws/gravitational/teleport-distroless:15.1.10 + image: public.ecr.aws/gravitational/teleport-distroless:15.2.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -479,7 +479,7 @@ should expose diag port if action is Upgrade: env: - name: TELEPORT_INSTALL_METHOD_HELM_KUBE_AGENT value: "true" - image: public.ecr.aws/gravitational/teleport-distroless:15.1.10 + image: public.ecr.aws/gravitational/teleport-distroless:15.2.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -551,7 +551,7 @@ should have multiple replicas when replicaCount is set (using .replicaCount, dep env: - name: TELEPORT_INSTALL_METHOD_HELM_KUBE_AGENT value: "true" - image: public.ecr.aws/gravitational/teleport-distroless:15.1.10 + image: public.ecr.aws/gravitational/teleport-distroless:15.2.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -623,7 +623,7 @@ should have multiple replicas when replicaCount is set (using highAvailability.r env: - name: TELEPORT_INSTALL_METHOD_HELM_KUBE_AGENT value: "true" - image: public.ecr.aws/gravitational/teleport-distroless:15.1.10 + image: public.ecr.aws/gravitational/teleport-distroless:15.2.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -683,7 +683,7 @@ should have one replica when replicaCount is not set if action is Upgrade: env: - name: TELEPORT_INSTALL_METHOD_HELM_KUBE_AGENT value: "true" - image: public.ecr.aws/gravitational/teleport-distroless:15.1.10 + image: public.ecr.aws/gravitational/teleport-distroless:15.2.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -743,7 +743,7 @@ should mount extraVolumes and extraVolumeMounts if action is Upgrade: env: - name: TELEPORT_INSTALL_METHOD_HELM_KUBE_AGENT value: "true" - image: public.ecr.aws/gravitational/teleport-distroless:15.1.10 + image: public.ecr.aws/gravitational/teleport-distroless:15.2.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -810,7 +810,7 @@ should mount tls.existingCASecretName and set environment when set in values if value: "true" - name: SSL_CERT_FILE value: /etc/teleport-tls-ca/ca.pem - image: public.ecr.aws/gravitational/teleport-distroless:15.1.10 + image: public.ecr.aws/gravitational/teleport-distroless:15.2.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -880,7 +880,7 @@ should mount tls.existingCASecretName and set extra environment when set in valu value: http://username:password@my.proxy.host:3128 - name: SSL_CERT_FILE value: /etc/teleport-tls-ca/ca.pem - image: public.ecr.aws/gravitational/teleport-distroless:15.1.10 + image: public.ecr.aws/gravitational/teleport-distroless:15.2.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -946,7 +946,7 @@ should provision initContainer correctly when set in values if action is Upgrade env: - name: TELEPORT_INSTALL_METHOD_HELM_KUBE_AGENT value: "true" - image: public.ecr.aws/gravitational/teleport-distroless:15.1.10 + image: public.ecr.aws/gravitational/teleport-distroless:15.2.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -1042,7 +1042,7 @@ should set SecurityContext if action is Upgrade: env: - name: TELEPORT_INSTALL_METHOD_HELM_KUBE_AGENT value: "true" - image: public.ecr.aws/gravitational/teleport-distroless:15.1.10 + image: public.ecr.aws/gravitational/teleport-distroless:15.2.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -1122,7 +1122,7 @@ should set affinity when set in values if action is Upgrade: env: - name: TELEPORT_INSTALL_METHOD_HELM_KUBE_AGENT value: "true" - image: public.ecr.aws/gravitational/teleport-distroless:15.1.10 + image: public.ecr.aws/gravitational/teleport-distroless:15.2.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -1182,7 +1182,7 @@ should set default serviceAccountName when not set in values if action is Upgrad env: - name: TELEPORT_INSTALL_METHOD_HELM_KUBE_AGENT value: "true" - image: public.ecr.aws/gravitational/teleport-distroless:15.1.10 + image: public.ecr.aws/gravitational/teleport-distroless:15.2.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -1255,7 +1255,7 @@ should set environment when extraEnv set in values if action is Upgrade: value: "true" - name: HTTPS_PROXY value: http://username:password@my.proxy.host:3128 - image: public.ecr.aws/gravitational/teleport-distroless:15.1.10 + image: public.ecr.aws/gravitational/teleport-distroless:15.2.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -1375,7 +1375,7 @@ should set imagePullPolicy when set in values if action is Upgrade: env: - name: TELEPORT_INSTALL_METHOD_HELM_KUBE_AGENT value: "true" - image: public.ecr.aws/gravitational/teleport-distroless:15.1.10 + image: public.ecr.aws/gravitational/teleport-distroless:15.2.0 imagePullPolicy: Always livenessProbe: failureThreshold: 6 @@ -1435,7 +1435,7 @@ should set nodeSelector if set in values if action is Upgrade: env: - name: TELEPORT_INSTALL_METHOD_HELM_KUBE_AGENT value: "true" - image: public.ecr.aws/gravitational/teleport-distroless:15.1.10 + image: public.ecr.aws/gravitational/teleport-distroless:15.2.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -1497,7 +1497,7 @@ should set not set priorityClassName when not set in values if action is Upgrade env: - name: TELEPORT_INSTALL_METHOD_HELM_KUBE_AGENT value: "true" - image: public.ecr.aws/gravitational/teleport-distroless:15.1.10 + image: public.ecr.aws/gravitational/teleport-distroless:15.2.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -1569,7 +1569,7 @@ should set preferred affinity when more than one replica is used if action is Up env: - name: TELEPORT_INSTALL_METHOD_HELM_KUBE_AGENT value: "true" - image: public.ecr.aws/gravitational/teleport-distroless:15.1.10 + image: public.ecr.aws/gravitational/teleport-distroless:15.2.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -1629,7 +1629,7 @@ should set priorityClassName when set in values if action is Upgrade: env: - name: TELEPORT_INSTALL_METHOD_HELM_KUBE_AGENT value: "true" - image: public.ecr.aws/gravitational/teleport-distroless:15.1.10 + image: public.ecr.aws/gravitational/teleport-distroless:15.2.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -1690,7 +1690,7 @@ should set probeTimeoutSeconds when set in values if action is Upgrade: env: - name: TELEPORT_INSTALL_METHOD_HELM_KUBE_AGENT value: "true" - image: public.ecr.aws/gravitational/teleport-distroless:15.1.10 + image: public.ecr.aws/gravitational/teleport-distroless:15.2.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -1760,7 +1760,7 @@ should set required affinity when highAvailability.requireAntiAffinity is set if env: - name: TELEPORT_INSTALL_METHOD_HELM_KUBE_AGENT value: "true" - image: public.ecr.aws/gravitational/teleport-distroless:15.1.10 + image: public.ecr.aws/gravitational/teleport-distroless:15.2.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -1820,7 +1820,7 @@ should set resources when set in values if action is Upgrade: env: - name: TELEPORT_INSTALL_METHOD_HELM_KUBE_AGENT value: "true" - image: public.ecr.aws/gravitational/teleport-distroless:15.1.10 + image: public.ecr.aws/gravitational/teleport-distroless:15.2.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -1887,7 +1887,7 @@ should set serviceAccountName when set in values if action is Upgrade: env: - name: TELEPORT_INSTALL_METHOD_HELM_KUBE_AGENT value: "true" - image: public.ecr.aws/gravitational/teleport-distroless:15.1.10 + image: public.ecr.aws/gravitational/teleport-distroless:15.2.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -1947,7 +1947,7 @@ should set tolerations when set in values if action is Upgrade: env: - name: TELEPORT_INSTALL_METHOD_HELM_KUBE_AGENT value: "true" - image: public.ecr.aws/gravitational/teleport-distroless:15.1.10 + image: public.ecr.aws/gravitational/teleport-distroless:15.2.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 diff --git a/examples/chart/teleport-kube-agent/tests/__snapshot__/job_test.yaml.snap b/examples/chart/teleport-kube-agent/tests/__snapshot__/job_test.yaml.snap index bf62c1b521d19..c32887c216e59 100644 --- a/examples/chart/teleport-kube-agent/tests/__snapshot__/job_test.yaml.snap +++ b/examples/chart/teleport-kube-agent/tests/__snapshot__/job_test.yaml.snap @@ -25,7 +25,7 @@ should create ServiceAccount for post-delete hook by default: fieldPath: metadata.namespace - name: RELEASE_NAME value: RELEASE-NAME - image: public.ecr.aws/gravitational/teleport-distroless:15.1.10 + image: public.ecr.aws/gravitational/teleport-distroless:15.2.0 imagePullPolicy: IfNotPresent name: post-delete-job securityContext: @@ -104,7 +104,7 @@ should not create ServiceAccount for post-delete hook if serviceAccount.create i fieldPath: metadata.namespace - name: RELEASE_NAME value: RELEASE-NAME - image: public.ecr.aws/gravitational/teleport-distroless:15.1.10 + image: public.ecr.aws/gravitational/teleport-distroless:15.2.0 imagePullPolicy: IfNotPresent name: post-delete-job securityContext: @@ -132,7 +132,7 @@ should not create ServiceAccount, Role or RoleBinding for post-delete hook if se fieldPath: metadata.namespace - name: RELEASE_NAME value: RELEASE-NAME - image: public.ecr.aws/gravitational/teleport-distroless:15.1.10 + image: public.ecr.aws/gravitational/teleport-distroless:15.2.0 imagePullPolicy: IfNotPresent name: post-delete-job securityContext: @@ -160,7 +160,7 @@ should set nodeSelector in post-delete hook: fieldPath: metadata.namespace - name: RELEASE_NAME value: RELEASE-NAME - image: public.ecr.aws/gravitational/teleport-distroless:15.1.10 + image: public.ecr.aws/gravitational/teleport-distroless:15.2.0 imagePullPolicy: IfNotPresent name: post-delete-job securityContext: @@ -190,7 +190,7 @@ should set securityContext in post-delete hook: fieldPath: metadata.namespace - name: RELEASE_NAME value: RELEASE-NAME - image: public.ecr.aws/gravitational/teleport-distroless:15.1.10 + image: public.ecr.aws/gravitational/teleport-distroless:15.2.0 imagePullPolicy: IfNotPresent name: post-delete-job securityContext: diff --git a/examples/chart/teleport-kube-agent/tests/__snapshot__/statefulset_test.yaml.snap b/examples/chart/teleport-kube-agent/tests/__snapshot__/statefulset_test.yaml.snap index ff28db3d3c189..0469e01ae2270 100644 --- a/examples/chart/teleport-kube-agent/tests/__snapshot__/statefulset_test.yaml.snap +++ b/examples/chart/teleport-kube-agent/tests/__snapshot__/statefulset_test.yaml.snap @@ -16,7 +16,7 @@ sets Pod annotations when specified: fieldPath: metadata.namespace - name: RELEASE_NAME value: RELEASE-NAME - image: public.ecr.aws/gravitational/teleport-distroless:15.1.10 + image: public.ecr.aws/gravitational/teleport-distroless:15.2.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -84,7 +84,7 @@ sets Pod labels when specified: fieldPath: metadata.namespace - name: RELEASE_NAME value: RELEASE-NAME - image: public.ecr.aws/gravitational/teleport-distroless:15.1.10 + image: public.ecr.aws/gravitational/teleport-distroless:15.2.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -176,7 +176,7 @@ sets StatefulSet labels when specified: fieldPath: metadata.namespace - name: RELEASE_NAME value: RELEASE-NAME - image: public.ecr.aws/gravitational/teleport-distroless:15.1.10 + image: public.ecr.aws/gravitational/teleport-distroless:15.2.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -272,7 +272,7 @@ should add insecureSkipProxyTLSVerify to args when set in values: fieldPath: metadata.namespace - name: RELEASE_NAME value: RELEASE-NAME - image: public.ecr.aws/gravitational/teleport-distroless:15.1.10 + image: public.ecr.aws/gravitational/teleport-distroless:15.2.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -340,7 +340,7 @@ should add volumeClaimTemplate for data volume when using StatefulSet and action fieldPath: metadata.namespace - name: RELEASE_NAME value: RELEASE-NAME - image: public.ecr.aws/gravitational/teleport-distroless:15.1.10 + image: public.ecr.aws/gravitational/teleport-distroless:15.2.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -428,7 +428,7 @@ should add volumeClaimTemplate for data volume when using StatefulSet and is Fre fieldPath: metadata.namespace - name: RELEASE_NAME value: RELEASE-NAME - image: public.ecr.aws/gravitational/teleport-distroless:15.1.10 + image: public.ecr.aws/gravitational/teleport-distroless:15.2.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -506,7 +506,7 @@ should add volumeMount for data volume when using StatefulSet: fieldPath: metadata.namespace - name: RELEASE_NAME value: RELEASE-NAME - image: public.ecr.aws/gravitational/teleport-distroless:15.1.10 + image: public.ecr.aws/gravitational/teleport-distroless:15.2.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -574,7 +574,7 @@ should expose diag port: fieldPath: metadata.namespace - name: RELEASE_NAME value: RELEASE-NAME - image: public.ecr.aws/gravitational/teleport-distroless:15.1.10 + image: public.ecr.aws/gravitational/teleport-distroless:15.2.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -642,7 +642,7 @@ should generate Statefulset when storage is disabled and mode is a Upgrade: fieldPath: metadata.namespace - name: RELEASE_NAME value: RELEASE-NAME - image: public.ecr.aws/gravitational/teleport-distroless:15.1.10 + image: public.ecr.aws/gravitational/teleport-distroless:15.2.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -724,7 +724,7 @@ should have multiple replicas when replicaCount is set (using .replicaCount, dep fieldPath: metadata.namespace - name: RELEASE_NAME value: RELEASE-NAME - image: public.ecr.aws/gravitational/teleport-distroless:15.1.10 + image: public.ecr.aws/gravitational/teleport-distroless:15.2.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -804,7 +804,7 @@ should have multiple replicas when replicaCount is set (using highAvailability.r fieldPath: metadata.namespace - name: RELEASE_NAME value: RELEASE-NAME - image: public.ecr.aws/gravitational/teleport-distroless:15.1.10 + image: public.ecr.aws/gravitational/teleport-distroless:15.2.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -872,7 +872,7 @@ should have one replica when replicaCount is not set: fieldPath: metadata.namespace - name: RELEASE_NAME value: RELEASE-NAME - image: public.ecr.aws/gravitational/teleport-distroless:15.1.10 + image: public.ecr.aws/gravitational/teleport-distroless:15.2.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -940,7 +940,7 @@ should install Statefulset when storage is disabled and mode is a Fresh Install: fieldPath: metadata.namespace - name: RELEASE_NAME value: RELEASE-NAME - image: public.ecr.aws/gravitational/teleport-distroless:15.1.10 + image: public.ecr.aws/gravitational/teleport-distroless:15.2.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -1010,7 +1010,7 @@ should mount extraVolumes and extraVolumeMounts: fieldPath: metadata.namespace - name: RELEASE_NAME value: RELEASE-NAME - image: public.ecr.aws/gravitational/teleport-distroless:15.1.10 + image: public.ecr.aws/gravitational/teleport-distroless:15.2.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -1085,7 +1085,7 @@ should mount tls.existingCASecretName and set environment when set in values: value: RELEASE-NAME - name: SSL_CERT_FILE value: /etc/teleport-tls-ca/ca.pem - image: public.ecr.aws/gravitational/teleport-distroless:15.1.10 + image: public.ecr.aws/gravitational/teleport-distroless:15.2.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -1165,7 +1165,7 @@ should mount tls.existingCASecretName and set extra environment when set in valu value: /etc/teleport-tls-ca/ca.pem - name: HTTPS_PROXY value: http://username:password@my.proxy.host:3128 - image: public.ecr.aws/gravitational/teleport-distroless:15.1.10 + image: public.ecr.aws/gravitational/teleport-distroless:15.2.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -1241,7 +1241,7 @@ should not add emptyDir for data when using StatefulSet: fieldPath: metadata.namespace - name: RELEASE_NAME value: RELEASE-NAME - image: public.ecr.aws/gravitational/teleport-distroless:15.1.10 + image: public.ecr.aws/gravitational/teleport-distroless:15.2.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -1309,7 +1309,7 @@ should provision initContainer correctly when set in values: fieldPath: metadata.namespace - name: RELEASE_NAME value: RELEASE-NAME - image: public.ecr.aws/gravitational/teleport-distroless:15.1.10 + image: public.ecr.aws/gravitational/teleport-distroless:15.2.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -1413,7 +1413,7 @@ should set SecurityContext: fieldPath: metadata.namespace - name: RELEASE_NAME value: RELEASE-NAME - image: public.ecr.aws/gravitational/teleport-distroless:15.1.10 + image: public.ecr.aws/gravitational/teleport-distroless:15.2.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -1501,7 +1501,7 @@ should set affinity when set in values: fieldPath: metadata.namespace - name: RELEASE_NAME value: RELEASE-NAME - image: public.ecr.aws/gravitational/teleport-distroless:15.1.10 + image: public.ecr.aws/gravitational/teleport-distroless:15.2.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -1569,7 +1569,7 @@ should set default serviceAccountName when not set in values: fieldPath: metadata.namespace - name: RELEASE_NAME value: RELEASE-NAME - image: public.ecr.aws/gravitational/teleport-distroless:15.1.10 + image: public.ecr.aws/gravitational/teleport-distroless:15.2.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -1650,7 +1650,7 @@ should set environment when extraEnv set in values: value: RELEASE-NAME - name: HTTPS_PROXY value: http://username:password@my.proxy.host:3128 - image: public.ecr.aws/gravitational/teleport-distroless:15.1.10 + image: public.ecr.aws/gravitational/teleport-distroless:15.2.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -1786,7 +1786,7 @@ should set imagePullPolicy when set in values: fieldPath: metadata.namespace - name: RELEASE_NAME value: RELEASE-NAME - image: public.ecr.aws/gravitational/teleport-distroless:15.1.10 + image: public.ecr.aws/gravitational/teleport-distroless:15.2.0 imagePullPolicy: Always livenessProbe: failureThreshold: 6 @@ -1854,7 +1854,7 @@ should set nodeSelector if set in values: fieldPath: metadata.namespace - name: RELEASE_NAME value: RELEASE-NAME - image: public.ecr.aws/gravitational/teleport-distroless:15.1.10 + image: public.ecr.aws/gravitational/teleport-distroless:15.2.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -1936,7 +1936,7 @@ should set preferred affinity when more than one replica is used: fieldPath: metadata.namespace - name: RELEASE_NAME value: RELEASE-NAME - image: public.ecr.aws/gravitational/teleport-distroless:15.1.10 + image: public.ecr.aws/gravitational/teleport-distroless:15.2.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -2004,7 +2004,7 @@ should set probeTimeoutSeconds when set in values: fieldPath: metadata.namespace - name: RELEASE_NAME value: RELEASE-NAME - image: public.ecr.aws/gravitational/teleport-distroless:15.1.10 + image: public.ecr.aws/gravitational/teleport-distroless:15.2.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -2082,7 +2082,7 @@ should set required affinity when highAvailability.requireAntiAffinity is set: fieldPath: metadata.namespace - name: RELEASE_NAME value: RELEASE-NAME - image: public.ecr.aws/gravitational/teleport-distroless:15.1.10 + image: public.ecr.aws/gravitational/teleport-distroless:15.2.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -2150,7 +2150,7 @@ should set resources when set in values: fieldPath: metadata.namespace - name: RELEASE_NAME value: RELEASE-NAME - image: public.ecr.aws/gravitational/teleport-distroless:15.1.10 + image: public.ecr.aws/gravitational/teleport-distroless:15.2.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -2225,7 +2225,7 @@ should set serviceAccountName when set in values: fieldPath: metadata.namespace - name: RELEASE_NAME value: RELEASE-NAME - image: public.ecr.aws/gravitational/teleport-distroless:15.1.10 + image: public.ecr.aws/gravitational/teleport-distroless:15.2.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -2293,7 +2293,7 @@ should set storage.requests when set in values and action is an Upgrade: fieldPath: metadata.namespace - name: RELEASE_NAME value: RELEASE-NAME - image: public.ecr.aws/gravitational/teleport-distroless:15.1.10 + image: public.ecr.aws/gravitational/teleport-distroless:15.2.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -2361,7 +2361,7 @@ should set storage.storageClassName when set in values and action is an Upgrade: fieldPath: metadata.namespace - name: RELEASE_NAME value: RELEASE-NAME - image: public.ecr.aws/gravitational/teleport-distroless:15.1.10 + image: public.ecr.aws/gravitational/teleport-distroless:15.2.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -2429,7 +2429,7 @@ should set tolerations when set in values: fieldPath: metadata.namespace - name: RELEASE_NAME value: RELEASE-NAME - image: public.ecr.aws/gravitational/teleport-distroless:15.1.10 + image: public.ecr.aws/gravitational/teleport-distroless:15.2.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 diff --git a/examples/chart/teleport-kube-agent/tests/__snapshot__/updater_deployment_test.yaml.snap b/examples/chart/teleport-kube-agent/tests/__snapshot__/updater_deployment_test.yaml.snap index 9942a43031523..39eb42ca1ba63 100644 --- a/examples/chart/teleport-kube-agent/tests/__snapshot__/updater_deployment_test.yaml.snap +++ b/examples/chart/teleport-kube-agent/tests/__snapshot__/updater_deployment_test.yaml.snap @@ -27,7 +27,7 @@ sets the affinity: - --base-image=public.ecr.aws/gravitational/teleport-distroless - --version-server=https://my-custom-version-server/v1 - --version-channel=custom/preview - image: public.ecr.aws/gravitational/teleport-kube-agent-updater:15.1.10 + image: public.ecr.aws/gravitational/teleport-kube-agent-updater:15.2.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -71,7 +71,7 @@ sets the tolerations: - --base-image=public.ecr.aws/gravitational/teleport-distroless - --version-server=https://my-custom-version-server/v1 - --version-channel=custom/preview - image: public.ecr.aws/gravitational/teleport-kube-agent-updater:15.1.10 + image: public.ecr.aws/gravitational/teleport-kube-agent-updater:15.2.0 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6