blob: b790342519cf673f477a1a25115db9868f600d71 [file] [log] [blame]
ktimoney6be05292022-03-02 12:53:14 +00001apiVersion: v1
2kind: ServiceAccount
3metadata:
4 name: helm-app
5 namespace: default
6---
7apiVersion: rbac.authorization.k8s.io/v1
8kind: ClusterRoleBinding
9metadata:
10 name: helm-app
11roleRef:
12 apiGroup: rbac.authorization.k8s.io
13 kind: ClusterRole
14 name: cluster-admin
15subjects:
16 - kind: ServiceAccount
17 name: helm-app
18 namespace: default
19---
20apiVersion: apps/v1
21kind: Deployment
22metadata:
23 name: rapps-helm-installer-deployment
24 namespace: default
25 labels:
26 app: rapps-helm-installer
27spec:
28 selector:
29 matchLabels:
30 app: rapps-helm-installer
31 template:
32 metadata:
33 labels:
34 app: rapps-helm-installer
35 version: v1
36 spec:
37 containers:
38 - name: rapps-helm-installer
39 image: ktimoney/rapps-helm-installer
40 imagePullPolicy: IfNotPresent
41 ports:
42 - containerPort: 9000
43 resources:
44 limits:
45 memory: 256Mi
46 cpu: "250m"
47 requests:
48 memory: 128Mi
49 cpu: "80m"
50 serviceAccountName: helm-app
51 replicas: 1
52---
53apiVersion: v1
54kind: Service
55metadata:
56 name: rapps-helm-installer
57 namespace: default
58spec:
59 selector:
60 app: rapps-helm-installer
61 ports:
62 - protocol: TCP
63 port: 80
64 targetPort: 9000
65 nodePort: 31570
66 type: NodePort