Skip to content

Commit

Permalink
Merge pull request #1 from neighborhoods/remove-mounts
Browse files Browse the repository at this point in the history
remove worker volumes
  • Loading branch information
alexberryman committed May 30, 2024
2 parents 8b066f8 + 7d51934 commit 5887c78
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
2 changes: 2 additions & 0 deletions charts/neighborhoods-apps/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Changelog
## 2.13.0
- Remove worker log pods
## 2.12.4
- Fix deployment name on hpa
## 2.12.3
Expand Down
2 changes: 1 addition & 1 deletion charts/neighborhoods-apps/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
description: Neighborhoods standard chart setup with Nginx fronting the HTTP deployment
name: neighborhoods-app
version: 2.12.4
version: 2.13.0
kubeVersion: ">=1.23.0-0"
home: https://github.com/neighborhoods/neighborhoods-chart
sources:
Expand Down
7 changes: 0 additions & 7 deletions charts/neighborhoods-apps/templates/worker-deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{{- $root := . -}}
{{- $def := .Values.workerDefault -}}
{{- range $id, $val := .Values.workers -}}
{{- $logs := .logs | default $def.logs -}}
---
apiVersion: apps/v1
kind: Deployment
Expand Down Expand Up @@ -56,23 +55,17 @@ spec:
{{ end}}
{{ include "util.v1.extra.command_and_args" .app | indent 8 }}
{{ include "util.v1.extra.resources" (.app.resources | default $def.app.resources) | indent 8 }}
volumeMounts:
- mountPath: {{ $root.Values.app.logRoot | required "Must specify .Values.app.logRoot" | quote }}
name: {{ include "util.v1.logwatch.name" "app" | quote }}
{{ with $root.Values.app.extraVolumeMounts }}{{ toYaml . | indent 8 }}{{ end }}
{{ with $def.app.extraVolumeMounts }}{{ toYaml . | indent 8 }}{{ end }}
{{ with .app.extraVolumeMounts }}{{ toYaml . | indent 8 }}{{ end }}

{{ include "util.v1.logwatch.container_list" $logs | indent 6 }}
{{ with $def.extraContainers }}{{ toYaml . | indent 6 }}{{ end }}
{{ with .extraContainers }}{{ toYaml . | indent 6 }}{{ end }}

initContainers:
{{ with $def.extraInitContainers }}{{ toYaml . | indent 6 }}{{ end }}
{{ with .extraInitContainers }}{{ toYaml . | indent 6 }}{{ end }}
{{ include "util.v1.logwatch.container_init_list" $logs | indent 6 }}
volumes:
{{ include "util.v1.logwatch.volume_list" $logs | indent 6 }}
{{ with $root.Values.extraVolumes }}{{ toYaml . | indent 6 }}{{ end }}
{{ with $def.extraVolumes }}{{ toYaml . | indent 6 }}{{ end }}
{{ with .extraVolumes }}{{ toYaml . | indent 6 }}{{ end }}
Expand Down

0 comments on commit 5887c78

Please sign in to comment.