From a2d1d3e11d733192e4eaa4e94e11eee6b6fe675e Mon Sep 17 00:00:00 2001 From: Luke Kysow Date: Sat, 26 May 2018 12:54:03 +0200 Subject: [PATCH] Set ATLANTIS_PORT. Kubernetes sets ATLANTIS_PORT to a tcp://... address which Atlantis then tries to parse so we need to set it ourselves. Also add "v" to the version to make it obvious that the Docker images all start with v. --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 974ff742e..f8a41a3bb 100644 --- a/README.md +++ b/README.md @@ -487,7 +487,7 @@ spec: fsGroup: 1000 # Atlantis group (1000) read/write access to volumes. containers: - name: atlantis - image: runatlantis/atlantis: # 1. Replace with the most recent release. + image: runatlantis/atlantis:v # 1. Replace with the most recent release. env: - name: ATLANTIS_REPO_WHITELIST value: github.com/yourorg/* # 2. Replace this with your own repo whitelist. @@ -522,6 +522,8 @@ spec: - name: ATLANTIS_DATA_DIR value: /atlantis + - name: ATLANTIS_PORT + value: "4141" # Kubernetes sets an ATLANTIS_PORT variable so we need to override. volumeMounts: - name: atlantis-data mountPath: /atlantis @@ -584,7 +586,7 @@ spec: spec: containers: - name: atlantis - image: runatlantis/atlantis: # 1. Replace with the most recent release. + image: runatlantis/atlantis:v # 1. Replace with the most recent release. env: - name: ATLANTIS_REPO_WHITELIST value: github.com/yourorg/* # 2. Replace this with your own repo whitelist. @@ -616,6 +618,8 @@ spec: secretKeyRef: name: atlantis-vcs key: webhook-secret + - name: ATLANTIS_PORT + value: "4141" # Kubernetes sets an ATLANTIS_PORT variable so we need to override. ports: - name: atlantis containerPort: 4141