Skip to content

Commit f365605

Browse files
committed
Fixes for "nodeSelectors", "tolerations" and "affinity".
1 parent 17f624d commit f365605

7 files changed

Lines changed: 20 additions & 20 deletions

Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: v1
22
description: Puppet automates the delivery and operation of software.
33
name: puppetserver
4-
version: 0.3.0
4+
version: 0.3.1
55
appVersion: 6.7.1
66
keywords: ["puppet", "puppetserver", "automation", "iac", "infrastructure", "cm", "ci", "cd"]
77
home: https://puppet.com/

templates/postgres-deployment.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,13 @@ spec:
5252
name: postgres-custom-extensions
5353
{{- if .Values.nodeSelector }}
5454
nodeSelector:
55-
{{ toYaml .Values.nodeSelector | indent 8 }}
55+
{{ toYaml .Values.nodeSelector | nindent 10 }}
5656
{{- end }}
5757
{{- if .Values.affinity }}
5858
affinity:
59-
{{ toYaml .Values.affinity | indent 8 }}
59+
{{ toYaml .Values.affinity | nindent 10 }}
6060
{{- end }}
6161
{{- if .Values.tolerations }}
6262
tolerations:
63-
{{ toYaml .Values.tolerations| indent 8 }}
63+
{{ toYaml .Values.tolerations| nindent 10 }}
6464
{{- end }}

templates/puppetboard-deployment.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,16 @@ spec:
3232
ports:
3333
- name: puppetboard
3434
containerPort: 8000
35-
{{- end }}
3635
{{- if .Values.nodeSelector }}
3736
nodeSelector:
38-
{{ toYaml .Values.nodeSelector | indent 8 }}
37+
{{ toYaml .Values.nodeSelector | nindent 10 }}
3938
{{- end }}
4039
{{- if .Values.affinity }}
4140
affinity:
42-
{{ toYaml .Values.affinity | indent 8 }}
41+
{{ toYaml .Values.affinity | nindent 10 }}
4342
{{- end }}
4443
{{- if .Values.tolerations }}
4544
tolerations:
46-
{{ toYaml .Values.tolerations| indent 8 }}
45+
{{ toYaml .Values.tolerations| nindent 10 }}
4746
{{- end }}
47+
{{- end }}

templates/puppetdb-deployment.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,13 @@ spec:
4949
claimName: puppetdb-claim
5050
{{- if .Values.nodeSelector }}
5151
nodeSelector:
52-
{{ toYaml .Values.nodeSelector | indent 8 }}
52+
{{ toYaml .Values.nodeSelector | nindent 10 }}
5353
{{- end }}
5454
{{- if .Values.affinity }}
5555
affinity:
56-
{{ toYaml .Values.affinity | indent 8 }}
56+
{{ toYaml .Values.affinity | nindent 10 }}
5757
{{- end }}
5858
{{- if .Values.tolerations }}
5959
tolerations:
60-
{{ toYaml .Values.tolerations| indent 8 }}
60+
{{ toYaml .Values.tolerations| nindent 10 }}
6161
{{- end }}

templates/puppetserver-deployment.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,13 +159,13 @@ spec:
159159
{{- end -}}
160160
{{- if .Values.nodeSelector }}
161161
nodeSelector:
162-
{{ toYaml .Values.nodeSelector | indent 8 }}
162+
{{ toYaml .Values.nodeSelector | nindent 10 }}
163163
{{- end }}
164164
{{- if .Values.affinity }}
165165
affinity:
166-
{{ toYaml .Values.affinity | indent 8 }}
166+
{{ toYaml .Values.affinity | nindent 10 }}
167167
{{- end }}
168168
{{- if .Values.tolerations }}
169169
tolerations:
170-
{{ toYaml .Values.tolerations| indent 8 }}
170+
{{ toYaml .Values.tolerations| nindent 10 }}
171171
{{- end }}

templates/r10k-cronjob.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,16 +46,16 @@ spec:
4646
secretName: {{ template "r10k.secret" . }}
4747
defaultMode: 288 # = mode 0440
4848
{{- end -}}
49-
{{- end }}
5049
{{- if .Values.nodeSelector }}
5150
nodeSelector:
52-
{{ toYaml .Values.nodeSelector | indent 8 }}
51+
{{ toYaml .Values.nodeSelector | nindent 14 }}
5352
{{- end }}
5453
{{- if .Values.affinity }}
5554
affinity:
56-
{{ toYaml .Values.affinity | indent 8 }}
55+
{{ toYaml .Values.affinity | nindent 14 }}
5756
{{- end }}
5857
{{- if .Values.tolerations }}
5958
tolerations:
60-
{{ toYaml .Values.tolerations| indent 8 }}
59+
{{ toYaml .Values.tolerations| nindent 14 }}
6160
{{- end }}
61+
{{- end }}

values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,9 +220,9 @@ hiera:
220220
eyaml:
221221
## A multi-line string
222222
##
223-
private_key: # |-
223+
private_key: # |
224224
# PRIV_KEY CONTENTS
225225
## A multi-line string
226226
##
227-
public_key: # |-
227+
public_key: # |
228228
# PUB_KEY CONTENTS

0 commit comments

Comments
 (0)