File tree 4 files changed +36
-4
lines changed
4 files changed +36
-4
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ apiVersion : apps/v1
3
+ kind : Deployment
4
+ metadata :
5
+ name : simple-deployment
6
+ spec :
7
+ replicas : 1
8
+ selector :
9
+ matchLabels :
10
+ app : trivial-go-web-app
11
+ template :
12
+ metadata :
13
+ labels :
14
+ app : trivial-go-web-app
15
+ spec :
16
+ containers :
17
+ - name : webserver-simple
18
+ image : docker.io/kostiscodefresh/gitops-simple-app:v1.0
19
+ ports :
20
+ - containerPort : 8080
Original file line number Diff line number Diff line change
1
+ apiVersion : v1
2
+ kind : Service
3
+ metadata :
4
+ name : simple-service
5
+ spec :
6
+ type : ClusterIP
7
+ selector :
8
+ app : trivial-go-web-app
9
+ ports :
10
+ - protocol : TCP
11
+ port : 80
12
+ targetPort : 8080
Original file line number Diff line number Diff line change 1
1
apiVersion : v1
2
2
data :
3
- service.webhook.dummy : |
4
- url: https ://webhook.site/fb7d9332-f789-4a5d-b2da-b70bb4c2cb42
3
+ service.webhook.tester : |
4
+ url: http ://notification-internal-service.tester
5
5
template.app-deployed : |
6
6
email:
7
7
subject: New version of an application {{.app.metadata.name}} is up and running.
Original file line number Diff line number Diff line change @@ -3,14 +3,14 @@ kind: Application
3
3
metadata :
4
4
name : simple-nofication-app
5
5
annotations :
6
- notifications.argoproj.io/subscribe.on-sync-succeeded.dummy : " "
6
+ notifications.argoproj.io/subscribe.on-sync-succeeded.tester : " "
7
7
spec :
8
8
destination :
9
9
namespace : demo
10
10
server : https://kubernetes.default.svc
11
11
project : default
12
12
source :
13
- path : ./simple-application
13
+ path : ./notifications/dummy-app
14
14
repoURL : https://github.com/codefresh-contrib/gitops-cert-level-2-examples
15
15
targetRevision : HEAD
16
16
syncPolicy :
You can’t perform that action at this time.
0 commit comments