Skip to content

Commit

Permalink
add relayuser and relaypassword to smtpd in odoo
Browse files Browse the repository at this point in the history
  • Loading branch information
hcf coder committed Jan 20, 2024
1 parent b2efe38 commit e9e2f0e
Show file tree
Hide file tree
Showing 22 changed files with 130 additions and 100 deletions.
4 changes: 2 additions & 2 deletions charts/odoo/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.3.4
version: 0.3.5

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "16.0.0.21"
appVersion: "16.0.0.22"

dependencies:
- name: odoo
Expand Down
11 changes: 11 additions & 0 deletions charts/odoo/templates/deployment-smtpd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,17 @@ spec:
- name: RELAYHOST
value: {{ .Values.smtpd.relayHost | quote }}
{{ end }}
{{ if .Values.smtpd.relayUser }}
- name: RELAYUSER
value: {{ .Values.smtpd.relayUser | quote }}
{{ end }}
{{ if .Values.smtpd.relayPassword }}
- name: RELAYPASSWORD
valueFrom:
secretKeyRef:
key: RELAYPASSWORD
name: smtpd
{{ end }}
- name: KUBERNETES_CLUSTER_DOMAIN
value: {{ .Values.kubernetesClusterDomain }}
image: {{ .Values.smtpd.image.repository }}:{{ .Values.smtpd.image.tag | default .Chart.AppVersion }}
Expand Down
3 changes: 3 additions & 0 deletions charts/odoo/templates/secret-smtpd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,8 @@ stringData:
| quote }}
POSTFIX_myhostname: {{ required "odoo.postfixHostname is required" .Values.smtpd.postfixHostname
| quote }}
{{ if .Values.smtpd.relayPassword }}
RELAYPASSWORD: {{ .Values.smtpd.relayPassword | quote }}
{{ end }}
type: Opaque
{{ end }}
2 changes: 2 additions & 0 deletions charts/odoo/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ smtpd:
useCloudflareDDNS: "0"
useLetsEncrypt: "0"
relayHost: ""
relayUser: ""
relayPassword: ""
ports:
- name: "25"
port: 25
Expand Down
Binary file modified repo/cert-manager-webhook-oci-1.3.1.tgz
Binary file not shown.
Binary file modified repo/crontab-ui-1.0.0.tgz
Binary file not shown.
Binary file modified repo/dolidock-0.9.13.tgz
Binary file not shown.
Binary file modified repo/easyappointments-0.2.0.tgz
Binary file not shown.
Binary file modified repo/gitea-0.9.1.tgz
Binary file not shown.
Binary file modified repo/hcf-coder-0.2.2.tgz
Binary file not shown.
Binary file modified repo/hcfmailer-1.0.0.tgz
Binary file not shown.
Binary file modified repo/hcfmailerplus-0.2.0.tgz
Binary file not shown.
Binary file modified repo/hcfschedule-0.1.0.tgz
Binary file not shown.
Binary file modified repo/helm-dashboard-0.1.9.tgz
Binary file not shown.
8 changes: 4 additions & 4 deletions repo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -194,10 +194,10 @@ <h2>Charts</h2>
<li>
<p>
odoo
(<a href="https://helm-repo.highcanfly.club/odoo-0.3.4.tgz" title="https://helm-repo.highcanfly.club/odoo-0.3.4.tgz">
0.3.4
(<a href="https://helm-repo.highcanfly.club/odoo-0.3.5.tgz" title="https://helm-repo.highcanfly.club/odoo-0.3.5.tgz">
0.3.5
@
16.0.0.21
16.0.0.22
</a>)
</p>
<p>
Expand Down Expand Up @@ -263,6 +263,6 @@ <h2>Charts</h2>

</ul>
</section>
<time datetime="2024-01-19T16:04:17" pubdate id="generated">Fri Jan 19 2024 04:04:17PM UTC&#43;00:00</time>
<time datetime="2024-01-20T14:38:53" pubdate id="generated">Sat Jan 20 2024 02:38:53PM UTC&#43;00:00</time>
</body>
</html>
Loading

0 comments on commit e9e2f0e

Please sign in to comment.