Skip to content

Commit

Permalink
use nindent for spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
cognifloyd committed Jul 3, 2021
1 parent 3bd2393 commit 07fd706
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
26 changes: 13 additions & 13 deletions templates/deployments.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ spec:
- name: htpasswd-vol
emptyDir:
medium: Memory
{{ include "advanced-pod-placement" .Values.st2auth | indent 6 }}
{{- include "advanced-pod-placement" .Values.st2auth | nindent 6 }}

---
apiVersion: apps/v1
Expand Down Expand Up @@ -206,7 +206,7 @@ spec:
{{- if .Values.st2.packs.images }}
{{- include "packs-volumes" . | indent 8 }}
{{- end }}
{{ include "advanced-pod-placement" .Values.st2api | indent 6 }}
{{- include "advanced-pod-placement" .Values.st2api | nindent 6 }}

---
apiVersion: apps/v1
Expand Down Expand Up @@ -278,7 +278,7 @@ spec:
- name: st2-config-vol
configMap:
name: {{ .Release.Name }}-st2-config
{{ include "advanced-pod-placement" .Values.st2stream | indent 6 }}
{{- include "advanced-pod-placement" .Values.st2stream | nindent 6 }}

---
apiVersion: apps/v1
Expand Down Expand Up @@ -366,7 +366,7 @@ spec:
{{- else }}
volumes: []
{{- end }}
{{ include "advanced-pod-placement" .Values.st2web | indent 6 }}
{{- include "advanced-pod-placement" .Values.st2web | nindent 6 }}

---
apiVersion: apps/v1
Expand Down Expand Up @@ -444,7 +444,7 @@ spec:
- key: datastore_crypto_key
path: datastore_key.json
{{- end }}
{{ include "advanced-pod-placement" .Values.st2rulesengine | indent 6 }}
{{- include "advanced-pod-placement" .Values.st2rulesengine | nindent 6 }}

---
apiVersion: apps/v1
Expand Down Expand Up @@ -515,7 +515,7 @@ spec:
- name: st2-config-vol
configMap:
name: {{ .Release.Name }}-st2-config
{{ include "advanced-pod-placement" .Values.st2timersengine | indent 6 }}
{{- include "advanced-pod-placement" .Values.st2timersengine | nindent 6 }}

---
apiVersion: apps/v1
Expand Down Expand Up @@ -599,7 +599,7 @@ spec:
- key: datastore_crypto_key
path: datastore_key.json
{{- end }}
{{ include "advanced-pod-placement" .Values.st2workflowengine | indent 6 }}
{{- include "advanced-pod-placement" .Values.st2workflowengine | nindent 6 }}

---
apiVersion: apps/v1
Expand Down Expand Up @@ -682,7 +682,7 @@ spec:
- name: st2-config-vol
configMap:
name: {{ .Release.Name }}-st2-config
{{ include "advanced-pod-placement" .Values.st2scheduler | indent 6 }}
{{- include "advanced-pod-placement" .Values.st2scheduler | nindent 6 }}

---
apiVersion: apps/v1
Expand Down Expand Up @@ -752,7 +752,7 @@ spec:
- name: st2-config-vol
configMap:
name: {{ .Release.Name }}-st2-config
{{ include "advanced-pod-placement" .Values.st2notifier | indent 6 }}
{{- include "advanced-pod-placement" .Values.st2notifier | nindent 6 }}

{{- range .Values.st2.packs.sensors }}
---
Expand Down Expand Up @@ -872,7 +872,7 @@ spec:
{{- if $.Values.st2.packs.images }}
{{- include "packs-volumes" $ | indent 8 }}
{{- end }}
{{ include "advanced-pod-placement" . | indent 6 }}
{{- include "advanced-pod-placement" . | nindent 6 }}
{{- end }}

---
Expand Down Expand Up @@ -991,7 +991,7 @@ spec:
{{- if .Values.st2.packs.images }}
{{- include "packs-volumes" . | indent 8 }}
{{- end }}
{{ include "advanced-pod-placement" .Values.st2actionrunner | indent 6 }}
{{- include "advanced-pod-placement" .Values.st2actionrunner | nindent 6 }}

---
apiVersion: apps/v1
Expand Down Expand Up @@ -1061,7 +1061,7 @@ spec:
- name: st2-config-vol
configMap:
name: {{ .Release.Name }}-st2-config
{{ include "advanced-pod-placement" .Values.st2garbagecollector | indent 6 }}
{{- include "advanced-pod-placement" .Values.st2garbagecollector | nindent 6 }}

---
apiVersion: apps/v1
Expand Down Expand Up @@ -1324,5 +1324,5 @@ spec:
- name: st2-chatops-hubot-scripts-vol
{{- toYaml .Values.st2chatops.hubotScriptsVolume | nindent 10 }}
{{- end }}
{{ include "advanced-pod-placement" .Values.st2chatops | indent 6 }}
{{- include "advanced-pod-placement" .Values.st2chatops | nindent 6 }}
{{- end }}
8 changes: 4 additions & 4 deletions templates/jobs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ spec:
configMap:
name: {{ .Release.Name }}-st2-rbac-mappings
restartPolicy: OnFailure
{{ include "advanced-pod-placement" .Values.jobs | indent 6 }}
{{- include "advanced-pod-placement" .Values.jobs | nindent 6 }}

{{- end }}
---
Expand Down Expand Up @@ -189,7 +189,7 @@ spec:
secret:
secretName: {{ .Release.Name }}-st2-apikeys
restartPolicy: OnFailure
{{ include "advanced-pod-placement" .Values.jobs | indent 6 }}
{{- include "advanced-pod-placement" .Values.jobs | nindent 6 }}

---
apiVersion: batch/v1
Expand Down Expand Up @@ -300,7 +300,7 @@ spec:
secret:
secretName: {{ .Release.Name }}-st2-kv
restartPolicy: OnFailure
{{ include "advanced-pod-placement" .Values.jobs | indent 6 }}
{{- include "advanced-pod-placement" .Values.jobs | nindent 6 }}

---
apiVersion: batch/v1
Expand Down Expand Up @@ -386,4 +386,4 @@ spec:
name: {{ .Release.Name }}-st2-pack-configs
{{- include "packs-volumes" $ | nindent 8 }}
restartPolicy: OnFailure
{{ include "advanced-pod-placement" .Values.jobs | indent 6 }}
{{- include "advanced-pod-placement" .Values.jobs | nindent 6 }}

0 comments on commit 07fd706

Please sign in to comment.