Skip to content

Commit

Permalink
fix(templates): Fix and boolean on line 44 of statefulset.yaml (#425)
Browse files Browse the repository at this point in the history
* fix(templates): Fix and boolean on line 44 of statefulset.yaml

Issue: #405

* Update chart version to 5.5.2

* Increase the sizeLimit of the init-shared-path emptyDir to 300Mi

* Update readme with new default value for initConfig.sizeLimit

---------

Co-authored-by: Theo Messinis <[email protected]>
  • Loading branch information
tmessinis and Theo Messinis authored Sep 28, 2024
1 parent 3bd951c commit 43ad5c3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/atlantis/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: v1
appVersion: v0.29.0
description: A Helm chart for Atlantis https://www.runatlantis.io
name: atlantis
version: 5.5.1
version: 5.5.2
keywords:
- terraform
home: https://www.runatlantis.io
Expand Down
2 changes: 1 addition & 1 deletion charts/atlantis/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ extraManifests:
| initConfig.script | string | Check values.yaml. | Script to run on the init container. |
| initConfig.sharedDir | string | `"/plugins"` | SharedDir is set as env var INIT_SHARED_DIR. |
| initConfig.sharedDirReadOnly | bool | `true` | |
| initConfig.sizeLimit | string | `"100Mi"` | Size for the shared volume. |
| initConfig.sizeLimit | string | `"300Mi"` | Size for the shared volume. |
| initConfig.workDir | string | `"/tmp"` | |
| initContainers | list | `[]` | Optionally specify init containers manifests to be added to the Atlantis pod. Check values.yaml for examples. |
| lifecycle | object | `{}` | Set lifecycle hooks. https://kubernetes.io/docs/tasks/configure-pod-container/attach-handler-lifecycle-event/. |
Expand Down
2 changes: 1 addition & 1 deletion charts/atlantis/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ spec:
{{- toYaml .Values.podTemplate.annotations | nindent 8 }}
{{- end }}
spec:
{{- if and (or .Values.dnsPolicy (.Values.dnsPolicy and .Values.dnsConfig)) (ne .Values.dnsPolicy "ClusterFirst") }}
{{- if and (or .Values.dnsPolicy (and .Values.dnsPolicy .Values.dnsConfig)) (ne .Values.dnsPolicy "ClusterFirst") }}
dnsPolicy: {{ .Values.dnsPolicy}}
{{- end }}
{{- if or .Values.dnsConfig (eq .Values.dnsPolicy "None") }}
Expand Down
2 changes: 1 addition & 1 deletion charts/atlantis/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ initConfig:
sharedDirReadOnly: true
workDir: /tmp
# -- Size for the shared volume.
sizeLimit: 100Mi
sizeLimit: 300Mi
# -- Security context for the container.
containerSecurityContext: {}
# -- Script to run on the init container.
Expand Down

0 comments on commit 43ad5c3

Please sign in to comment.