-
Notifications
You must be signed in to change notification settings - Fork 190
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(helm-chart): support adding providers/plugins
- Loading branch information
1 parent
710bba1
commit 2497204
Showing
6 changed files
with
131 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
--- | ||
github: | ||
user: foo | ||
token: bar | ||
secret: baz | ||
|
||
service: | ||
type: ClusterIP | ||
|
||
ingress: | ||
enabled: true | ||
ingressClassName: nginx | ||
host: atlantis.localdev.me | ||
path: / | ||
secondary_ingress: | ||
enabled: true | ||
ingressClassName: nginx | ||
host: atlantis-webook.localdev.me | ||
path: /events | ||
|
||
resources: | ||
requests: | ||
memory: 64Mi | ||
cpu: 10m | ||
limits: | ||
memory: 128Mi | ||
cpu: 100m | ||
|
||
initConfig: | ||
enabled: true | ||
script: | | ||
#!/bin/sh | ||
set -eoux pipefail | ||
TG_VERSION="v0.47.0" | ||
wget https://github.com/gruntwork-io/terragrunt/releases/download/${TG_VERSION}/terragrunt_linux_amd64 -O "terragrunt_linux_amd64_${TG_VERSION}" | ||
mv "terragrunt_linux_amd64_${TG_VERSION}" "${INIT_SHARED_DIR}"/terragrunt | ||
chmod 755 "${INIT_SHARED_DIR}"/terragrunt | ||
terragrunt -v |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{{- if .Values.initConfig.enabled }} | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: {{ template "atlantis.fullname" . }}-init-config | ||
labels: | ||
{{- include "atlantis.labels" . | nindent 4 }} | ||
data: | ||
init-config.sh: | | ||
{{- .Values.initConfig.script | nindent 4 }} | ||
{{- end -}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters