Skip to content

Commit

Permalink
fixed the puppetserver helm chart bug when mounting eyaml
Browse files Browse the repository at this point in the history
  • Loading branch information
ashish1099 committed Aug 15, 2024
1 parent 87bf986 commit cc87bbe
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ spec:
httpGet:
path: /status/v1/simple
port: {{ template "puppetserver.puppetserver-masters.port" .}}
scheme: {{ .Values.puppetserver.masters.readinessProbeScheme }}
scheme: {{ .Values.puppetserver.masters.readinessProbeScheme }}
periodSeconds: {{ .Values.puppetserver.masters.readinessProbePeriodSeconds }}
timeoutSeconds: {{ .Values.puppetserver.masters.readinessProbeTimeout }}
failureThreshold: {{ .Values.puppetserver.masters.readinessProbeFailureThreshold }}
Expand Down Expand Up @@ -332,12 +332,12 @@ spec:
- name: hiera-volume
mountPath: /etc/puppetlabs/puppet/hiera.yaml
subPath: hiera.yaml
{{- end }}
{{- if and (or (.Values.hiera.eyaml.existingMap) (.Values.hiera.eyaml.existingSecret)) (not .Values.hiera.eyaml.public_key) (not .Values.hiera.eyaml.private_key) }}
- name: eyaml-volume
mountPath: /etc/puppetlabs/puppet/eyaml/keys
{{- end }}
{{- end }}
{{- end }}
securityContext:
{{- if .Values.global.runAsNonRoot }}
runAsUser: {{ .Values.global.securityContext.runAsUser }}
Expand Down

0 comments on commit cc87bbe

Please sign in to comment.