blob: f59a2b7be7bcce07a3a518dac85aa474589f13ce [file] [log] [blame]
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: goget
spec:
replicas: 1
# podTemplate defines the 'cookie cutter' used for creating
# new pods when necessary
template:
metadata:
labels:
# Important: these labels need to match the selector above
# The api server enforces this constraint.
app: goget
component: proxy
spec:
volumes:
- name: secret-volume
secret:
secretName: goget-secrets
containers:
- name: goget
image: gcr.io/myproj/goget:v0.5.1
ports:
- containerPort: 7443
volumeMounts:
- mountPath: /etc/ssl
name: secret-volume