GHP publish

This commit is contained in:
ace
2021-01-09 20:54:42 +03:00
commit b4b740a239
173 changed files with 5392 additions and 0 deletions

View File

@ -0,0 +1,24 @@
opendmarc_default_values:
replicaCount: 1
persistence:
enabled: false
existingClaim: mailboxes
opendmarc:
image:
repository: "{{ docker_registry }}/opendmarc"
tag: latest
pullPolicy: Always
configmaps:
opendmarc: |
AuthservID mail.{{ domain }}
Socket inet:8893
SoftwareHeader true
SPFIgnoreResults true
SPFSelfValidate true
RequiredHeaders true
Syslog true
UserID opendmarc:mail
service:
type: ClusterIP

View File

@ -0,0 +1,13 @@
- set_fact:
opendmarc_combined_values: "{{ opendmarc_default_values | combine(opendmarc_values, recursive=true) }}"
- name: Deploy OpenDMARC
community.kubernetes.helm:
create_namespace: true
release_namespace: "{{ opendmarc_namespace | default(mail_namespace) | default(namespace) }}"
release_name: "{{ opendmarc_name | default('opendmarc') }}"
chart_ref: "{{ opendmarc_chart | default('ghp/opendmarc') }}"
chart_version: "{{ opendmarc_version | default(omit) }}"
release_values: "{{ opendmarc_combined_values | from_yaml }}"
wait: true