databroker: rename cache service (#1790)

* rename cache folder

* rename cache service everywhere

* skip yaml in examples

* Update docs/docs/topics/data-storage.md

Co-authored-by: Travis Groth <travisgroth@users.noreply.github.com>

Co-authored-by: Travis Groth <travisgroth@users.noreply.github.com>
This commit is contained in:
Caleb Doxsey 2021-01-21 08:41:22 -07:00 committed by GitHub
parent 0adb9e5dde
commit 70b4497595
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
27 changed files with 115 additions and 108 deletions

View file

@ -6,7 +6,7 @@ grpc_address: ":80"
authenticate_service_url: https://authenticate.localhost.pomerium.io
authorize_service_url: http://pomerium-authorize-service.default.svc.cluster.local
databroker_service_url: http://pomerium-cache-service.default.svc.cluster.local
databroker_service_url: http://pomerium-databroker-service.default.svc.cluster.local
override_certificate_name: "*.localhost.pomerium.io"

View file

@ -32,7 +32,7 @@ echo "=> deploy pomerium proxy, authorize, and authenticate"
kubectl apply -f pomerium-proxy.yml
kubectl apply -f pomerium-authenticate.yml
kubectl apply -f pomerium-authorize.yml
kubectl apply -f pomerium-cache.yml
kubectl apply -f pomerium-databroker.yml
echo "=> deploy our test app, httpbin"
kubectl apply -f httpbin.yml

View file

@ -1,35 +1,35 @@
apiVersion: v1
kind: Service
metadata:
name: pomerium-cache-service
name: pomerium-databroker-service
spec:
clusterIP: None # cache is a headless service!
clusterIP: None # databroker is a headless service!
ports:
- port: 80
name: grpc
selector:
app: pomerium-cache
app: pomerium-databroker
type: ClusterIP
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: pomerium-cache
name: pomerium-databroker
labels:
app: pomerium-cache
app: pomerium-databroker
spec:
replicas: 1
selector:
matchLabels:
app: pomerium-cache
app: pomerium-databroker
template:
metadata:
labels:
app: pomerium-cache
app: pomerium-databroker
spec:
containers:
- image: pomerium/pomerium:master
name: pomerium-cache
name: pomerium-databroker
args:
- --config=/etc/pomerium/config.yaml
ports:
@ -38,7 +38,7 @@ spec:
protocol: TCP
env:
- name: SERVICES
value: cache
value: databroker
- name: SHARED_SECRET
valueFrom:
secretKeyRef: