2018-02-11 12:10:35 +00:00
|
|
|
apiVersion: v1
|
|
|
|
kind: Namespace
|
|
|
|
metadata:
|
|
|
|
name: keel
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
apiVersion: v1
|
|
|
|
kind: ServiceAccount
|
|
|
|
metadata:
|
|
|
|
name: keel
|
|
|
|
namespace: keel
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
apiVersion: extensions/v1beta1
|
|
|
|
kind: Deployment
|
|
|
|
metadata:
|
|
|
|
name: keel
|
|
|
|
namespace: keel
|
|
|
|
labels:
|
|
|
|
name: "keel"
|
|
|
|
spec:
|
|
|
|
replicas: 1
|
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
name: keel
|
|
|
|
labels:
|
|
|
|
app: keel
|
|
|
|
spec:
|
|
|
|
serviceAccountName: keel
|
|
|
|
containers:
|
2018-06-18 07:45:43 +00:00
|
|
|
- image: keelhq/keel:0.9.3
|
2018-02-11 12:10:35 +00:00
|
|
|
imagePullPolicy: Always
|
|
|
|
env:
|
2018-06-18 08:10:09 +00:00
|
|
|
# Poll enables active polling if specified in deployment.yaml, set it to 0 to disable feature
|
2018-02-11 12:10:35 +00:00
|
|
|
# - name: POLL
|
2018-06-18 08:10:09 +00:00
|
|
|
# value: "0"
|
|
|
|
# PubSub is used when using with Google's GCR registry
|
|
|
|
# - name: PUBSUB
|
|
|
|
# value: "1"
|
|
|
|
- name: NAMESPACE
|
|
|
|
valueFrom:
|
|
|
|
fieldRef:
|
|
|
|
fieldPath: metadata.namespace
|
2018-02-11 12:10:35 +00:00
|
|
|
# Enable/disable Helm provider
|
|
|
|
# - name: HELM_PROVIDER
|
|
|
|
# value: "1"
|
2018-04-18 12:27:53 +00:00
|
|
|
# - name: TILLER_ADDRESS
|
|
|
|
# value: tiller-deploy.kube-system.svc.cluster.local:44134
|
2018-06-17 21:21:14 +00:00
|
|
|
# Default Docker registry configuration (will override secrets if there are any)
|
|
|
|
# 'auth' parameter is base 64 encoded username:password pair. Ideally this environment variable would be a Kubernetes secret.
|
|
|
|
# - name: DOCKER_REGISTRY_CFG
|
|
|
|
# value: '{"auths":{"https://index.docker.io/v1/":{"username":"login","password":"somepass","email":"email@email.com","auth":"longbase64secret"}}}'
|
2018-02-11 12:10:35 +00:00
|
|
|
- name: PROJECT_ID
|
|
|
|
value: "my-project-id"
|
|
|
|
# - name: WEBHOOK_ENDPOINT
|
|
|
|
# value: https://my.webhookrelay.com/v1/webhooks/2fc52b16-75f7-41f2-8e2d-81afbbcae709
|
|
|
|
# - name: SLACK_TOKEN
|
|
|
|
# value: your-token-here
|
|
|
|
# - name: SLACK_CHANNELS
|
|
|
|
# value: general
|
|
|
|
# - name: SLACK_APPROVALS_CHANNEL
|
|
|
|
# value: approvals
|
|
|
|
# - name: HIPCHAT_TOKEN
|
|
|
|
# value: your-token-here
|
|
|
|
# - name: HIPCHAT_CHANNELS
|
|
|
|
# value: keel-bot
|
|
|
|
# - name: HIPCHAT_APPROVALS_CHANNEL
|
|
|
|
# value: "111111_keel-approvals@conf.hipchat.com"
|
|
|
|
# - name: HIPCHAT_APPROVALS_BOT_NAME
|
|
|
|
# value: "Mr Bor"
|
|
|
|
# - name: HIPCHAT_APPROVALS_USER_NAME
|
|
|
|
# value: "111111_2222222"
|
|
|
|
# - name: HIPCHAT_APPROVALS_PASSWORT
|
|
|
|
# value: "pass"
|
2018-02-22 23:06:13 +00:00
|
|
|
# - name: MATTERMOST_ENDPOINT
|
|
|
|
# value: ""
|
2018-06-18 08:10:09 +00:00
|
|
|
# AWS ECR registry connection details
|
|
|
|
# More info can be found here: https://docs.aws.amazon.com/sdk-for-go/api/aws/session/
|
|
|
|
# - name: AWS_REGION
|
|
|
|
# value: "your aws region"
|
|
|
|
# - name: AWS_ACCESS_KEY_ID
|
|
|
|
# value: "AKID"
|
|
|
|
# - name: AWS_SECRET_ACCESS_KEY
|
|
|
|
# value: "secret"
|
2018-02-11 12:10:35 +00:00
|
|
|
name: keel
|
|
|
|
command: ["/bin/keel"]
|
|
|
|
ports:
|
|
|
|
- containerPort: 9300
|
|
|
|
livenessProbe:
|
|
|
|
httpGet:
|
|
|
|
path: /healthz
|
|
|
|
port: 9300
|
|
|
|
initialDelaySeconds: 30
|
2018-04-18 12:27:53 +00:00
|
|
|
timeoutSeconds: 10
|