Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
45 lines (45 sloc) 1.05 KB
apiVersion: apps/v1
kind: Deployment
metadata:
name: notes
spec:
selector:
matchLabels:
app: notes
template:
metadata:
labels:
app: notes
spec:
volumes:
- name: firestore-key
secret:
secretName: firestore-key
terminationGracePeriodSeconds: 5
containers:
- name: server
image: gcr.io/notesdb/notes:v0.0.4
imagePullPolicy: Always
ports:
- containerPort: 8080
volumeMounts:
- name: firestore-key
mountPath: /var/secrets/google
env:
- name: GOOGLE_APPLICATION_CREDENTIALS
value: /var/secrets/google/key.json
- name: SIGNKEY
valueFrom:
secretKeyRef:
name: notes-secret
key: signkey
- name: USERNAME
valueFrom:
secretKeyRef:
name: notes-secret
key: username
- name: PASSWORD
valueFrom:
secretKeyRef:
name: notes-secret
key: password
You can’t perform that action at this time.