We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello Bokysan,
First thanks you for the awsome work on this project.
issue is regarding deployment on kubernetes, and compliance with the kubernetes documentation regarding statefulset.
seems a headless service is required now Documentation
Manage to deploy by adding a new service-headless.yaml file :
{{- $chart := "mail" -}} {{- $fullName := include (print $chart ".fullname") . -}} {{- $labels := include (print $chart ".labels") . -}} {{- $selectorLabels := include (print $chart ".selectorLabels") . -}} apiVersion: v1 kind: Service metadata: name: {{ print $fullName "-headless" | quote }} namespace: {{ .Release.Namespace | quote }} labels: {{- $labels | nindent 4 }} {{- with .Values.service.labels }}{{ toYaml . | nindent 4 }}{{ end }} annotations: {{- with .Values.service.annotations }}{{ toYaml . | nindent 4 }}{{ end }} spec: type: ClusterIP clusterIP: None ports: - port: {{ .Values.service.port }} targetPort: smtp protocol: TCP name: smtp {{ if eq .Values.service.type "NodePort" }}nodePort: {{ .Values.service.nodePort }}{{ end }} selector: {{- $selectorLabels | nindent 4 }}
Best regards,
The text was updated successfully, but these errors were encountered:
I'm preparing to release a new version soon, I will add this to the list. Thank you.
Sorry, something went wrong.
Fix #140: Adding headless service for newer versions of Kubernetes
3e10ea6
No branches or pull requests
Hello Bokysan,
First thanks you for the awsome work on this project.
issue is regarding deployment on kubernetes, and compliance with the kubernetes documentation regarding statefulset.
seems a headless service is required now Documentation
Manage to deploy by adding a new service-headless.yaml file :
{{- $chart := "mail" -}} {{- $fullName := include (print $chart ".fullname") . -}} {{- $labels := include (print $chart ".labels") . -}} {{- $selectorLabels := include (print $chart ".selectorLabels") . -}} apiVersion: v1 kind: Service metadata: name: {{ print $fullName "-headless" | quote }} namespace: {{ .Release.Namespace | quote }} labels: {{- $labels | nindent 4 }} {{- with .Values.service.labels }}{{ toYaml . | nindent 4 }}{{ end }} annotations: {{- with .Values.service.annotations }}{{ toYaml . | nindent 4 }}{{ end }} spec: type: ClusterIP clusterIP: None ports: - port: {{ .Values.service.port }} targetPort: smtp protocol: TCP name: smtp {{ if eq .Values.service.type "NodePort" }}nodePort: {{ .Values.service.nodePort }}{{ end }} selector: {{- $selectorLabels | nindent 4 }}
Best regards,
The text was updated successfully, but these errors were encountered: