Skip to content

Commit 70b0a8a

Browse files
committed
feat: add notification.miloapis.com service configuration and email newsletter enrollment policy
1 parent 0ea27b0 commit 70b0a8a

4 files changed

Lines changed: 35 additions & 0 deletions

File tree

config/services/kustomization.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,4 @@ components:
1616
- notes.miloapis.com/
1717
- core.miloapis.com/
1818
- search.miloapis.com/
19+
- notification.miloapis.com/
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
apiVersion: notification.miloapis.com/v1alpha1
2+
kind: ContactGroupEnrollmentPolicy
3+
metadata:
4+
name: email-newsletter-enrollment-policy
5+
spec:
6+
contactGroupRef:
7+
name: emailnewsletter-contact-group-3a3ar9
8+
namespace: default
9+
trigger:
10+
type: ContactCreated
11+
contactSelector:
12+
subjectKind: User
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
apiVersion: kustomize.config.k8s.io/v1alpha1
2+
kind: Component
3+
4+
sortOptions:
5+
order: fifo
6+
7+
resources:
8+
- email-newsletter-enrollment-policy.yaml
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
apiVersion: kustomize.config.k8s.io/v1alpha1
2+
kind: Component
3+
4+
sortOptions:
5+
order: fifo
6+
7+
components:
8+
- enrollment-policies/
9+
10+
labels:
11+
- includeSelectors: true
12+
pairs:
13+
app.kubernetes.io/component: notification-miloapis-com
14+
app.kubernetes.io/part-of: datum-cloud

0 commit comments

Comments
 (0)