From bff28567eb1f2d023a8600f61cefed241d613b42 Mon Sep 17 00:00:00 2001 From: Karolis Rusenas Date: Mon, 18 Jun 2018 09:10:09 +0100 Subject: [PATCH] aws conn details --- deployment/deployment-norbac.yaml | 20 +++++++++++++++++--- deployment/deployment-rbac.yaml | 20 ++++++++++++++++++-- 2 files changed, 35 insertions(+), 5 deletions(-) diff --git a/deployment/deployment-norbac.yaml b/deployment/deployment-norbac.yaml index 76c81d3e..2ebc309f 100644 --- a/deployment/deployment-norbac.yaml +++ b/deployment/deployment-norbac.yaml @@ -33,10 +33,16 @@ spec: - image: keelhq/keel:0.9.3 imagePullPolicy: Always env: + # Poll enables active polling if specified in deployment.yaml, set it to 0 to disable feature # - name: POLL - # value: "1" - - name: PUBSUB - value: "1" + # value: "0" + # PubSub is used when using with Google's GCR registry + # - name: PUBSUB + # value: "1" + - name: NAMESPACE + valueFrom: + fieldRef: + fieldPath: metadata.namespace # Enable/disable Helm provider # - name: HELM_PROVIDER # value: "1" @@ -70,6 +76,14 @@ spec: # value: "pass" # - name: MATTERMOST_ENDPOINT # value: "" + # 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" name: keel command: ["/bin/keel"] ports: diff --git a/deployment/deployment-rbac.yaml b/deployment/deployment-rbac.yaml index af4b2ae3..56945d7b 100644 --- a/deployment/deployment-rbac.yaml +++ b/deployment/deployment-rbac.yaml @@ -89,13 +89,21 @@ spec: - image: keelhq/keel:0.9.3 imagePullPolicy: Always env: + # Poll enables active polling if specified in deployment.yaml, set it to 0 to disable feature # - name: POLL - # value: "1" + # value: "0" + # PubSub is used when using with Google's GCR registry # - name: PUBSUB - # value: "1" + # value: "1" + - name: NAMESPACE + valueFrom: + fieldRef: + fieldPath: metadata.namespace # Enable/disable Helm provider # - name: HELM_PROVIDER # value: "1" + # - name: TILLER_ADDRESS + # value: tiller-deploy.kube-system.svc.cluster.local:44134 # 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 @@ -124,6 +132,14 @@ spec: # value: "pass" # - name: MATTERMOST_ENDPOINT # value: "" + # 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" name: keel command: ["/bin/keel"] ports: