forked from TrueCloudLab/certificates
23 lines
636 B
YAML
23 lines
636 B
YAML
|
apiVersion: apps/v1
|
||
|
kind: Deployment
|
||
|
metadata:
|
||
|
name: hello-mtls-client
|
||
|
labels: {app: hello-mtls-client}
|
||
|
spec:
|
||
|
replicas: 1
|
||
|
selector: {matchLabels: {app: hello-mtls-client}}
|
||
|
template:
|
||
|
metadata:
|
||
|
annotations:
|
||
|
autocert.step.sm/name: hello-mtls-client.default.pod.cluster.local
|
||
|
labels: {app: hello-mtls-client}
|
||
|
spec:
|
||
|
containers:
|
||
|
- name: hello-mtls-client
|
||
|
image: hello-mtls-client-go-grpc:latest
|
||
|
imagePullPolicy: Never
|
||
|
resources: {requests: {cpu: 10m, memory: 20Mi}}
|
||
|
env:
|
||
|
- name: HELLO_MTLS_URL
|
||
|
value: hello-mtls.default.svc.cluster.local:443
|