GHP publish
This commit is contained in:
24
roles/opendmarc/defaults/main.yaml
Normal file
24
roles/opendmarc/defaults/main.yaml
Normal 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
|
||||
|
13
roles/opendmarc/tasks/main.yaml
Normal file
13
roles/opendmarc/tasks/main.yaml
Normal 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
|
||||
|
Reference in New Issue
Block a user