Skip to content

Commit

Permalink
Whitespace and typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhoherd committed Dec 6, 2024
1 parent 2a4b1d3 commit 74a7752
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 14 deletions.
2 changes: 1 addition & 1 deletion templates/_helpers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ Create the name of the cleanup service account to use
{{- default (printf "%s-registry" .Release.Name) .Values.airflow.registry.secretName }}
{{- end }}

{{- define "sideccar_container_spec" -}}
{{- define "sidecar_container_spec" -}}
- name: {{ .Values.loggingSidecar.name }}
image: "{{ .Values.loggingSidecar.image }}"
env:
Expand Down
2 changes: 1 addition & 1 deletion templates/dag-deploy/dag-server-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ spec:
subPath: nginx.conf
{{- end }}
{{- if .Values.loggingSidecar.enabled }}
{{- include "sideccar_container_spec" . | nindent 8 }}
{{- include "sidecar_container_spec" . | nindent 8 }}
{{- end }}
{{- if .Values.dagDeploy.extraContainers }}
{{- toYaml .Values.dagDeploy.extraContainers | nindent 8 }}
Expand Down
20 changes: 8 additions & 12 deletions templates/git-sync-relay/git-sync-relay-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
## git-sync-relay Deployment ##
###############################
{{- if .Values.gitSyncRelay.enabled }}

apiVersion: apps/v1
kind: Deployment
metadata:
Expand Down Expand Up @@ -32,8 +31,7 @@ spec:
imagePullSecrets:
- name: {{ template "astro.registry_secret" . }}
{{- end }}
securityContext:
{{ toYaml .Values.gitSyncRelay.securityContext | indent 8 }}
securityContext: {{ toYaml .Values.gitSyncRelay.securityContext | nindent 8 }}
volumes:
- name: git-repo-contents
emptyDir: {}
Expand Down Expand Up @@ -124,13 +122,11 @@ spec:
- /git/.git/git-daemon-export-ok
initialDelaySeconds: 5
periodSeconds: 15
resources:
{{- toYaml .Values.gitSyncRelay.gitDaemonResources | nindent 12 }}
{{- if .Values.loggingSidecar.enabled }}
{{- include "sideccar_container_spec" . | nindent 8 }}
{{- end }}

{{- if .Values.gitSyncRelay.extraContainers }}
{{- toYaml .Values.gitSyncRelay.extraContainers | nindent 8 }}
{{- end }}
resources: {{- toYaml .Values.gitSyncRelay.gitDaemonResources | nindent 12 }}
{{- if .Values.loggingSidecar.enabled }}
{{- include "sidecar_container_spec" . | nindent 8 }}
{{- end }}
{{- if .Values.gitSyncRelay.extraContainers }}
{{- toYaml .Values.gitSyncRelay.extraContainers | nindent 8 }}
{{- end }}
{{- end -}}

0 comments on commit 74a7752

Please sign in to comment.