forked from kubernetes/test-infra
-
Notifications
You must be signed in to change notification settings - Fork 0
/
deployment-staging.yaml
37 lines (37 loc) · 979 Bytes
/
deployment-staging.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: kettle-staging
spec:
replicas: 1
template:
metadata:
labels:
app: kettle-staging
spec:
containers:
- name: kettle-staging
image: gcr.io/k8s-testimages/kettle:latest
imagePullPolicy: Always
env:
- name: GOOGLE_APPLICATION_CREDENTIALS
value: /etc/service-account/service-account.json
- name: BUILD_LIMIT
value: "1000"
- name: DEPLOYMENT
value: staging
- name: SUBSCRIPTION_PATH
value: kubernetes-jenkins/gcs-changes/kettle-staging
volumeMounts:
- name: service
mountPath: /etc/service-account
readOnly: true
- name: data
mountPath: /data
volumes:
- name: service
secret:
secretName: kettle-service-account
- name: data
persistentVolumeClaim:
claimName: kettle-data-staging