moved to sample

pull/2/head
Karolis Rusenas 2017-06-11 11:28:55 +01:00
parent f7aab9fc42
commit aaae9b8c57
1 changed files with 15 additions and 4 deletions

View File

@ -2,8 +2,10 @@
apiVersion: extensions/v1beta1 apiVersion: extensions/v1beta1
kind: Deployment kind: Deployment
metadata: metadata:
annotations:
kubernetes.io/service-account.name: keel
name: keel name: keel
namespace: default namespace: kube-system
labels: labels:
name: "keel" name: "keel"
spec: spec:
@ -15,8 +17,17 @@ spec:
app: keel app: keel
spec: spec:
containers: containers:
- image: karolisr/keel:0.0.1 - image: karolisr/keel:0.0.8
imagePullPolicy: Always imagePullPolicy: Always
env:
- name: PUBSUB
value: "1"
- name: PROJECT_ID
value: "my-project"
- name: SUBSCRIPTION_ID
value: "gcr-sub"
- name: TOPIC
value: "gcr.io%2Frepo-name"
name: keel name: keel
command: ["/bin/keel"] command: ["/bin/keel"]
ports: ports:
@ -28,4 +39,4 @@ spec:
initialDelaySeconds: 30 initialDelaySeconds: 30
timeoutSeconds: 10 timeoutSeconds: 10
securityContext: securityContext:
privileged: true privileged: true