Skip to content

Commit

Permalink
Use latest atlantis-base.
Browse files Browse the repository at this point in the history
- Upon merging #346 I
manually built and pushed a new version of runatlantis/atlantis-base and
tagged it as runatlantis/atlantis-base:v2.0. This change uses that new
tag. Before it was using :latest which isn't good if other people see
that and use atlantis-base:latest because we could break it for them.
- I've also put back the fsContext to 1000 because the atlantis user is
still in that group so we need that for kubernetes.
  • Loading branch information
lkysow committed Nov 28, 2018
1 parent 8f4bf27 commit 3cc465b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# The runatlantis/atlantis-base is created by docker-base/Dockerfile.
FROM runatlantis/atlantis-base:latest
FROM runatlantis/atlantis-base:v2.0
LABEL authors="Anubhav Mishra, Luke Kysow"

# install terraform binaries
Expand Down
5 changes: 3 additions & 2 deletions helm/atlantis/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ spec:
app: {{ template "atlantis.name" . }}
release: {{ .Release.Name }}
spec:
securityContext: {}
securityContext:
fsGroup: 1000
volumes:
{{- range $name, $_ := .Values.serviceAccountSecrets }}
- name: {{ $name }}-volume
Expand Down Expand Up @@ -192,4 +193,4 @@ spec:
requests:
# The biggest thing Atlantis stores is the Git repo when it checks it out.
# It deletes the repo after the pull request is merged.
storage: {{ .Values.atlantis_data_storage }}
storage: {{ .Values.atlantis_data_storage }}

0 comments on commit 3cc465b

Please sign in to comment.