Skip to content

Commit

Permalink
Spacing fixes.
Browse files Browse the repository at this point in the history
Resolves #165
  • Loading branch information
bdalpe committed Jul 14, 2023
1 parent 0d30674 commit ceccd69
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 13 deletions.
19 changes: 6 additions & 13 deletions helm-chart-sources/logstream-leader/templates/_pod.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ containers:
{{- end }}
{{- end }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- toYaml .Values.resources | nindent 6 }}
env:
# Self-Signed Certs
- name: NODE_TLS_REJECT_UNAUTHORIZED
Expand Down Expand Up @@ -111,7 +111,6 @@ containers:
value: "if [ ! -e $CRIBL_VOLUME_DIR/local/cribl/mappings.yml ]; then mkdir -p $CRIBL_VOLUME_DIR/local/cribl; cp /var/tmp/config_bits/groups.yml $CRIBL_VOLUME_DIR/local/cribl/groups.yml; cp /var/tmp/config_bits/mappings.yml $CRIBL_VOLUME_DIR/local/cribl/mappings.yml; fi"
{{- $b_iter = add $b_iter 1 }}
{{- end }}

{{- $a_iter := 1 -}}
{{- if .Values.config.adminPassword }}
- name: CRIBL_AFTER_START_CMD_{{ $a_iter }}
Expand All @@ -121,10 +120,10 @@ containers:
{{- with .Values.extraContainers }}
{{- toYaml . | nindent 2 }}
{{- end }}

{{- if or .Values.extraInitContainers .Values.consolidate_volumes }}
initContainers:
{{- with .Values.extraInitContainers }}
{{- toYaml . | nindent 8 }}
{{- toYaml . | nindent 2 }}
{{- end }}
{{- if (and .Release.IsUpgrade .Values.consolidate_volumes) }}
- name: pre-upgrade-volume-coalescence
Expand All @@ -148,10 +147,6 @@ initContainers:
- name: groups-storage
mountPath: {{ .Values.config.criblHome }}/group
{{- end }}

{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 2 }}
{{- end }}
volumes:
{{- if or .Values.config.license ( or .Values.config.adminPassword .Values.config.groups ) }}
Expand Down Expand Up @@ -215,18 +210,16 @@ volumes:
csi: {{- toYaml .csi | nindent 6 }}
{{- end }}
{{- end }}


{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- toYaml . | nindent 2 }}
{{- end }}
{{- with .Values.affinity }}
affinity:
{{- toYaml . | nindent 8 }}
{{- toYaml . | nindent 2 }}
{{- end }}
{{- with .Values.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
{{- toYaml . | nindent 2 }}
{{- end }}
{{- end }}
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
config:
token: criblmaster
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
nodeSelector:
kubernetes.io/os: linux

0 comments on commit ceccd69

Please sign in to comment.