pomerium/pkg/storage/redis/testdata
Travis Groth 683c591f14
Backport go 1.15 changes for 0-10-0 (#1334)
* pkg/storage/redis: use SANs cert

Since go1.15, X.509 CommonName is deprecated, switch to a SANs
certificate for test redis TLS.

While at it, add instruction to genearte cert and build test image.

See: https://golang.org/doc/go1.15#commonname

* config: do not test for exact route id

Different go version can genearte different route id, due to the fact
that we are relying on xxhash.

* internal/controlplane: mocking policy name in test

We don't have to test for exact policy name, as it does not make sense
and force us to change test every new go release.

Co-authored-by: Cuong Manh Le <cuong.manhle.vn@gmail.com>
2020-08-25 16:59:36 -04:00
..
tls Backport go 1.15 changes for 0-10-0 (#1334) 2020-08-25 16:59:36 -04:00
create_test_cert.sh Backport go 1.15 changes for 0-10-0 (#1334) 2020-08-25 16:59:36 -04:00
Dockerfile pkg/storage/redis: add redis TLS support (#1163) 2020-07-31 19:37:23 +07:00
README.md Backport go 1.15 changes for 0-10-0 (#1334) 2020-08-25 16:59:36 -04:00

Redis test server

Genearte test certs

./create_test_cert.sh

Build docker image

docker build -t gnouc/pomerium-redis-tls:latest .