diff --git a/config/services/kustomization.yaml b/config/services/kustomization.yaml index f69241e..5c8db59 100644 --- a/config/services/kustomization.yaml +++ b/config/services/kustomization.yaml @@ -16,3 +16,4 @@ components: - notes.miloapis.com/ - core.miloapis.com/ - search.miloapis.com/ + - notification.miloapis.com/ diff --git a/config/services/notification.miloapis.com/enrollment-policies/email-newsletter-enrollment-policy.yaml b/config/services/notification.miloapis.com/enrollment-policies/email-newsletter-enrollment-policy.yaml new file mode 100644 index 0000000..bef661f --- /dev/null +++ b/config/services/notification.miloapis.com/enrollment-policies/email-newsletter-enrollment-policy.yaml @@ -0,0 +1,12 @@ +apiVersion: notification.miloapis.com/v1alpha1 +kind: ContactGroupEnrollmentPolicy +metadata: + name: email-newsletter-enrollment-policy +spec: + contactGroupRef: + name: emailnewsletter-contact-group-3a3ar9 + namespace: default + trigger: + type: ContactCreated + contactSelector: + subjectKind: User diff --git a/config/services/notification.miloapis.com/enrollment-policies/kustomization.yaml b/config/services/notification.miloapis.com/enrollment-policies/kustomization.yaml new file mode 100644 index 0000000..fd66265 --- /dev/null +++ b/config/services/notification.miloapis.com/enrollment-policies/kustomization.yaml @@ -0,0 +1,8 @@ +apiVersion: kustomize.config.k8s.io/v1alpha1 +kind: Component + +sortOptions: + order: fifo + +resources: + - email-newsletter-enrollment-policy.yaml diff --git a/config/services/notification.miloapis.com/kustomization.yaml b/config/services/notification.miloapis.com/kustomization.yaml new file mode 100644 index 0000000..9ec5818 --- /dev/null +++ b/config/services/notification.miloapis.com/kustomization.yaml @@ -0,0 +1,14 @@ +apiVersion: kustomize.config.k8s.io/v1alpha1 +kind: Component + +sortOptions: + order: fifo + +components: + - enrollment-policies/ + +labels: + - includeSelectors: true + pairs: + app.kubernetes.io/component: notification-miloapis-com + app.kubernetes.io/part-of: datum-cloud