Skip to content

Commit

Permalink
Merge branch 'main' into feat/add-atlantis-envs
Browse files Browse the repository at this point in the history
  • Loading branch information
jamengual authored Nov 15, 2023
2 parents 1c2caa3 + 592bff7 commit 76f497e
Show file tree
Hide file tree
Showing 11 changed files with 2,562 additions and 145 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/lint-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand All @@ -26,7 +26,7 @@ jobs:
check-latest: true

- name: Set up chart-testing
uses: helm/chart-testing-action@v2.4.0
uses: helm/chart-testing-action@v2.6.1

- name: Run chart-testing (list-changed)
id: list-changed
Expand All @@ -48,7 +48,7 @@ jobs:
- name: Create kind cluster
if: steps.list-changed.outputs.changed == 'true'
uses: helm/kind-action@v1.4.0
uses: helm/kind-action@v1.8.0

- name: Run chart-testing (install)
if: steps.list-changed.outputs.changed == 'true'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Lint Code Base
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand All @@ -27,7 +27,7 @@ jobs:
version: v3.10.3 # renovate: datasource=github-releases depName=helm packageName=helm/helm

- name: Run chart-releaser
uses: helm/chart-releaser-action@v1.5.0
uses: helm/chart-releaser-action@v1.6.0
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
CR_SKIP_EXISTING: true
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sync-readme.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: |
cp -f README.md ${{ runner.temp }}/README.md
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: gh-pages
- run: |
Expand Down
249 changes: 128 additions & 121 deletions README.md

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions charts/atlantis/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
apiVersion: v1
# renovate datasource=docker depName=ghcr.io/runatlantis/atlantis
appVersion: v0.24.4
appVersion: v0.26.0
description: A Helm chart for Atlantis https://www.runatlantis.io
name: atlantis
version: 4.14.2
version: 4.17.2
keywords:
- terraform
home: https://www.runatlantis.io
Expand Down
2 changes: 1 addition & 1 deletion charts/atlantis/ci/ci-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ ingress:
ingressClassName: nginx
host: atlantis.localdev.me
path: /
secondary_ingress:
webhook_ingress:
enabled: true
ingressClassName: nginx
host: atlantis-webook.localdev.me
Expand Down
4 changes: 2 additions & 2 deletions charts/atlantis/templates/servicemonitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ metadata:
{{- with .Values.service.annotations }}
annotations:
{{ toYaml . | indent 4 }}
{{- end }}
{{- end }}
spec:
selector:
matchLabels:
Expand All @@ -19,7 +19,7 @@ spec:
endpoints:
- port: atlantis
interval: {{ .Values.servicemonitor.interval }}
path: {{ .Values.servicemonitor.path | default "/metrics" }}
path: {{ .Values.servicemonitor.path }}
{{- if .Values.servicemonitor.auth.basicAuth.enabled }}
basicAuth:
username:
Expand Down
5 changes: 3 additions & 2 deletions charts/atlantis/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ spec:
ip: {{ .ip }}
{{- end }}
{{- end }}
hostNetwork: {{ .Values.hostNetwork }}
serviceAccountName: {{ template "atlantis.serviceAccountName" . }}
shareProcessNamespace: {{ .Values.statefulSet.shareProcessNamespace }}
automountServiceAccountToken: {{ .Values.serviceAccount.mount }}
Expand Down Expand Up @@ -244,7 +245,7 @@ spec:
value: /etc/tls/tls.key
{{- end }}
- name: ATLANTIS_DATA_DIR
value: /atlantis-data
value: {{ .Values.atlantisDataDirectory }}
- name: ATLANTIS_REPO_ALLOWLIST
value: {{ toYaml (coalesce .Values.orgWhitelist .Values.orgAllowlist) }}
- name: ATLANTIS_PORT
Expand Down Expand Up @@ -442,7 +443,7 @@ spec:
volumeMounts:
{{- if or .Values.volumeClaim.enabled .Values.dataStorage }}
- name: atlantis-data
mountPath: /atlantis-data
mountPath: {{ .Values.atlantisDataDirectory }}
{{- end }}
{{- range $name, $_ := .Values.serviceAccountSecrets }}
- name: {{ $name }}-volume
Expand Down
Loading

0 comments on commit 76f497e

Please sign in to comment.