Skip to content

Commit

Permalink
fix onehem.pid + emptydirs
Browse files Browse the repository at this point in the history
  • Loading branch information
kvaps committed Jul 22, 2021
1 parent a83955b commit 41fd649
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
4 changes: 4 additions & 0 deletions helm/opennebula/templates/hem-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ spec:
- mountPath: /etc/one/onehem-server.conf
name: config
subPath: onehem-server.conf
- name: one-run
mountPath: /run/one
- name: one-keys
mountPath: /var/lib/one/.one/one_auth
subPath: one_auth
Expand Down Expand Up @@ -113,6 +115,8 @@ spec:
- name: config
configMap:
name: {{ $fullName }}-hem
- name: one-run
emptyDir: {}
- name: ssh-keys
secret:
secretName: {{ $fullName }}-ssh-keys
Expand Down
2 changes: 1 addition & 1 deletion helm/opennebula/templates/novnc-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ spec:
claimName: {{ $fullName }}-shared
{{- end }}
{{- else }}
emptyDir:
emptyDir: {}
{{- end }}
{{- with .Values.novnc.extraVolumes }}
{{- toYaml . | nindent 6 }}
Expand Down
8 changes: 6 additions & 2 deletions helm/opennebula/templates/oned-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,8 @@ spec:
{{- end }}{{- end }}
- name: scripts
mountPath: /scripts
- name: one-run
mountPath: /run/one
- name: one-keys
mountPath: /secrets
- name: ssh-keys
Expand Down Expand Up @@ -255,6 +257,8 @@ spec:
- name: one-keys
secret:
secretName: {{ $fullName }}-one-keys
- name: one-run
emptyDir: {}
- name: data
{{- if .Values.persistence.data.enabled }}
persistentVolumeClaim:
Expand All @@ -264,7 +268,7 @@ spec:
claimName: {{ $fullName }}-data
{{- end }}
{{- else }}
emptyDir:
emptyDir: {}
{{- end }}
- name: shared
{{- if .Values.persistence.shared.enabled }}
Expand All @@ -275,7 +279,7 @@ spec:
claimName: {{ $fullName }}-shared
{{- end }}
{{- else }}
emptyDir:
emptyDir: {}
{{- end }}
{{- with .Values.oned.extraVolumes }}
{{- toYaml . | nindent 6 }}
Expand Down
2 changes: 1 addition & 1 deletion helm/opennebula/templates/sunstone-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ spec:
claimName: {{ $fullName }}-shared
{{- end }}
{{- else }}
emptyDir:
emptyDir: {}
{{- end }}
{{- with .Values.sunstone.extraVolumes }}
{{- toYaml . | nindent 6 }}
Expand Down

0 comments on commit 41fd649

Please sign in to comment.