diff --git a/.github/workflows/build-macos.yaml b/.github/workflows/build-macos.yaml index e9dc86b241eb1..04e819c736617 100644 --- a/.github/workflows/build-macos.yaml +++ b/.github/workflows/build-macos.yaml @@ -37,7 +37,6 @@ jobs: run: | echo NODE_VERSION=$(make -s -C build.assets print-node-version) >> $GITHUB_ENV echo GOLANG_VERSION=$(make -s -C build.assets print-go-version | sed 's/^go//') >> $GITHUB_ENV - echo RUST_VERSION=$(make -s -C build.assets print-rust-version) >> $GITHUB_ENV echo WASM_PACK_VERSION=$(make -s -C build.assets print-wasm-pack-version) >> $GITHUB_ENV echo PKG_CONFIG_PATH="$(build.assets/build-fido2-macos.sh pkg_config_path)" >> $GITHUB_ENV @@ -46,7 +45,6 @@ jobs: echo "make: $(make --version)" echo "node: ${NODE_VERSION}" echo "go: ${GOLANG_VERSION}" - echo "rust: ${RUST_VERSION}" echo "wasm-pack: ${WASM_PACK_VERSION}" - name: Install Node Toolchain @@ -64,10 +62,6 @@ jobs: cache: false go-version: ${{ env.GOLANG_VERSION }} - - name: Configure Rust Toolchain - run: | - rustup override set ${{ env.RUST_VERSION }} - - name: Install wasm-pack run: | cargo install wasm-pack --locked --version ${WASM_PACK_VERSION} diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 0cb29695f968b..f0f02791ffc5e 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -169,14 +169,8 @@ jobs: - name: Checkout uses: actions/checkout@v4 - - name: Set Rust version - run: echo "RUST_VERSION=$(make -s -C build.assets print-rust-version)" >> $GITHUB_ENV - - name: Set up Rust run: | - echo "Setting up Rust version ${RUST_VERSION}" - rustup toolchain install ${RUST_VERSION} --component rustfmt,clippy - rustup override set ${RUST_VERSION} rustc --version cargo --version rustfmt --version diff --git a/BUILD_macos.md b/BUILD_macos.md index c1bfd6916f88e..278407ff7480d 100644 --- a/BUILD_macos.md +++ b/BUILD_macos.md @@ -26,10 +26,7 @@ PRs with corrections and updates are welcome! brew install go ```` -* `Rust` and `Cargo` version from - [build.assets/Makefile](https://github.com/gravitational/teleport/blob/master/build.assets/versions.mk#L11) - (search for RUST_VERSION): - +* `Rust` and `Cargo` * Follow [official instructions](https://www.rust-lang.org/tools/install) to install `rustup` * Or install with homebrew: @@ -55,16 +52,6 @@ PRs with corrections and updates are welcome! # or open a new shell ``` - * Install the required version - - ```shell - rustup toolchain install - cd - rustup override set - rustc --version - # rustc - ``` - * To install `libfido2` (pulls `openssl 3` as dependency) ```shell @@ -80,7 +67,7 @@ PRs with corrections and updates are welcome! * To install tools for building the UI: * `brew install node corepack` * `corepack enable pnpm` - * The `Rust` and `Cargo` version in [build.assets/Makefile](https://github.com/gravitational/teleport/blob/master/build.assets/versions.mk#L11) (search for `RUST_VERSION`) are required. + * `Rust` and `Cargo` are required * The [`wasm-pack`](https://github.com/rustwasm/wasm-pack) version in [build.assets/Makefile](https://github.com/gravitational/teleport/blob/master/build.assets/versions.mk#L12) (search for `WASM_PACK_VERSION`) is required: `curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh` diff --git a/Makefile b/Makefile index ede5433c3a53b..a11b835adc966 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,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=18.0.0-dev +VERSION=18.0.0-dev.rustoolchain.1 DOCKER_IMAGE ?= teleport @@ -1789,17 +1789,12 @@ build-ui-e: ensure-js-deps docker-ui: $(MAKE) -C build.assets ui -.PHONY: rustup-set-version -rustup-set-version: RUST_VERSION := $(shell $(MAKE) --no-print-directory -C build.assets print-rust-version) -rustup-set-version: - rustup override set $(RUST_VERSION) - # rustup-install-target-toolchain ensures the required rust compiler is # installed to build for $(ARCH)/$(OS) for the version of rust we use, as -# defined in build.assets/Makefile. It assumes that `rustup` is already +# defined in rust-toolchain.toml. It assumes that `rustup` is already # installed for managing the rust toolchain. .PHONY: rustup-install-target-toolchain -rustup-install-target-toolchain: rustup-set-version +rustup-install-target-toolchain: rustup target add $(RUST_TARGET_ARCH) # changelog generates PR changelog between the provided base tag and the tip of diff --git a/README.md b/README.md index ebf3b9b3e1c52..3445571ca92a4 100644 --- a/README.md +++ b/README.md @@ -140,21 +140,17 @@ make -C build.assets build-binaries Ensure you have installed correct versions of necessary dependencies: * `Go` version from [go.mod](https://github.com/gravitational/teleport/blob/master/go.mod#L3) -* If you wish to build the Rust-powered features like Desktop Access, see the - `Rust` and `Cargo` versions in - [build.assets/Makefile](https://github.com/gravitational/teleport/blob/master/build.assets/Makefile#L21) - (search for `RUST_VERSION`) +* Rust and Cargo should be installed via [rustup](https://rustup.rs/) * For `tsh` version > `10.x` with FIDO2 support, you will need `libfido2` and `pkg-config` installed locally * To build the web UI: * [`pnpm`](https://pnpm.io/installation#using-corepack). If you have Node.js installed, run `corepack enable pnpm` to make `pnpm` available. * If you prefer not to install/use pnpm, but have docker available, you can run `make docker-ui` instead. - * The `Rust` and `Cargo` version in [build.assets/Makefile](https://github.com/gravitational/teleport/blob/master/build.assets/versions.mk#L11) (search for `RUST_VERSION`) are required. * The [`wasm-pack`](https://github.com/rustwasm/wasm-pack) version in [build.assets/Makefile](https://github.com/gravitational/teleport/blob/master/build.assets/versions.mk#L12) (search for `WASM_PACK_VERSION`) is required. * [`binaryen`](https://github.com/WebAssembly/binaryen) (which contains `wasm-opt`) is required to be installed manually on linux aarch64 (64-bit ARM). You can check if it's already installed on your system by running `which wasm-opt`. If not you can install it like `apt-get install binaryen` (for Debian-based Linux). `wasm-pack` will install this automatically on other platforms. -For an example of Dev Environment setup on a Mac, see [these instructions](BUILD_macos.md). +For an example of dev environment setup on macOS, see [these instructions](BUILD_macos.md). #### Perform a build diff --git a/api/version.go b/api/version.go index 78532e11f4ece..fd1ee836cb81b 100644 --- a/api/version.go +++ b/api/version.go @@ -3,6 +3,6 @@ package api import "github.com/coreos/go-semver/semver" -const Version = "18.0.0-dev" +const Version = "18.0.0-dev.rustoolchain.1" var SemVersion = semver.New(Version) diff --git a/build.assets/Dockerfile b/build.assets/Dockerfile index 133e4106cd0d2..03b81f7e0dc77 100644 --- a/build.assets/Dockerfile +++ b/build.assets/Dockerfile @@ -208,11 +208,9 @@ RUN groupadd ci --gid=$GID -o && \ mkdir -p -m0700 /var/lib/teleport && chown -R ci /var/lib/teleport # Install Rust. -ARG RUST_VERSION ENV RUSTUP_HOME=/usr/local/rustup \ - CARGO_HOME=/usr/local/cargo \ - PATH=/usr/local/cargo/bin:$PATH \ - RUST_VERSION=$RUST_VERSION + CARGO_HOME=/usr/local/cargo \ + PATH=/usr/local/cargo/bin:$PATH RUN mkdir -p $RUSTUP_HOME && chmod a+w $RUSTUP_HOME && \ mkdir -p $CARGO_HOME/registry && chmod -R a+w $CARGO_HOME # Install Rust using the ci user, as that is the user that @@ -220,11 +218,10 @@ RUN mkdir -p $RUSTUP_HOME && chmod a+w $RUSTUP_HOME && \ # Cross-compilation targets are only installed on amd64, as # this image doesn't contain gcc-multilib. USER ci -RUN curl --proto '=https' --tlsv1.2 -fsSL https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain $RUST_VERSION && \ +RUN curl --proto '=https' --tlsv1.2 -fsSL https://sh.rustup.rs | sh -s -- -y --profile minimal && \ rustup --version && \ cargo --version && \ rustc --version && \ - rustup component add rustfmt clippy && \ rustup target add wasm32-unknown-unknown && \ if [ "$BUILDARCH" = "amd64" ]; then rustup target add aarch64-unknown-linux-gnu i686-unknown-linux-gnu; fi diff --git a/build.assets/Dockerfile-arm b/build.assets/Dockerfile-arm index b3f63f1eb3ff7..28af4fceb29cc 100644 --- a/build.assets/Dockerfile-arm +++ b/build.assets/Dockerfile-arm @@ -82,17 +82,15 @@ RUN groupadd ci --gid="$GID" -o && \ chown -R ci /var/lib/teleport # Install Rust. -ARG RUST_VERSION ENV RUSTUP_HOME=/usr/local/rustup \ CARGO_HOME=/usr/local/cargo \ - PATH=/usr/local/cargo/bin:$PATH \ - RUST_VERSION=$RUST_VERSION + PATH=/usr/local/cargo/bin:$PATH RUN mkdir -p $RUSTUP_HOME && chmod a+w $RUSTUP_HOME && \ mkdir -p $CARGO_HOME/registry && chmod -R a+w $CARGO_HOME # Install Rust using the ci user, as that is the user that # will run builds using the Rust toolchains we install here. USER ci -RUN curl --proto '=https' --tlsv1.2 -fsSL https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain $RUST_VERSION && \ +RUN curl --proto '=https' --tlsv1.2 -fsSL https://sh.rustup.rs | sh -s -- -y --profile minimal && \ rustup target add arm-unknown-linux-gnueabihf && \ rustup --version && \ cargo --version && \ diff --git a/build.assets/Dockerfile-centos7 b/build.assets/Dockerfile-centos7 index 89ad343cd15c9..3c3f027bfbff5 100644 --- a/build.assets/Dockerfile-centos7 +++ b/build.assets/Dockerfile-centos7 @@ -259,11 +259,9 @@ COPY pam/ /opt/pam_teleport/ RUN make -C /opt/pam_teleport install # Install Rust. -ARG RUST_VERSION ENV RUSTUP_HOME=/usr/local/rustup \ CARGO_HOME=/usr/local/cargo \ - PATH=/usr/local/cargo/bin:$PATH \ - RUST_VERSION=$RUST_VERSION + PATH=/usr/local/cargo/bin:$PATH RUN mkdir -p $RUSTUP_HOME && chmod a+w $RUSTUP_HOME && \ mkdir -p $CARGO_HOME/registry && chmod -R a+w $CARGO_HOME @@ -273,7 +271,7 @@ RUN chmod a-w / # Install Rust using the ci user, as that is the user that # will run builds using the Rust toolchains we install here. USER ci -RUN curl --proto '=https' --tlsv1.2 -fsSL https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain $RUST_VERSION && \ +RUN curl --proto '=https' --tlsv1.2 -fsSL https://sh.rustup.rs | sh -s -- -y --profile minimal && \ rustup --version && \ cargo --version && \ rustc --version && \ diff --git a/build.assets/Dockerfile-node b/build.assets/Dockerfile-node index 59a3100c80e1e..17f7a67e8c3b3 100644 --- a/build.assets/Dockerfile-node +++ b/build.assets/Dockerfile-node @@ -66,16 +66,14 @@ RUN groupadd ci --gid=$GID -o && \ useradd ci --uid=$UID --gid=$GID --create-home --shell=/bin/sh # Install Rust. -ARG RUST_VERSION ENV RUSTUP_HOME=/usr/local/rustup \ CARGO_HOME=/usr/local/cargo \ - PATH=/usr/local/cargo/bin:$PATH \ - RUST_VERSION=$RUST_VERSION + PATH=/usr/local/cargo/bin:$PATH RUN mkdir -p $RUSTUP_HOME && chmod a+w $RUSTUP_HOME && \ mkdir -p $CARGO_HOME/registry && chmod -R a+w $CARGO_HOME USER ci -RUN curl --proto '=https' --tlsv1.2 -fsSL https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain $RUST_VERSION && \ +RUN curl --proto '=https' --tlsv1.2 -fsSL https://sh.rustup.rs | sh -s -- -y --profile minimal && \ rustup --version && \ cargo --version && \ rustc --version && \ diff --git a/build.assets/Makefile b/build.assets/Makefile index 21e40af91d59e..0865480933eb5 100644 --- a/build.assets/Makefile +++ b/build.assets/Makefile @@ -145,7 +145,6 @@ buildbox-ng: docker buildx build \ --build-arg THIRDPARTY_IMAGE=$(BUILDBOX_THIRDPARTY) \ --build-arg GOLANG_VERSION=$(GOLANG_VERSION) \ - --build-arg RUST_VERSION=$(RUST_VERSION) \ --cache-from $(BUILDBOX_NG) \ --cache-to type=inline \ $(if $(PUSH),--push,--load) \ @@ -167,7 +166,6 @@ buildbox: --build-arg BUILDARCH=$(RUNTIME_ARCH) \ --build-arg GOLANG_VERSION=$(GOLANG_VERSION) \ --build-arg GOLANGCI_LINT_VERSION=$(GOLANGCI_LINT_VERSION) \ - --build-arg RUST_VERSION=$(RUST_VERSION) \ --build-arg WASM_PACK_VERSION=$(WASM_PACK_VERSION) \ --build-arg NODE_VERSION=$(NODE_VERSION) \ --build-arg LIBBPF_VERSION=$(LIBBPF_VERSION) \ @@ -208,7 +206,6 @@ buildbox-centos7: --build-arg BUILDARCH=$(HOST_ARCH) \ --build-arg TARGETARCH=$(RUNTIME_ARCH) \ --build-arg GOLANG_VERSION=$(GOLANG_VERSION) \ - --build-arg RUST_VERSION=$(RUST_VERSION) \ --build-arg WASM_PACK_VERSION=$(WASM_PACK_VERSION) \ --build-arg DEVTOOLSET=$(DEVTOOLSET) \ --build-arg LIBBPF_VERSION=$(LIBBPF_VERSION) \ @@ -235,7 +232,6 @@ buildbox-centos7-fips: --build-arg BUILDARCH=$(HOST_ARCH) \ --build-arg TARGETARCH=$(RUNTIME_ARCH) \ --build-arg GOLANG_VERSION=$(GOLANG_VERSION) \ - --build-arg RUST_VERSION=$(RUST_VERSION) \ --build-arg WASM_PACK_VERSION=$(WASM_PACK_VERSION) \ --build-arg DEVTOOLSET=$(DEVTOOLSET) \ --build-arg LIBBPF_VERSION=$(LIBBPF_VERSION) \ @@ -258,7 +254,6 @@ buildbox-arm: --build-arg BUILDARCH=$(RUNTIME_ARCH) \ --build-arg GOLANG_VERSION=$(GOLANG_VERSION) \ --build-arg NODE_VERSION=$(NODE_VERSION) \ - --build-arg RUST_VERSION=$(RUST_VERSION) \ --cache-to type=inline \ --cache-from $(BUILDBOX_ARM) \ $(if $(PUSH),--push,--load) \ @@ -280,7 +275,6 @@ buildbox-node: --build-arg UID=$(UID) \ --build-arg GID=$(GID) \ --build-arg NODE_VERSION=$(NODE_VERSION) \ - --build-arg RUST_VERSION=$(RUST_VERSION) \ --build-arg WASM_PACK_VERSION=$(WASM_PACK_VERSION) \ --cache-to type=inline \ --cache-from $(BUILDBOX_NODE) \ @@ -701,13 +695,6 @@ print-golangci-lint-version: print-buf-version: @echo $(BUF_VERSION) -# -# Print the Rust version used to build Teleport. -# -.PHONY:print-rust-version -print-rust-version: - @echo $(RUST_VERSION) - # # Print the wasm-pack version used to build Teleport. # diff --git a/build.assets/buildbox/Dockerfile b/build.assets/buildbox/Dockerfile index b818138d8657e..bbd5ce32a2a62 100644 --- a/build.assets/buildbox/Dockerfile +++ b/build.assets/buildbox/Dockerfile @@ -85,11 +85,10 @@ FROM base AS rust RUN install -d -m 0775 -o buildbox -g buildbox /opt/rust USER buildbox -ARG RUST_VERSION ENV RUSTUP_HOME=/opt/rust ENV CARGO_HOME=/opt/rust RUN curl --proto =https --tlsv1.2 -fsSL https://sh.rustup.rs | \ - sh -s -- -y --profile minimal --default-toolchain ${RUST_VERSION} && \ + sh -s -- -y --profile minimal && \ ${CARGO_HOME}/bin/rustup --version && \ ${CARGO_HOME}/bin/cargo --version && \ ${CARGO_HOME}/bin/rustc --version && \ diff --git a/build.assets/versions.mk b/build.assets/versions.mk index 94e9e3a12831e..436bb0be98c26 100644 --- a/build.assets/versions.mk +++ b/build.assets/versions.mk @@ -8,8 +8,6 @@ GOLANGCI_LINT_VERSION ?= v1.62.2 NODE_VERSION ?= 20.18.0 -# Run lint-rust check locally before merging code after you bump this. -RUST_VERSION ?= 1.81.0 WASM_PACK_VERSION ?= 0.12.1 LIBBPF_VERSION ?= 1.2.2 LIBPCSCLITE_VERSION ?= 1.9.9-teleport diff --git a/build.assets/windows/build.ps1 b/build.assets/windows/build.ps1 index 2053ea9d96096..e1526dabea01c 100644 --- a/build.assets/windows/build.ps1 +++ b/build.assets/windows/build.ps1 @@ -90,9 +90,7 @@ function Install-Rust { [CmdletBinding()] param( [Parameter(Mandatory)] - [string] $ToolchainDir, - [Parameter(Mandatory)] - [string] $RustVersion + [string] $ToolchainDir ) begin { Write-Host "::group::Installing Rust $RustVersion to $ToolchainDir..." @@ -101,7 +99,7 @@ function Install-Rust { Invoke-WebRequest -Uri https://static.rust-lang.org/rustup/dist/x86_64-pc-windows-gnu/rustup-init.exe -OutFile $RustupFile $Env:RUSTUP_HOME = "$ToolchainDir/rustup" $Env:CARGO_HOME = "$ToolchainDir/cargo" - & "$ToolchainDir\rustup-init.exe" --profile minimal -y --default-toolchain "$RustVersion-x86_64-pc-windows-gnu" + & "$ToolchainDir\rustup-init.exe" --profile minimal -y --target x86_64-pc-windows-gnu Enable-Rust -ToolchainDir $ToolchainDir Write-Host "::endgroup::" } @@ -259,8 +257,7 @@ function Install-BuildRequirements { $CommandDuration = Measure-Block { New-Item -Path "$InstallDirectory" -ItemType Directory -Force | Out-Null - $RustVersion = $(make --no-print-directory -C "$TeleportSourceDirectory/build.assets" print-rust-version).Trim() - Install-Rust -RustVersion "$RustVersion" -ToolchainDir "$InstallDirectory" + Install-Rust -ToolchainDir "$InstallDirectory" $NodeVersion = $(make --no-print-directory -C "$TeleportSourceDirectory/build.assets" print-node-version).Trim() Install-Node -NodeVersion "$NodeVersion" -ToolchainDir "$InstallDirectory" diff --git a/e b/e index 10efba4d7e990..33509b9d6036d 160000 --- a/e +++ b/e @@ -1 +1 @@ -Subproject commit 10efba4d7e9907bfc8d36dab6313cc90db064722 +Subproject commit 33509b9d6036dc2adf60c296ef188a0d4e849c3c diff --git a/examples/chart/access/datadog/Chart.yaml b/examples/chart/access/datadog/Chart.yaml index 780b08f38eb06..48eae7a4a03e7 100644 --- a/examples/chart/access/datadog/Chart.yaml +++ b/examples/chart/access/datadog/Chart.yaml @@ -1,4 +1,4 @@ -.version: &version "18.0.0-dev" +.version: &version "18.0.0-dev.rustoolchain.1" apiVersion: v2 name: teleport-plugin-datadog diff --git a/examples/chart/access/datadog/tests/__snapshot__/configmap_test.yaml.snap b/examples/chart/access/datadog/tests/__snapshot__/configmap_test.yaml.snap index 4c0e2f9ccf058..bb7c5c255426e 100644 --- a/examples/chart/access/datadog/tests/__snapshot__/configmap_test.yaml.snap +++ b/examples/chart/access/datadog/tests/__snapshot__/configmap_test.yaml.snap @@ -26,6 +26,6 @@ should match the snapshot: app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: teleport-plugin-datadog - app.kubernetes.io/version: 18.0.0-dev - helm.sh/chart: teleport-plugin-datadog-18.0.0-dev + app.kubernetes.io/version: 18.0.0-dev.rustoolchain.1 + helm.sh/chart: teleport-plugin-datadog-18.0.0-dev.rustoolchain.1 name: RELEASE-NAME-teleport-plugin-datadog diff --git a/examples/chart/access/datadog/tests/__snapshot__/deployment_test.yaml.snap b/examples/chart/access/datadog/tests/__snapshot__/deployment_test.yaml.snap index 90fca5a21d942..85a05b5f4af3d 100644 --- a/examples/chart/access/datadog/tests/__snapshot__/deployment_test.yaml.snap +++ b/examples/chart/access/datadog/tests/__snapshot__/deployment_test.yaml.snap @@ -7,8 +7,8 @@ should match the snapshot: app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: teleport-plugin-datadog - app.kubernetes.io/version: 18.0.0-dev - helm.sh/chart: teleport-plugin-datadog-18.0.0-dev + app.kubernetes.io/version: 18.0.0-dev.rustoolchain.1 + helm.sh/chart: teleport-plugin-datadog-18.0.0-dev.rustoolchain.1 name: RELEASE-NAME-teleport-plugin-datadog spec: replicas: 1 @@ -22,8 +22,8 @@ should match the snapshot: app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: teleport-plugin-datadog - app.kubernetes.io/version: 18.0.0-dev - helm.sh/chart: teleport-plugin-datadog-18.0.0-dev + app.kubernetes.io/version: 18.0.0-dev.rustoolchain.1 + helm.sh/chart: teleport-plugin-datadog-18.0.0-dev.rustoolchain.1 spec: containers: - command: diff --git a/examples/chart/access/discord/Chart.yaml b/examples/chart/access/discord/Chart.yaml index 1dd61c72910d9..f44a167ebc21a 100644 --- a/examples/chart/access/discord/Chart.yaml +++ b/examples/chart/access/discord/Chart.yaml @@ -1,4 +1,4 @@ -.version: &version "18.0.0-dev" +.version: &version "18.0.0-dev.rustoolchain.1" apiVersion: v2 name: teleport-plugin-discord diff --git a/examples/chart/access/discord/tests/__snapshot__/configmap_test.yaml.snap b/examples/chart/access/discord/tests/__snapshot__/configmap_test.yaml.snap index 743646baa06b0..eb8e98216bca9 100644 --- a/examples/chart/access/discord/tests/__snapshot__/configmap_test.yaml.snap +++ b/examples/chart/access/discord/tests/__snapshot__/configmap_test.yaml.snap @@ -24,6 +24,6 @@ should match the snapshot: app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: teleport-plugin-discord - app.kubernetes.io/version: 18.0.0-dev - helm.sh/chart: teleport-plugin-discord-18.0.0-dev + app.kubernetes.io/version: 18.0.0-dev.rustoolchain.1 + helm.sh/chart: teleport-plugin-discord-18.0.0-dev.rustoolchain.1 name: RELEASE-NAME-teleport-plugin-discord diff --git a/examples/chart/access/discord/tests/__snapshot__/deployment_test.yaml.snap b/examples/chart/access/discord/tests/__snapshot__/deployment_test.yaml.snap index cf255389b1d94..e235a32b6a750 100644 --- a/examples/chart/access/discord/tests/__snapshot__/deployment_test.yaml.snap +++ b/examples/chart/access/discord/tests/__snapshot__/deployment_test.yaml.snap @@ -7,8 +7,8 @@ should match the snapshot: app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: teleport-plugin-discord - app.kubernetes.io/version: 18.0.0-dev - helm.sh/chart: teleport-plugin-discord-18.0.0-dev + app.kubernetes.io/version: 18.0.0-dev.rustoolchain.1 + helm.sh/chart: teleport-plugin-discord-18.0.0-dev.rustoolchain.1 name: RELEASE-NAME-teleport-plugin-discord spec: replicas: 1 @@ -22,8 +22,8 @@ should match the snapshot: app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: teleport-plugin-discord - app.kubernetes.io/version: 18.0.0-dev - helm.sh/chart: teleport-plugin-discord-18.0.0-dev + app.kubernetes.io/version: 18.0.0-dev.rustoolchain.1 + helm.sh/chart: teleport-plugin-discord-18.0.0-dev.rustoolchain.1 spec: containers: - command: diff --git a/examples/chart/access/email/Chart.yaml b/examples/chart/access/email/Chart.yaml index 0f661981e882a..244b2a0167b12 100644 --- a/examples/chart/access/email/Chart.yaml +++ b/examples/chart/access/email/Chart.yaml @@ -1,4 +1,4 @@ -.version: &version "18.0.0-dev" +.version: &version "18.0.0-dev.rustoolchain.1" apiVersion: v2 name: teleport-plugin-email diff --git a/examples/chart/access/email/tests/__snapshot__/configmap_test.yaml.snap b/examples/chart/access/email/tests/__snapshot__/configmap_test.yaml.snap index 7e8b22428edd0..ed883f487e615 100644 --- a/examples/chart/access/email/tests/__snapshot__/configmap_test.yaml.snap +++ b/examples/chart/access/email/tests/__snapshot__/configmap_test.yaml.snap @@ -26,8 +26,8 @@ should match the snapshot (mailgun on): app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: teleport-plugin-email - app.kubernetes.io/version: 18.0.0-dev - helm.sh/chart: teleport-plugin-email-18.0.0-dev + app.kubernetes.io/version: 18.0.0-dev.rustoolchain.1 + helm.sh/chart: teleport-plugin-email-18.0.0-dev.rustoolchain.1 name: RELEASE-NAME-teleport-plugin-email should match the snapshot (smtp on): 1: | @@ -59,8 +59,8 @@ should match the snapshot (smtp on): app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: teleport-plugin-email - app.kubernetes.io/version: 18.0.0-dev - helm.sh/chart: teleport-plugin-email-18.0.0-dev + app.kubernetes.io/version: 18.0.0-dev.rustoolchain.1 + helm.sh/chart: teleport-plugin-email-18.0.0-dev.rustoolchain.1 name: RELEASE-NAME-teleport-plugin-email should match the snapshot (smtp on, no starttls): 1: | @@ -92,8 +92,8 @@ should match the snapshot (smtp on, no starttls): app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: teleport-plugin-email - app.kubernetes.io/version: 18.0.0-dev - helm.sh/chart: teleport-plugin-email-18.0.0-dev + app.kubernetes.io/version: 18.0.0-dev.rustoolchain.1 + helm.sh/chart: teleport-plugin-email-18.0.0-dev.rustoolchain.1 name: RELEASE-NAME-teleport-plugin-email should match the snapshot (smtp on, password file): 1: | @@ -125,8 +125,8 @@ should match the snapshot (smtp on, password file): app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: teleport-plugin-email - app.kubernetes.io/version: 18.0.0-dev - helm.sh/chart: teleport-plugin-email-18.0.0-dev + app.kubernetes.io/version: 18.0.0-dev.rustoolchain.1 + helm.sh/chart: teleport-plugin-email-18.0.0-dev.rustoolchain.1 name: RELEASE-NAME-teleport-plugin-email should match the snapshot (smtp on, roleToRecipients set): 1: | @@ -161,8 +161,8 @@ should match the snapshot (smtp on, roleToRecipients set): app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: teleport-plugin-email - app.kubernetes.io/version: 18.0.0-dev - helm.sh/chart: teleport-plugin-email-18.0.0-dev + app.kubernetes.io/version: 18.0.0-dev.rustoolchain.1 + helm.sh/chart: teleport-plugin-email-18.0.0-dev.rustoolchain.1 name: RELEASE-NAME-teleport-plugin-email should match the snapshot (smtp on, starttls disabled): 1: | @@ -194,6 +194,6 @@ should match the snapshot (smtp on, starttls disabled): app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: teleport-plugin-email - app.kubernetes.io/version: 18.0.0-dev - helm.sh/chart: teleport-plugin-email-18.0.0-dev + app.kubernetes.io/version: 18.0.0-dev.rustoolchain.1 + helm.sh/chart: teleport-plugin-email-18.0.0-dev.rustoolchain.1 name: RELEASE-NAME-teleport-plugin-email diff --git a/examples/chart/access/email/tests/__snapshot__/deployment_test.yaml.snap b/examples/chart/access/email/tests/__snapshot__/deployment_test.yaml.snap index a00d0d6644629..921e7d06ebd6b 100644 --- a/examples/chart/access/email/tests/__snapshot__/deployment_test.yaml.snap +++ b/examples/chart/access/email/tests/__snapshot__/deployment_test.yaml.snap @@ -7,8 +7,8 @@ should be possible to override volume name (smtp on): app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: teleport-plugin-email - app.kubernetes.io/version: 18.0.0-dev - helm.sh/chart: teleport-plugin-email-18.0.0-dev + app.kubernetes.io/version: 18.0.0-dev.rustoolchain.1 + helm.sh/chart: teleport-plugin-email-18.0.0-dev.rustoolchain.1 name: RELEASE-NAME-teleport-plugin-email spec: replicas: 1 @@ -22,8 +22,8 @@ should be possible to override volume name (smtp on): app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: teleport-plugin-email - app.kubernetes.io/version: 18.0.0-dev - helm.sh/chart: teleport-plugin-email-18.0.0-dev + app.kubernetes.io/version: 18.0.0-dev.rustoolchain.1 + helm.sh/chart: teleport-plugin-email-18.0.0-dev.rustoolchain.1 spec: containers: - command: @@ -34,7 +34,7 @@ should be possible to override volume name (smtp on): env: - name: TELEPORT_PLUGIN_FAIL_FAST value: "true" - image: public.ecr.aws/gravitational/teleport-plugin-email:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-plugin-email:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent name: teleport-plugin-email ports: @@ -75,8 +75,8 @@ should match the snapshot: app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: teleport-plugin-email - app.kubernetes.io/version: 18.0.0-dev - helm.sh/chart: teleport-plugin-email-18.0.0-dev + app.kubernetes.io/version: 18.0.0-dev.rustoolchain.1 + helm.sh/chart: teleport-plugin-email-18.0.0-dev.rustoolchain.1 name: RELEASE-NAME-teleport-plugin-email spec: replicas: 1 @@ -90,8 +90,8 @@ should match the snapshot: app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: teleport-plugin-email - app.kubernetes.io/version: 18.0.0-dev - helm.sh/chart: teleport-plugin-email-18.0.0-dev + app.kubernetes.io/version: 18.0.0-dev.rustoolchain.1 + helm.sh/chart: teleport-plugin-email-18.0.0-dev.rustoolchain.1 spec: containers: - command: @@ -136,8 +136,8 @@ should match the snapshot (mailgun on): app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: teleport-plugin-email - app.kubernetes.io/version: 18.0.0-dev - helm.sh/chart: teleport-plugin-email-18.0.0-dev + app.kubernetes.io/version: 18.0.0-dev.rustoolchain.1 + helm.sh/chart: teleport-plugin-email-18.0.0-dev.rustoolchain.1 name: RELEASE-NAME-teleport-plugin-email spec: replicas: 1 @@ -151,8 +151,8 @@ should match the snapshot (mailgun on): app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: teleport-plugin-email - app.kubernetes.io/version: 18.0.0-dev - helm.sh/chart: teleport-plugin-email-18.0.0-dev + app.kubernetes.io/version: 18.0.0-dev.rustoolchain.1 + helm.sh/chart: teleport-plugin-email-18.0.0-dev.rustoolchain.1 spec: containers: - command: @@ -163,7 +163,7 @@ should match the snapshot (mailgun on): env: - name: TELEPORT_PLUGIN_FAIL_FAST value: "true" - image: public.ecr.aws/gravitational/teleport-plugin-email:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-plugin-email:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent name: teleport-plugin-email ports: @@ -204,8 +204,8 @@ should match the snapshot (smtp on): app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: teleport-plugin-email - app.kubernetes.io/version: 18.0.0-dev - helm.sh/chart: teleport-plugin-email-18.0.0-dev + app.kubernetes.io/version: 18.0.0-dev.rustoolchain.1 + helm.sh/chart: teleport-plugin-email-18.0.0-dev.rustoolchain.1 name: RELEASE-NAME-teleport-plugin-email spec: replicas: 1 @@ -219,8 +219,8 @@ should match the snapshot (smtp on): app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: teleport-plugin-email - app.kubernetes.io/version: 18.0.0-dev - helm.sh/chart: teleport-plugin-email-18.0.0-dev + app.kubernetes.io/version: 18.0.0-dev.rustoolchain.1 + helm.sh/chart: teleport-plugin-email-18.0.0-dev.rustoolchain.1 spec: containers: - command: @@ -231,7 +231,7 @@ should match the snapshot (smtp on): env: - name: TELEPORT_PLUGIN_FAIL_FAST value: "true" - image: public.ecr.aws/gravitational/teleport-plugin-email:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-plugin-email:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent name: teleport-plugin-email ports: @@ -272,8 +272,8 @@ should mount external secret (mailgun on): app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: teleport-plugin-email - app.kubernetes.io/version: 18.0.0-dev - helm.sh/chart: teleport-plugin-email-18.0.0-dev + app.kubernetes.io/version: 18.0.0-dev.rustoolchain.1 + helm.sh/chart: teleport-plugin-email-18.0.0-dev.rustoolchain.1 name: RELEASE-NAME-teleport-plugin-email spec: replicas: 1 @@ -287,8 +287,8 @@ should mount external secret (mailgun on): app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: teleport-plugin-email - app.kubernetes.io/version: 18.0.0-dev - helm.sh/chart: teleport-plugin-email-18.0.0-dev + app.kubernetes.io/version: 18.0.0-dev.rustoolchain.1 + helm.sh/chart: teleport-plugin-email-18.0.0-dev.rustoolchain.1 spec: containers: - command: @@ -299,7 +299,7 @@ should mount external secret (mailgun on): env: - name: TELEPORT_PLUGIN_FAIL_FAST value: "true" - image: public.ecr.aws/gravitational/teleport-plugin-email:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-plugin-email:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent name: teleport-plugin-email ports: @@ -340,8 +340,8 @@ should mount external secret (smtp on): app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: teleport-plugin-email - app.kubernetes.io/version: 18.0.0-dev - helm.sh/chart: teleport-plugin-email-18.0.0-dev + app.kubernetes.io/version: 18.0.0-dev.rustoolchain.1 + helm.sh/chart: teleport-plugin-email-18.0.0-dev.rustoolchain.1 name: RELEASE-NAME-teleport-plugin-email spec: replicas: 1 @@ -355,8 +355,8 @@ should mount external secret (smtp on): app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: teleport-plugin-email - app.kubernetes.io/version: 18.0.0-dev - helm.sh/chart: teleport-plugin-email-18.0.0-dev + app.kubernetes.io/version: 18.0.0-dev.rustoolchain.1 + helm.sh/chart: teleport-plugin-email-18.0.0-dev.rustoolchain.1 spec: containers: - command: @@ -367,7 +367,7 @@ should mount external secret (smtp on): env: - name: TELEPORT_PLUGIN_FAIL_FAST value: "true" - image: public.ecr.aws/gravitational/teleport-plugin-email:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-plugin-email:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent name: teleport-plugin-email ports: diff --git a/examples/chart/access/jira/Chart.yaml b/examples/chart/access/jira/Chart.yaml index 7efa93cb9eb86..ca875582d69d6 100644 --- a/examples/chart/access/jira/Chart.yaml +++ b/examples/chart/access/jira/Chart.yaml @@ -1,4 +1,4 @@ -.version: &version "18.0.0-dev" +.version: &version "18.0.0-dev.rustoolchain.1" apiVersion: v2 name: teleport-plugin-jira diff --git a/examples/chart/access/jira/tests/__snapshot__/configmap_test.yaml.snap b/examples/chart/access/jira/tests/__snapshot__/configmap_test.yaml.snap index c3eb26a29fb70..667e0beb2ab3f 100644 --- a/examples/chart/access/jira/tests/__snapshot__/configmap_test.yaml.snap +++ b/examples/chart/access/jira/tests/__snapshot__/configmap_test.yaml.snap @@ -32,6 +32,6 @@ should match the snapshot (smtp on): app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: teleport-plugin-jira - app.kubernetes.io/version: 18.0.0-dev - helm.sh/chart: teleport-plugin-jira-18.0.0-dev + app.kubernetes.io/version: 18.0.0-dev.rustoolchain.1 + helm.sh/chart: teleport-plugin-jira-18.0.0-dev.rustoolchain.1 name: RELEASE-NAME-teleport-plugin-jira diff --git a/examples/chart/access/jira/tests/__snapshot__/deployment_test.yaml.snap b/examples/chart/access/jira/tests/__snapshot__/deployment_test.yaml.snap index 6beb3d5e41d09..b968fd0fcbb43 100644 --- a/examples/chart/access/jira/tests/__snapshot__/deployment_test.yaml.snap +++ b/examples/chart/access/jira/tests/__snapshot__/deployment_test.yaml.snap @@ -7,8 +7,8 @@ should match the snapshot: app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: teleport-plugin-jira - app.kubernetes.io/version: 18.0.0-dev - helm.sh/chart: teleport-plugin-jira-18.0.0-dev + app.kubernetes.io/version: 18.0.0-dev.rustoolchain.1 + helm.sh/chart: teleport-plugin-jira-18.0.0-dev.rustoolchain.1 name: RELEASE-NAME-teleport-plugin-jira spec: replicas: 1 @@ -22,8 +22,8 @@ should match the snapshot: app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: teleport-plugin-jira - app.kubernetes.io/version: 18.0.0-dev - helm.sh/chart: teleport-plugin-jira-18.0.0-dev + app.kubernetes.io/version: 18.0.0-dev.rustoolchain.1 + helm.sh/chart: teleport-plugin-jira-18.0.0-dev.rustoolchain.1 spec: containers: - command: diff --git a/examples/chart/access/mattermost/Chart.yaml b/examples/chart/access/mattermost/Chart.yaml index 074f9ca626108..de0d0f543715b 100644 --- a/examples/chart/access/mattermost/Chart.yaml +++ b/examples/chart/access/mattermost/Chart.yaml @@ -1,4 +1,4 @@ -.version: &version "18.0.0-dev" +.version: &version "18.0.0-dev.rustoolchain.1" apiVersion: v2 name: teleport-plugin-mattermost diff --git a/examples/chart/access/mattermost/tests/__snapshot__/configmap_test.yaml.snap b/examples/chart/access/mattermost/tests/__snapshot__/configmap_test.yaml.snap index 770c441b8ac59..9e2cf0219e66c 100644 --- a/examples/chart/access/mattermost/tests/__snapshot__/configmap_test.yaml.snap +++ b/examples/chart/access/mattermost/tests/__snapshot__/configmap_test.yaml.snap @@ -22,6 +22,6 @@ should match the snapshot: app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: teleport-plugin-mattermost - app.kubernetes.io/version: 18.0.0-dev - helm.sh/chart: teleport-plugin-mattermost-18.0.0-dev + app.kubernetes.io/version: 18.0.0-dev.rustoolchain.1 + helm.sh/chart: teleport-plugin-mattermost-18.0.0-dev.rustoolchain.1 name: RELEASE-NAME-teleport-plugin-mattermost diff --git a/examples/chart/access/mattermost/tests/__snapshot__/deployment_test.yaml.snap b/examples/chart/access/mattermost/tests/__snapshot__/deployment_test.yaml.snap index b087c6fe56263..2f0c945a68713 100644 --- a/examples/chart/access/mattermost/tests/__snapshot__/deployment_test.yaml.snap +++ b/examples/chart/access/mattermost/tests/__snapshot__/deployment_test.yaml.snap @@ -7,8 +7,8 @@ should match the snapshot: app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: teleport-plugin-mattermost - app.kubernetes.io/version: 18.0.0-dev - helm.sh/chart: teleport-plugin-mattermost-18.0.0-dev + app.kubernetes.io/version: 18.0.0-dev.rustoolchain.1 + helm.sh/chart: teleport-plugin-mattermost-18.0.0-dev.rustoolchain.1 name: RELEASE-NAME-teleport-plugin-mattermost spec: replicas: 1 @@ -22,8 +22,8 @@ should match the snapshot: app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: teleport-plugin-mattermost - app.kubernetes.io/version: 18.0.0-dev - helm.sh/chart: teleport-plugin-mattermost-18.0.0-dev + app.kubernetes.io/version: 18.0.0-dev.rustoolchain.1 + helm.sh/chart: teleport-plugin-mattermost-18.0.0-dev.rustoolchain.1 spec: containers: - command: @@ -75,8 +75,8 @@ should mount external secret: app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: teleport-plugin-mattermost - app.kubernetes.io/version: 18.0.0-dev - helm.sh/chart: teleport-plugin-mattermost-18.0.0-dev + app.kubernetes.io/version: 18.0.0-dev.rustoolchain.1 + helm.sh/chart: teleport-plugin-mattermost-18.0.0-dev.rustoolchain.1 name: RELEASE-NAME-teleport-plugin-mattermost spec: replicas: 1 @@ -90,8 +90,8 @@ should mount external secret: app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: teleport-plugin-mattermost - app.kubernetes.io/version: 18.0.0-dev - helm.sh/chart: teleport-plugin-mattermost-18.0.0-dev + app.kubernetes.io/version: 18.0.0-dev.rustoolchain.1 + helm.sh/chart: teleport-plugin-mattermost-18.0.0-dev.rustoolchain.1 spec: containers: - command: @@ -102,7 +102,7 @@ should mount external secret: env: - name: TELEPORT_PLUGIN_FAIL_FAST value: "true" - image: public.ecr.aws/gravitational/teleport-plugin-mattermost:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-plugin-mattermost:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent name: teleport-plugin-mattermost ports: @@ -143,8 +143,8 @@ should override volume name: app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: teleport-plugin-mattermost - app.kubernetes.io/version: 18.0.0-dev - helm.sh/chart: teleport-plugin-mattermost-18.0.0-dev + app.kubernetes.io/version: 18.0.0-dev.rustoolchain.1 + helm.sh/chart: teleport-plugin-mattermost-18.0.0-dev.rustoolchain.1 name: RELEASE-NAME-teleport-plugin-mattermost spec: replicas: 1 @@ -158,8 +158,8 @@ should override volume name: app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: teleport-plugin-mattermost - app.kubernetes.io/version: 18.0.0-dev - helm.sh/chart: teleport-plugin-mattermost-18.0.0-dev + app.kubernetes.io/version: 18.0.0-dev.rustoolchain.1 + helm.sh/chart: teleport-plugin-mattermost-18.0.0-dev.rustoolchain.1 spec: containers: - command: @@ -170,7 +170,7 @@ should override volume name: env: - name: TELEPORT_PLUGIN_FAIL_FAST value: "true" - image: public.ecr.aws/gravitational/teleport-plugin-mattermost:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-plugin-mattermost:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent name: teleport-plugin-mattermost ports: diff --git a/examples/chart/access/msteams/Chart.yaml b/examples/chart/access/msteams/Chart.yaml index efa37f9118153..3026449433366 100644 --- a/examples/chart/access/msteams/Chart.yaml +++ b/examples/chart/access/msteams/Chart.yaml @@ -1,4 +1,4 @@ -.version: &version "18.0.0-dev" +.version: &version "18.0.0-dev.rustoolchain.1" apiVersion: v2 name: teleport-plugin-msteams diff --git a/examples/chart/access/msteams/tests/__snapshot__/configmap_test.yaml.snap b/examples/chart/access/msteams/tests/__snapshot__/configmap_test.yaml.snap index 9823f589ccdf6..fbba2250490ae 100644 --- a/examples/chart/access/msteams/tests/__snapshot__/configmap_test.yaml.snap +++ b/examples/chart/access/msteams/tests/__snapshot__/configmap_test.yaml.snap @@ -29,6 +29,6 @@ should match the snapshot: app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: teleport-plugin-msteams - app.kubernetes.io/version: 18.0.0-dev - helm.sh/chart: teleport-plugin-msteams-18.0.0-dev + app.kubernetes.io/version: 18.0.0-dev.rustoolchain.1 + helm.sh/chart: teleport-plugin-msteams-18.0.0-dev.rustoolchain.1 name: RELEASE-NAME-teleport-plugin-msteams diff --git a/examples/chart/access/msteams/tests/__snapshot__/deployment_test.yaml.snap b/examples/chart/access/msteams/tests/__snapshot__/deployment_test.yaml.snap index b1b3c735e173c..8b816cc92aa13 100644 --- a/examples/chart/access/msteams/tests/__snapshot__/deployment_test.yaml.snap +++ b/examples/chart/access/msteams/tests/__snapshot__/deployment_test.yaml.snap @@ -7,8 +7,8 @@ should match the snapshot: app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: teleport-plugin-msteams - app.kubernetes.io/version: 18.0.0-dev - helm.sh/chart: teleport-plugin-msteams-18.0.0-dev + app.kubernetes.io/version: 18.0.0-dev.rustoolchain.1 + helm.sh/chart: teleport-plugin-msteams-18.0.0-dev.rustoolchain.1 name: RELEASE-NAME-teleport-plugin-msteams spec: replicas: 1 @@ -22,8 +22,8 @@ should match the snapshot: app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: teleport-plugin-msteams - app.kubernetes.io/version: 18.0.0-dev - helm.sh/chart: teleport-plugin-msteams-18.0.0-dev + app.kubernetes.io/version: 18.0.0-dev.rustoolchain.1 + helm.sh/chart: teleport-plugin-msteams-18.0.0-dev.rustoolchain.1 spec: containers: - command: diff --git a/examples/chart/access/pagerduty/Chart.yaml b/examples/chart/access/pagerduty/Chart.yaml index 721e204baa89b..caead33ed35f7 100644 --- a/examples/chart/access/pagerduty/Chart.yaml +++ b/examples/chart/access/pagerduty/Chart.yaml @@ -1,4 +1,4 @@ -.version: &version "18.0.0-dev" +.version: &version "18.0.0-dev.rustoolchain.1" apiVersion: v2 name: teleport-plugin-pagerduty diff --git a/examples/chart/access/pagerduty/tests/__snapshot__/configmap_test.yaml.snap b/examples/chart/access/pagerduty/tests/__snapshot__/configmap_test.yaml.snap index 7b5b7d971c412..02314e430ae19 100644 --- a/examples/chart/access/pagerduty/tests/__snapshot__/configmap_test.yaml.snap +++ b/examples/chart/access/pagerduty/tests/__snapshot__/configmap_test.yaml.snap @@ -21,6 +21,6 @@ should match the snapshot (smtp on): app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: teleport-plugin-pagerduty - app.kubernetes.io/version: 18.0.0-dev - helm.sh/chart: teleport-plugin-pagerduty-18.0.0-dev + app.kubernetes.io/version: 18.0.0-dev.rustoolchain.1 + helm.sh/chart: teleport-plugin-pagerduty-18.0.0-dev.rustoolchain.1 name: RELEASE-NAME-teleport-plugin-pagerduty diff --git a/examples/chart/access/pagerduty/tests/__snapshot__/deployment_test.yaml.snap b/examples/chart/access/pagerduty/tests/__snapshot__/deployment_test.yaml.snap index fc4b46644d074..ac8b49faa78fc 100644 --- a/examples/chart/access/pagerduty/tests/__snapshot__/deployment_test.yaml.snap +++ b/examples/chart/access/pagerduty/tests/__snapshot__/deployment_test.yaml.snap @@ -7,8 +7,8 @@ should match the snapshot: app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: teleport-plugin-pagerduty - app.kubernetes.io/version: 18.0.0-dev - helm.sh/chart: teleport-plugin-pagerduty-18.0.0-dev + app.kubernetes.io/version: 18.0.0-dev.rustoolchain.1 + helm.sh/chart: teleport-plugin-pagerduty-18.0.0-dev.rustoolchain.1 name: RELEASE-NAME-teleport-plugin-pagerduty spec: replicas: 1 @@ -22,8 +22,8 @@ should match the snapshot: app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: teleport-plugin-pagerduty - app.kubernetes.io/version: 18.0.0-dev - helm.sh/chart: teleport-plugin-pagerduty-18.0.0-dev + app.kubernetes.io/version: 18.0.0-dev.rustoolchain.1 + helm.sh/chart: teleport-plugin-pagerduty-18.0.0-dev.rustoolchain.1 spec: containers: - command: diff --git a/examples/chart/access/slack/Chart.yaml b/examples/chart/access/slack/Chart.yaml index 7d4b14b6be3c4..7be3204155a4b 100644 --- a/examples/chart/access/slack/Chart.yaml +++ b/examples/chart/access/slack/Chart.yaml @@ -1,4 +1,4 @@ -.version: &version "18.0.0-dev" +.version: &version "18.0.0-dev.rustoolchain.1" apiVersion: v2 name: teleport-plugin-slack diff --git a/examples/chart/access/slack/tests/__snapshot__/configmap_test.yaml.snap b/examples/chart/access/slack/tests/__snapshot__/configmap_test.yaml.snap index 734127f067b8c..e9079fd7bd371 100644 --- a/examples/chart/access/slack/tests/__snapshot__/configmap_test.yaml.snap +++ b/examples/chart/access/slack/tests/__snapshot__/configmap_test.yaml.snap @@ -24,6 +24,6 @@ should match the snapshot: app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: teleport-plugin-slack - app.kubernetes.io/version: 18.0.0-dev - helm.sh/chart: teleport-plugin-slack-18.0.0-dev + app.kubernetes.io/version: 18.0.0-dev.rustoolchain.1 + helm.sh/chart: teleport-plugin-slack-18.0.0-dev.rustoolchain.1 name: RELEASE-NAME-teleport-plugin-slack diff --git a/examples/chart/access/slack/tests/__snapshot__/deployment_test.yaml.snap b/examples/chart/access/slack/tests/__snapshot__/deployment_test.yaml.snap index 0dc816f98e1ad..584f371748944 100644 --- a/examples/chart/access/slack/tests/__snapshot__/deployment_test.yaml.snap +++ b/examples/chart/access/slack/tests/__snapshot__/deployment_test.yaml.snap @@ -7,8 +7,8 @@ should match the snapshot: app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: teleport-plugin-slack - app.kubernetes.io/version: 18.0.0-dev - helm.sh/chart: teleport-plugin-slack-18.0.0-dev + app.kubernetes.io/version: 18.0.0-dev.rustoolchain.1 + helm.sh/chart: teleport-plugin-slack-18.0.0-dev.rustoolchain.1 name: RELEASE-NAME-teleport-plugin-slack spec: replicas: 1 @@ -22,8 +22,8 @@ should match the snapshot: app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: teleport-plugin-slack - app.kubernetes.io/version: 18.0.0-dev - helm.sh/chart: teleport-plugin-slack-18.0.0-dev + app.kubernetes.io/version: 18.0.0-dev.rustoolchain.1 + helm.sh/chart: teleport-plugin-slack-18.0.0-dev.rustoolchain.1 spec: containers: - command: diff --git a/examples/chart/event-handler/Chart.yaml b/examples/chart/event-handler/Chart.yaml index 45d3d52a5bfcd..205d42309d8d8 100644 --- a/examples/chart/event-handler/Chart.yaml +++ b/examples/chart/event-handler/Chart.yaml @@ -1,4 +1,4 @@ -.version: &version "18.0.0-dev" +.version: &version "18.0.0-dev.rustoolchain.1" apiVersion: v2 name: teleport-plugin-event-handler diff --git a/examples/chart/event-handler/tests/__snapshot__/configmap_test.yaml.snap b/examples/chart/event-handler/tests/__snapshot__/configmap_test.yaml.snap index 96c2b224a922f..bcd7f7f568687 100644 --- a/examples/chart/event-handler/tests/__snapshot__/configmap_test.yaml.snap +++ b/examples/chart/event-handler/tests/__snapshot__/configmap_test.yaml.snap @@ -26,6 +26,6 @@ should match the snapshot: app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: teleport-plugin-event-handler - app.kubernetes.io/version: 18.0.0-dev - helm.sh/chart: teleport-plugin-event-handler-18.0.0-dev + app.kubernetes.io/version: 18.0.0-dev.rustoolchain.1 + helm.sh/chart: teleport-plugin-event-handler-18.0.0-dev.rustoolchain.1 name: RELEASE-NAME-teleport-plugin-event-handler diff --git a/examples/chart/event-handler/tests/__snapshot__/deployment_test.yaml.snap b/examples/chart/event-handler/tests/__snapshot__/deployment_test.yaml.snap index 8e4c4a3071659..5ce4eef931c22 100644 --- a/examples/chart/event-handler/tests/__snapshot__/deployment_test.yaml.snap +++ b/examples/chart/event-handler/tests/__snapshot__/deployment_test.yaml.snap @@ -7,8 +7,8 @@ should match the snapshot: app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: teleport-plugin-event-handler - app.kubernetes.io/version: 18.0.0-dev - helm.sh/chart: teleport-plugin-event-handler-18.0.0-dev + app.kubernetes.io/version: 18.0.0-dev.rustoolchain.1 + helm.sh/chart: teleport-plugin-event-handler-18.0.0-dev.rustoolchain.1 name: RELEASE-NAME-teleport-plugin-event-handler spec: replicas: 1 @@ -82,7 +82,7 @@ should mount tls.existingCASecretName and set environment when set in values: value: "true" - name: SSL_CERT_FILE value: /etc/teleport-tls-ca/ca.pem - image: public.ecr.aws/gravitational/teleport-plugin-event-handler:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-plugin-event-handler:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent name: teleport-plugin-event-handler ports: diff --git a/examples/chart/tbot/Chart.yaml b/examples/chart/tbot/Chart.yaml index 572025c41c937..5c718840277e3 100644 --- a/examples/chart/tbot/Chart.yaml +++ b/examples/chart/tbot/Chart.yaml @@ -1,4 +1,4 @@ -.version: &version "18.0.0-dev" +.version: &version "18.0.0-dev.rustoolchain.1" name: tbot apiVersion: v2 diff --git a/examples/chart/tbot/tests/__snapshot__/deployment_test.yaml.snap b/examples/chart/tbot/tests/__snapshot__/deployment_test.yaml.snap index 9d0bbe3716956..c0c066c7bfc17 100644 --- a/examples/chart/tbot/tests/__snapshot__/deployment_test.yaml.snap +++ b/examples/chart/tbot/tests/__snapshot__/deployment_test.yaml.snap @@ -29,7 +29,7 @@ should match the snapshot (full): app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: tbot - helm.sh/chart: tbot-18.0.0-dev + helm.sh/chart: tbot-18.0.0-dev.rustoolchain.1 test-key: test-label-pod spec: affinity: @@ -68,7 +68,7 @@ should match the snapshot (full): value: "1" - name: TEST_ENV value: test-value - image: public.ecr.aws/gravitational/tbot-distroless:18.0.0-dev + image: public.ecr.aws/gravitational/tbot-distroless:18.0.0-dev.rustoolchain.1 imagePullPolicy: Always livenessProbe: failureThreshold: 6 @@ -154,7 +154,7 @@ should match the snapshot (simple): app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: tbot - helm.sh/chart: tbot-18.0.0-dev + helm.sh/chart: tbot-18.0.0-dev.rustoolchain.1 spec: containers: - args: @@ -176,7 +176,7 @@ should match the snapshot (simple): fieldPath: spec.nodeName - name: KUBERNETES_TOKEN_PATH value: /var/run/secrets/tokens/join-sa-token - image: public.ecr.aws/gravitational/tbot-distroless:18.0.0-dev + image: public.ecr.aws/gravitational/tbot-distroless:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 diff --git a/examples/chart/teleport-cluster/Chart.yaml b/examples/chart/teleport-cluster/Chart.yaml index f9f5e800d3714..12752acaad1a5 100644 --- a/examples/chart/teleport-cluster/Chart.yaml +++ b/examples/chart/teleport-cluster/Chart.yaml @@ -1,4 +1,4 @@ -.version: &version "18.0.0-dev" +.version: &version "18.0.0-dev.rustoolchain.1" 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 0cdeac0816dcc..8dc9ad36943ca 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 "18.0.0-dev" +.version: &version "18.0.0-dev.rustoolchain.1" name: teleport-operator apiVersion: v2 diff --git a/examples/chart/teleport-cluster/tests/__snapshot__/auth_clusterrole_test.yaml.snap b/examples/chart/teleport-cluster/tests/__snapshot__/auth_clusterrole_test.yaml.snap index 6ccb7b5467fce..62d135b8ee3be 100644 --- a/examples/chart/teleport-cluster/tests/__snapshot__/auth_clusterrole_test.yaml.snap +++ b/examples/chart/teleport-cluster/tests/__snapshot__/auth_clusterrole_test.yaml.snap @@ -8,8 +8,8 @@ adds operator permissions to ClusterRole: app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: teleport-cluster - app.kubernetes.io/version: 18.0.0-dev - helm.sh/chart: teleport-cluster-18.0.0-dev + app.kubernetes.io/version: 18.0.0-dev.rustoolchain.1 + helm.sh/chart: teleport-cluster-18.0.0-dev.rustoolchain.1 teleport.dev/majorVersion: "18" name: RELEASE-NAME rules: diff --git a/examples/chart/teleport-cluster/tests/__snapshot__/auth_config_test.yaml.snap b/examples/chart/teleport-cluster/tests/__snapshot__/auth_config_test.yaml.snap index a5d5f9fffba3b..ecf35be332cb6 100644 --- a/examples/chart/teleport-cluster/tests/__snapshot__/auth_config_test.yaml.snap +++ b/examples/chart/teleport-cluster/tests/__snapshot__/auth_config_test.yaml.snap @@ -1848,8 +1848,8 @@ sets clusterDomain on Configmap: app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: teleport-cluster - app.kubernetes.io/version: 18.0.0-dev - helm.sh/chart: teleport-cluster-18.0.0-dev + app.kubernetes.io/version: 18.0.0-dev.rustoolchain.1 + helm.sh/chart: teleport-cluster-18.0.0-dev.rustoolchain.1 teleport.dev/majorVersion: "18" name: RELEASE-NAME-auth namespace: NAMESPACE 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 629314d35e4de..0d95323cf9967 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:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 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:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 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:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 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:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent lifecycle: preStop: diff --git a/examples/chart/teleport-cluster/tests/__snapshot__/proxy_config_test.yaml.snap b/examples/chart/teleport-cluster/tests/__snapshot__/proxy_config_test.yaml.snap index bd048d4cad03b..aa5a6c3dadab5 100644 --- a/examples/chart/teleport-cluster/tests/__snapshot__/proxy_config_test.yaml.snap +++ b/examples/chart/teleport-cluster/tests/__snapshot__/proxy_config_test.yaml.snap @@ -567,8 +567,8 @@ sets clusterDomain on Configmap: app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: teleport-cluster - app.kubernetes.io/version: 18.0.0-dev - helm.sh/chart: teleport-cluster-18.0.0-dev + app.kubernetes.io/version: 18.0.0-dev.rustoolchain.1 + helm.sh/chart: teleport-cluster-18.0.0-dev.rustoolchain.1 teleport.dev/majorVersion: "18" name: RELEASE-NAME-proxy namespace: NAMESPACE 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 d7cdea4ff9e27..79dc64e053d59 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 @@ -11,8 +11,8 @@ sets clusterDomain on Deployment Pods: app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: teleport-cluster - app.kubernetes.io/version: 18.0.0-dev - helm.sh/chart: teleport-cluster-18.0.0-dev + app.kubernetes.io/version: 18.0.0-dev.rustoolchain.1 + helm.sh/chart: teleport-cluster-18.0.0-dev.rustoolchain.1 teleport.dev/majorVersion: "18" name: RELEASE-NAME-proxy namespace: NAMESPACE @@ -26,7 +26,7 @@ sets clusterDomain on Deployment Pods: template: metadata: annotations: - checksum/config: 5cee21778063eafa4687da4372a09f8c752ea114a3cee79883d96f9f15c14eb1 + checksum/config: dcbdd6ecf4e52cdb843429c8959595f81d9725cf9eca5b94cb9e7f3ad133c470 kubernetes.io/pod: test-annotation kubernetes.io/pod-different: 4 labels: @@ -34,8 +34,8 @@ sets clusterDomain on Deployment Pods: app.kubernetes.io/instance: RELEASE-NAME app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: teleport-cluster - app.kubernetes.io/version: 18.0.0-dev - helm.sh/chart: teleport-cluster-18.0.0-dev + app.kubernetes.io/version: 18.0.0-dev.rustoolchain.1 + helm.sh/chart: teleport-cluster-18.0.0-dev.rustoolchain.1 teleport.dev/majorVersion: "18" spec: affinity: @@ -44,7 +44,7 @@ sets clusterDomain on Deployment Pods: containers: - args: - --diag-addr=0.0.0.0:3000 - image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent lifecycle: preStop: @@ -105,7 +105,7 @@ sets clusterDomain on Deployment Pods: - wait - no-resolve - RELEASE-NAME-auth-v17.NAMESPACE.svc.test.com - image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 name: wait-auth-update serviceAccountName: RELEASE-NAME-proxy terminationGracePeriodSeconds: 60 @@ -137,7 +137,7 @@ should provision initContainer correctly when set in values: - wait - no-resolve - RELEASE-NAME-auth-v17.NAMESPACE.svc.cluster.local - image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 name: wait-auth-update resources: limits: @@ -201,7 +201,7 @@ should set nodeSelector when set in values: containers: - args: - --diag-addr=0.0.0.0:3000 - image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent lifecycle: preStop: @@ -262,7 +262,7 @@ should set nodeSelector when set in values: - wait - no-resolve - RELEASE-NAME-auth-v17.NAMESPACE.svc.cluster.local - image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 name: wait-auth-update nodeSelector: environment: security @@ -313,7 +313,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:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent lifecycle: preStop: @@ -381,7 +381,7 @@ should set resources for wait-auth-update initContainer when set in values: - wait - no-resolve - RELEASE-NAME-auth-v17.NAMESPACE.svc.cluster.local - image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 name: wait-auth-update resources: limits: @@ -421,7 +421,7 @@ should set resources when set in values: containers: - args: - --diag-addr=0.0.0.0:3000 - image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent lifecycle: preStop: @@ -489,7 +489,7 @@ should set resources when set in values: - wait - no-resolve - RELEASE-NAME-auth-v17.NAMESPACE.svc.cluster.local - image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 name: wait-auth-update resources: limits: @@ -529,7 +529,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:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent lifecycle: preStop: @@ -597,7 +597,7 @@ should set securityContext for initContainers when set in values: - wait - no-resolve - RELEASE-NAME-auth-v17.NAMESPACE.svc.cluster.local - image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 name: wait-auth-update securityContext: allowPrivilegeEscalation: false @@ -637,7 +637,7 @@ should set securityContext when set in values: containers: - args: - --diag-addr=0.0.0.0:3000 - image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent lifecycle: preStop: @@ -705,7 +705,7 @@ should set securityContext when set in values: - wait - no-resolve - RELEASE-NAME-auth-v17.NAMESPACE.svc.cluster.local - image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 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 cc359d3019b83..5a861cede482f 100644 --- a/examples/chart/teleport-kube-agent/Chart.yaml +++ b/examples/chart/teleport-kube-agent/Chart.yaml @@ -1,4 +1,4 @@ -.version: &version "18.0.0-dev" +.version: &version "18.0.0-dev.rustoolchain.1" 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 e933dd7d18e57..57f34be1d0383 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 @@ -32,7 +32,7 @@ sets Deployment annotations when specified if action is Upgrade: value: "true" - name: TELEPORT_KUBE_CLUSTER_DOMAIN value: cluster.local - image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -109,7 +109,7 @@ sets Deployment labels when specified if action is Upgrade: value: "true" - name: TELEPORT_KUBE_CLUSTER_DOMAIN value: cluster.local - image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -173,7 +173,7 @@ sets Pod annotations when specified if action is Upgrade: value: "true" - name: TELEPORT_KUBE_CLUSTER_DOMAIN value: cluster.local - image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -237,7 +237,7 @@ sets Pod labels when specified if action is Upgrade: value: "true" - name: TELEPORT_KUBE_CLUSTER_DOMAIN value: cluster.local - image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -322,7 +322,7 @@ should add emptyDir for data when existingDataVolume is not set if action is Upg value: "true" - name: TELEPORT_KUBE_CLUSTER_DOMAIN value: cluster.local - image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -387,7 +387,7 @@ should add insecureSkipProxyTLSVerify to args when set in values if action is Up value: "true" - name: TELEPORT_KUBE_CLUSTER_DOMAIN value: cluster.local - image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -451,7 +451,7 @@ should correctly configure existingDataVolume when set if action is Upgrade: value: "true" - name: TELEPORT_KUBE_CLUSTER_DOMAIN value: cluster.local - image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -513,7 +513,7 @@ should expose diag port if action is Upgrade: value: "true" - name: TELEPORT_KUBE_CLUSTER_DOMAIN value: cluster.local - image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -589,7 +589,7 @@ should have multiple replicas when replicaCount is set (using .replicaCount, dep value: "true" - name: TELEPORT_KUBE_CLUSTER_DOMAIN value: cluster.local - image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -665,7 +665,7 @@ should have multiple replicas when replicaCount is set (using highAvailability.r value: "true" - name: TELEPORT_KUBE_CLUSTER_DOMAIN value: cluster.local - image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -729,7 +729,7 @@ should have one replica when replicaCount is not set if action is Upgrade: value: "true" - name: TELEPORT_KUBE_CLUSTER_DOMAIN value: cluster.local - image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -793,7 +793,7 @@ should mount extraVolumes and extraVolumeMounts if action is Upgrade: value: "true" - name: TELEPORT_KUBE_CLUSTER_DOMAIN value: cluster.local - image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -862,7 +862,7 @@ should mount jamfCredentialsSecret if it already exists and when role is jamf an value: "true" - name: TELEPORT_KUBE_CLUSTER_DOMAIN value: cluster.local - image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -932,7 +932,7 @@ should mount jamfCredentialsSecret.name when role is jamf and action is Upgrade: value: "true" - name: TELEPORT_KUBE_CLUSTER_DOMAIN value: cluster.local - image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -1004,7 +1004,7 @@ should mount tls.existingCASecretName and set environment when set in values if value: cluster.local - name: SSL_CERT_FILE value: /etc/teleport-tls-ca/ca.pem - image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -1078,7 +1078,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:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -1148,7 +1148,7 @@ should provision initContainer correctly when set in values if action is Upgrade value: "true" - name: TELEPORT_KUBE_CLUSTER_DOMAIN value: cluster.local - image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -1270,7 +1270,7 @@ should set affinity when set in values if action is Upgrade: value: "true" - name: TELEPORT_KUBE_CLUSTER_DOMAIN value: cluster.local - image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -1334,7 +1334,7 @@ should set default serviceAccountName when not set in values if action is Upgrad value: "true" - name: TELEPORT_KUBE_CLUSTER_DOMAIN value: cluster.local - image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -1411,7 +1411,7 @@ should set environment when extraEnv set in values if action is Upgrade: value: cluster.local - name: HTTPS_PROXY value: http://username:password@my.proxy.host:3128 - image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -1539,7 +1539,7 @@ should set imagePullPolicy when set in values if action is Upgrade: value: "true" - name: TELEPORT_KUBE_CLUSTER_DOMAIN value: cluster.local - image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 imagePullPolicy: Always livenessProbe: failureThreshold: 6 @@ -1603,7 +1603,7 @@ should set nodeSelector if set in values if action is Upgrade: value: "true" - name: TELEPORT_KUBE_CLUSTER_DOMAIN value: cluster.local - image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -1669,7 +1669,7 @@ should set not set priorityClassName when not set in values if action is Upgrade value: "true" - name: TELEPORT_KUBE_CLUSTER_DOMAIN value: cluster.local - image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -1745,7 +1745,7 @@ should set preferred affinity when more than one replica is used if action is Up value: "true" - name: TELEPORT_KUBE_CLUSTER_DOMAIN value: cluster.local - image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -1809,7 +1809,7 @@ should set priorityClassName when set in values if action is Upgrade: value: "true" - name: TELEPORT_KUBE_CLUSTER_DOMAIN value: cluster.local - image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -1874,7 +1874,7 @@ should set probeTimeoutSeconds when set in values if action is Upgrade: value: "true" - name: TELEPORT_KUBE_CLUSTER_DOMAIN value: cluster.local - image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -1948,7 +1948,7 @@ should set required affinity when highAvailability.requireAntiAffinity is set if value: "true" - name: TELEPORT_KUBE_CLUSTER_DOMAIN value: cluster.local - image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -2012,7 +2012,7 @@ should set resources when set in values if action is Upgrade: value: "true" - name: TELEPORT_KUBE_CLUSTER_DOMAIN value: cluster.local - image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -2083,7 +2083,7 @@ should set serviceAccountName when set in values if action is Upgrade: value: "true" - name: TELEPORT_KUBE_CLUSTER_DOMAIN value: cluster.local - image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -2147,7 +2147,7 @@ should set tolerations when set in values if action is Upgrade: value: "true" - name: TELEPORT_KUBE_CLUSTER_DOMAIN value: cluster.local - image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 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 1e86a682420e3..7afc3f4e875f4 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:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent name: post-delete-job securityContext: @@ -108,7 +108,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:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent name: post-delete-job securityContext: @@ -138,7 +138,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:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent name: post-delete-job securityContext: @@ -168,7 +168,7 @@ should set nodeSelector in post-delete hook: fieldPath: metadata.namespace - name: RELEASE_NAME value: RELEASE-NAME - image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent name: post-delete-job securityContext: @@ -200,7 +200,7 @@ should set resources in the Job's pod spec if resources is set in values: fieldPath: metadata.namespace - name: RELEASE_NAME value: RELEASE-NAME - image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent name: post-delete-job resources: 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 d11ff50cfe5b2..e16dda9c68668 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 @@ -18,7 +18,7 @@ sets Pod annotations when specified: value: RELEASE-NAME - name: TELEPORT_KUBE_CLUSTER_DOMAIN value: cluster.local - image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -91,7 +91,7 @@ sets Pod labels when specified: value: RELEASE-NAME - name: TELEPORT_KUBE_CLUSTER_DOMAIN value: cluster.local - image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -188,7 +188,7 @@ sets StatefulSet labels when specified: value: RELEASE-NAME - name: TELEPORT_KUBE_CLUSTER_DOMAIN value: cluster.local - image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -293,7 +293,7 @@ should add insecureSkipProxyTLSVerify to args when set in values: value: RELEASE-NAME - name: TELEPORT_KUBE_CLUSTER_DOMAIN value: cluster.local - image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -366,7 +366,7 @@ should add volumeClaimTemplate for data volume when using StatefulSet and action value: RELEASE-NAME - name: TELEPORT_KUBE_CLUSTER_DOMAIN value: cluster.local - image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -459,7 +459,7 @@ should add volumeClaimTemplate for data volume when using StatefulSet and is Fre value: RELEASE-NAME - name: TELEPORT_KUBE_CLUSTER_DOMAIN value: cluster.local - image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -542,7 +542,7 @@ should add volumeMount for data volume when using StatefulSet: value: RELEASE-NAME - name: TELEPORT_KUBE_CLUSTER_DOMAIN value: cluster.local - image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -615,7 +615,7 @@ should expose diag port: value: RELEASE-NAME - name: TELEPORT_KUBE_CLUSTER_DOMAIN value: cluster.local - image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -688,7 +688,7 @@ should generate Statefulset when storage is disabled and mode is a Upgrade: value: RELEASE-NAME - name: TELEPORT_KUBE_CLUSTER_DOMAIN value: cluster.local - image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -775,7 +775,7 @@ should have multiple replicas when replicaCount is set (using .replicaCount, dep value: RELEASE-NAME - name: TELEPORT_KUBE_CLUSTER_DOMAIN value: cluster.local - image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -860,7 +860,7 @@ should have multiple replicas when replicaCount is set (using highAvailability.r value: RELEASE-NAME - name: TELEPORT_KUBE_CLUSTER_DOMAIN value: cluster.local - image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -933,7 +933,7 @@ should have one replica when replicaCount is not set: value: RELEASE-NAME - name: TELEPORT_KUBE_CLUSTER_DOMAIN value: cluster.local - image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -1006,7 +1006,7 @@ should install Statefulset when storage is disabled and mode is a Fresh Install: value: RELEASE-NAME - name: TELEPORT_KUBE_CLUSTER_DOMAIN value: cluster.local - image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -1081,7 +1081,7 @@ should mount extraVolumes and extraVolumeMounts: value: RELEASE-NAME - name: TELEPORT_KUBE_CLUSTER_DOMAIN value: cluster.local - image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -1159,7 +1159,7 @@ should mount jamfCredentialsSecret if it already exists and when role is jamf: value: RELEASE-NAME - name: TELEPORT_KUBE_CLUSTER_DOMAIN value: cluster.local - image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -1240,7 +1240,7 @@ should mount jamfCredentialsSecret.name when role is jamf: value: RELEASE-NAME - name: TELEPORT_KUBE_CLUSTER_DOMAIN value: cluster.local - image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -1323,7 +1323,7 @@ should mount tls.existingCASecretName and set environment when set in values: value: cluster.local - name: SSL_CERT_FILE value: /etc/teleport-tls-ca/ca.pem - image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -1408,7 +1408,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:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -1489,7 +1489,7 @@ should not add emptyDir for data when using StatefulSet: value: RELEASE-NAME - name: TELEPORT_KUBE_CLUSTER_DOMAIN value: cluster.local - image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -1562,7 +1562,7 @@ should provision initContainer correctly when set in values: value: RELEASE-NAME - name: TELEPORT_KUBE_CLUSTER_DOMAIN value: cluster.local - image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -1693,7 +1693,7 @@ should set affinity when set in values: value: RELEASE-NAME - name: TELEPORT_KUBE_CLUSTER_DOMAIN value: cluster.local - image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -1766,7 +1766,7 @@ should set default serviceAccountName when not set in values: value: RELEASE-NAME - name: TELEPORT_KUBE_CLUSTER_DOMAIN value: cluster.local - image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -1852,7 +1852,7 @@ should set environment when extraEnv set in values: value: cluster.local - name: HTTPS_PROXY value: http://username:password@my.proxy.host:3128 - image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -1998,7 +1998,7 @@ should set imagePullPolicy when set in values: value: RELEASE-NAME - name: TELEPORT_KUBE_CLUSTER_DOMAIN value: cluster.local - image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 imagePullPolicy: Always livenessProbe: failureThreshold: 6 @@ -2071,7 +2071,7 @@ should set nodeSelector if set in values: value: RELEASE-NAME - name: TELEPORT_KUBE_CLUSTER_DOMAIN value: cluster.local - image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -2158,7 +2158,7 @@ should set preferred affinity when more than one replica is used: value: RELEASE-NAME - name: TELEPORT_KUBE_CLUSTER_DOMAIN value: cluster.local - image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -2231,7 +2231,7 @@ should set probeTimeoutSeconds when set in values: value: RELEASE-NAME - name: TELEPORT_KUBE_CLUSTER_DOMAIN value: cluster.local - image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -2314,7 +2314,7 @@ should set required affinity when highAvailability.requireAntiAffinity is set: value: RELEASE-NAME - name: TELEPORT_KUBE_CLUSTER_DOMAIN value: cluster.local - image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -2387,7 +2387,7 @@ should set resources when set in values: value: RELEASE-NAME - name: TELEPORT_KUBE_CLUSTER_DOMAIN value: cluster.local - image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -2467,7 +2467,7 @@ should set serviceAccountName when set in values: value: RELEASE-NAME - name: TELEPORT_KUBE_CLUSTER_DOMAIN value: cluster.local - image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -2540,7 +2540,7 @@ should set storage.requests when set in values and action is an Upgrade: value: RELEASE-NAME - name: TELEPORT_KUBE_CLUSTER_DOMAIN value: cluster.local - image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -2613,7 +2613,7 @@ should set storage.storageClassName when set in values and action is an Upgrade: value: RELEASE-NAME - name: TELEPORT_KUBE_CLUSTER_DOMAIN value: cluster.local - image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -2686,7 +2686,7 @@ should set tolerations when set in values: value: RELEASE-NAME - name: TELEPORT_KUBE_CLUSTER_DOMAIN value: cluster.local - image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-distroless:18.0.0-dev.rustoolchain.1 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 625ef1b7276ec..5aa5241a09858 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:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-kube-agent-updater:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 @@ -73,7 +73,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:18.0.0-dev + image: public.ecr.aws/gravitational/teleport-kube-agent-updater:18.0.0-dev.rustoolchain.1 imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 6 diff --git a/rust-toolchain.toml b/rust-toolchain.toml new file mode 100644 index 0000000000000..59f0a216d59fa --- /dev/null +++ b/rust-toolchain.toml @@ -0,0 +1,5 @@ +[toolchain] +channel = "1.81.0" +profile = "minimal" +components = [ "rustfmt", "clippy" ] + diff --git a/web/README.md b/web/README.md index 2c8d892a2898c..a1a63242d7500 100644 --- a/web/README.md +++ b/web/README.md @@ -16,7 +16,7 @@ You can make production builds locally, or you can use Docker to do that. ### Local Build -Install Node.js (you can take the version by executing +Install Node.js (you can take the version by executing `make -C build.assets print-node-version` from the root directory). After that, run `corepack enable pnpm` to enable installing a package manager. @@ -27,7 +27,7 @@ pnpm install ``` You will also need the following tools installed: -* The `Rust` and `Cargo` version in [build.assets/Makefile](https://github.com/gravitational/teleport/blob/master/build.assets/versions.mk#L11) (search for `RUST_VERSION`) are required. +* `Rust` and `Cargo` should be installed via [rustup](https://rustup.rs/) * The [`wasm-pack`](https://github.com/rustwasm/wasm-pack) version in [build.assets/Makefile](https://github.com/gravitational/teleport/blob/master/build.assets/versions.mk#L12) (search for `WASM_PACK_VERSION`) is required: `curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh` * [`binaryen`](https://github.com/WebAssembly/binaryen) (which contains `wasm-opt`) is required to be installed manually @@ -296,7 +296,7 @@ not own. We use [pnpm workspaces](https://pnpm.io/workspaces) to manage dependencies. To add a package to the workspace, run `pnpm --filter= add `. -Alternatively, you can add a line to the workspace's `package.json` file and then +Alternatively, you can add a line to the workspace's `package.json` file and then run `pnpm install` (or `pnpm i`) from the root of this repository. Dependencies should generally be added to the specific workspaces that use them.