diff --git a/Cargo.toml b/Cargo.toml index 61583b5..53106ef 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,28 +6,28 @@ edition = "2018" [dependencies] log = "0.4.17" -kube = {version = "0.74.0", features = ["derive", "admission", "runtime"]} -k8s-openapi = { version = "0.15.0", default-features = false, features = ["v1_19"] } -schemars = "0.8.10" -serde = "1.0.144" -serde_derive = "1.0.144" -serde_json = "1.0.85" -serde_yaml = "0.9.13" -tokio = { version = "1.21.1", features = ["rt-multi-thread", "macros", "sync"]} -futures = "0.3.24" +kube = {version = "0.78.0", features = ["derive", "admission", "runtime"]} +k8s-openapi = { version = "0.17.0", default-features = false, features = ["v1_19"] } +schemars = "0.8.11" +serde = "1.0.152" +serde_derive = "1.0.152" +serde_json = "1.0.93" +serde_yaml = "0.9.17" +tokio = { version = "1.25.0", features = ["rt-multi-thread", "macros", "sync"]} +futures = "0.3.26" rocket = {version = "0.5.0-rc.2", features = ["tls", "json"]} -rustls = "0.20.5" -pyo3 = "0.17.1" -pythonize = "0.17.0" -rcgen = "0.9.3" -base64 = "0.13.0" -argh = "0.1.8" -rust-embed = "6.4.1" +rustls = "0.20.8" +pyo3 = "0.18.1" +pythonize = "0.18.0" +rcgen = "0.10.0" +base64 = "0.21.0" +argh = "0.1.10" +rust-embed = "6.4.2" lazy_static = "1.4.0" -prometheus = {version = "0.13.2", features = ["process"]} -json-patch = "0.2.6" -exponential-backoff = "1.1.0" -reqwest = {version="0.11.11"} +prometheus = {version = "0.13.3", features = ["process"]} +json-patch = "0.3.0" +exponential-backoff = "1.2.0" +reqwest = {version="0.11.14"} tracing = "0.1.37" tracing-subscriber = { version = "0.3.16", default-features = false, features = ["fmt", "json"] } diff --git a/Dockerfile b/Dockerfile index 52ab179..46377f7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM rust:1.63-alpine as builder +FROM rust:1.67-alpine as builder RUN mkdir /build RUN apk add --no-cache musl-dev python3 python3-dev openssl openssl-dev ADD Cargo.toml /build/ @@ -11,7 +11,7 @@ COPY manifests /build/manifests RUN touch src/main.rs && cargo build --release RUN strip /build/target/release/bridgekeeper -FROM alpine:3.16 +FROM alpine:3.17 RUN apk add --no-cache python3 openssl libgcc py3-pip RUN addgroup -g 1000 bridgekeeper && adduser -u 1000 -G bridgekeeper -D bridgekeeper RUN pip install kubernetes==24.2.0