Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/remove emptydir #70

Merged
merged 2 commits into from
Nov 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/publish-charts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ jobs:
run: helm repo index .

- name: Push packaged charts to GitHub repository
# Only on push to master
if: github.ref == 'refs/heads/master'
run: |
if [[ -z "$(git status --porcelain)" ]]; then
echo 'No changes to commit.'
Expand Down
2 changes: 1 addition & 1 deletion elvia-deployment/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.23.2
version: 0.23.3

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
8 changes: 2 additions & 6 deletions elvia-deployment/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,10 @@ spec:
hostAliases:
{{- toYaml . | nindent 8 }}
{{- end }}
volumes:
{{- with .Values.volumes }}
volumes:
{{- toYaml . | nindent 6 }}
{{- end }}
- emptyDir: {}
name: tmp
{{- if .Values.nodePool }}
nodeSelector:
type: {{ .Values.nodePool }}
Expand Down Expand Up @@ -233,12 +231,10 @@ spec:
startupProbe:
{{- toYaml . | nindent 10 }}
{{- end }}
volumeMounts:
{{- with .Values.volumeMounts }}
volumeMounts:
{{- toYaml . | nindent 8 }}
{{- end }}
- mountPath: /tmp
name: tmp
{{- if .Values.sidecars }}
{{- range $sidecarKey, $sidecarValue := .Values.sidecars }}
{{- $data := dict "sidecar" $sidecarValue "tag" $.Values.image.tag "namespace" $.Values.namespace}}
Expand Down
2 changes: 1 addition & 1 deletion elvia-statefulset/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.9.2
version: 0.9.3

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
6 changes: 0 additions & 6 deletions elvia-statefulset/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,6 @@ spec:
runAsGroup: 1001
fsGroup: 1001
supplementalGroups: [1001]
volumes:
- emptyDir: {}
name: tmp
containers:
- name: {{ required "Missing .Values.name" .Values.name }}
{{- if .Values.envFrom}}
Expand Down Expand Up @@ -101,9 +98,6 @@ spec:
startupProbe:
{{- toYaml . | nindent 10 }}
{{- end }}
volumeMounts:
- mountPath: /tmp
name: tmp
{{- if .Values.nodePool }}
nodeSelector:
type: {{ .Values.nodePool }}
Expand Down
2 changes: 1 addition & 1 deletion iss-deployment/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.4.1
version: 0.4.2

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
8 changes: 2 additions & 6 deletions iss-deployment/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,10 @@ spec:
hostAliases:
{{- toYaml . | nindent 8 }}
{{- end }}
volumes:
{{- with .Values.volumes }}
volumes:
{{- toYaml . | nindent 6 }}
{{- end }}
- emptyDir: {}
name: tmp
containers:
- name: {{ required "Missing .Values.name" .Values.name }}
{{- if .Values.envFrom}}
Expand Down Expand Up @@ -105,9 +103,7 @@ spec:
startupProbe:
{{- toYaml . | nindent 10 }}
{{- end }}
volumeMounts:
{{- with .Values.volumeMounts }}
volumeMounts:
{{- toYaml . | nindent 8 }}
{{- end }}
- mountPath: /tmp
name: tmp