Skip to content

Commit

Permalink
made pinniped proxy support any api group (#3098)
Browse files Browse the repository at this point in the history
* made pinniped proxy support any api group

* bumped kube crates to latest version 0.58.1. this required to also bump the rustc version in the docker build file

* added corresponding update to circle ci

Co-authored-by: Dimitri Laloue <dlaloue@dlaloue-a01.vmware.com>
Co-authored-by: Antonio Gamez Diaz <agamez@vmware.com>
  • Loading branch information
3 people committed Jul 8, 2021
1 parent c079ec1 commit dc73eec
Show file tree
Hide file tree
Showing 5 changed files with 180 additions and 254 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ parameters:
default: "14"
RUST_VERSION:
type: string
default: "1.53"
default: "1.53.0"
DOCKER_VERSION:
type: string
default: "20.10.6"
Expand Down
41 changes: 33 additions & 8 deletions cmd/pinniped-proxy/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions cmd/pinniped-proxy/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ anyhow = "1.0"
base64 = "0.13"
hyper = { version = "0.14", features = ["server"] }
hyper-tls = "0.5"
kube = { version = "0.57.0" }
kube = { version = "0.58.1" }
# We explicitly import kube-derive without the schema option to avoid
# requiring the jsonschema for CRDs until
# https://github.com/Arnavion/k8s-openapi/issues/86
# is sorted. AFAICT, the openapi json schema is only required when creating a
# CRD (which we're not).
kube-derive = { version = "0.57.0", default-features = false}
kube-runtime = "0.57.0"
kube-derive = { version = "0.58.1", default-features = false}
kube-runtime = "0.58.1"
k8s-openapi = { version = "0.12.0", default-features = false, features = ["v1_20"] }
log = "0.4"
native-tls = "0.2"
Expand Down
2 changes: 1 addition & 1 deletion cmd/pinniped-proxy/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# syntax = docker/dockerfile:1

FROM rust:1.53 as builder
FROM rust:1.53.0 as builder

WORKDIR /pinniped-proxy

Expand Down

0 comments on commit dc73eec

Please sign in to comment.