Skip to content
This repository was archived by the owner on Feb 22, 2022. It is now read-only.

Commit

Permalink
[stable/atlantis] fix naming for secret ref (#11379)
Browse files Browse the repository at this point in the history
* fix naming for secret ref

the secret will be named according to the `.fullName`. Currently the pod cant start with the error "secrets-webhook" not found. It must be "my-full-atlantis-name-webhook"
Signed-off-by: Tim Gatzemeier <etwillbefine@users.noreply.github.com>

* update chart version for atlantis to 1.1.5

Signed-off-by: Tim Gatzemeier <tgatzemeier@testo.de>
  • Loading branch information
etwillbefine authored and k8s-ci-robot committed Feb 13, 2019
1 parent 18f8e5d commit 0513270
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion stable/atlantis/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v1
appVersion: "v0.4.11"
description: A Helm chart for Atlantis https://www.runatlantis.io
name: atlantis
version: 1.1.4
version: 1.1.5
keywords:
- terraform
home: https://www.runatlantis.io
Expand Down
2 changes: 1 addition & 1 deletion stable/atlantis/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ spec:
- name: ATLANTIS_GITLAB_TOKEN
valueFrom:
secretKeyRef:
name: {{ template "atlantis.name" . }}-webhook
name: {{ template "atlantis.fullname" . }}-webhook
key: gitlab_token
- name: ATLANTIS_GITLAB_WEBHOOK_SECRET
valueFrom:
Expand Down

0 comments on commit 0513270

Please sign in to comment.