-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeploiment.yaml
94 lines (94 loc) · 2.06 KB
/
deploiment.yaml
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
90
91
92
93
94
---
# Source: sherweb-release/templates/servicesAccount.yaml
apiVersion: v1
kind: ServiceAccount
metadata:
name: featureflags
namespace: default
---
# Source: sherweb-release/templates/configmap.yaml
apiVersion: v1
kind: ConfigMap
metadata:
name: featureflags
namespace: default
data:
---
# Source: sherweb-release/templates/servicesAccount.yaml
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: featureflags
namespace: default
rules:
- apiGroups: ['']
resources: ['secrets']
verbs: ["get", "patch", "create", "update"]
---
# Source: sherweb-release/templates/servicesAccount.yaml
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: featureflags
namespace: default
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: featureflags
subjects:
- kind: ServiceAccount
name: featureflags
---
# Source: sherweb-release/templates/services.yaml
apiVersion: v1
kind: Service
metadata:
name: featureflags
labels:
app: featureflags
deployed: "featureflags-0.0.2"
namespace: default
spec:
selector:
app: featureflags
ports:
- name: featureflags
protocol: TCP
port: 8080
targetPort: 8080
type: ClusterIP
---
# Source: sherweb-release/templates/deploiement.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
name: featureflags
labels:
app: featureflags
deployed: "featureflags-0.0.2"
namespace: default
spec:
replicas: 1
selector:
matchLabels:
app: featureflags
template:
metadata:
name: featureflags
labels:
app: featureflags
deployed: "featureflags-0.0.2"
sidecar.istio.io/inject: "true"
# traffic.sidecar.istio.io/excludeOutboundPorts: "8200"
environment: dev
spec:
serviceAccountName: "featureflags"
nodeSelector:
kubernetes.io/os: linux
containers:
- name: featureflags
image: "acr0opp0dev0main0sw.azurecr.io/featureflags:0.0.2"
imagePullPolicy: IfNotPresent
ports:
- name: featureflags
containerPort: 8080