-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathold-contact-functions.yml
89 lines (89 loc) · 2.06 KB
/
old-contact-functions.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
#---
#apiVersion: apps/v1
#kind: Deployment
#metadata:
# name: contact-functions
# namespace: 109610-faas-dev
#spec:
# selector:
# matchLabels:
# app: contact-functions
# replicas: 1
# template:
# metadata:
# labels:
# app: contact-functions
# spec:
# securityContext:
# runAsUser: 999
# fsGroup: 999
# containers:
# - name: contact-functions-envoy
# image: containerregistry-na.jpmchase.net/container-sandbox/dpspoc/faas/contact-functions/contact-functions-envoy:latest
# ports:
# - containerPort: 18000
# - containerPort: 8001
# - name: contact-functions-service
# image: containerregistry-na.jpmchase.net/container-sandbox/dpspoc/faas/contact-functions/contact-functions-service:latest
# ports:
# - containerPort: 8002
# imagePullSecrets:
# - name: image-pull-secret
#---
#apiVersion: v1
#kind: Service
#metadata:
# name: contact-functions
# labels:
# app: contact-functions
#spec:
# ports:
# - port: 80
# targetPort: 18000
# protocol: TCP
# name: http
# selector:
# app: contact-functions
#
#---
#apiVersion: projectcontour.io/v1
#kind: HTTPProxy
#metadata:
# name: contact-functions
#spec:
# virtualhost:
# fqdn: contact-functions.apps.mt-d2.belv.gkp.jpmchase.net
# tls:
# secretName: ingress-contour/ingress-contour-default-ssl-cert
# routes:
# - conditions:
# - prefix: /
# services:
# - name: contact-functions
# port: 80
#
#---
#apiVersion: networking.k8s.io/v1
#kind: NetworkPolicy
#metadata:
# name: allow-ingress-to-contact-functions-policy
# namespace: 109610-faas-dev
#spec:
# podSelector:
# matchLabels:
# app: contact-functions
# ingress:
# - from:
# - namespaceSelector:
# matchLabels:
# gkp_namespace: ingress-contour
# ports:
# - protocol: TCP
# port: 8002
# - protocol: TCP
# port: 18000
# - protocol: TCP
# port: 8001
# - protocol: TCP
# port: 8080
#