ktimoney | 6be0529 | 2022-03-02 12:53:14 +0000 | [diff] [blame] | 1 | apiVersion: v1 |
| 2 | kind: ServiceAccount |
| 3 | metadata: |
| 4 | name: helm-app |
| 5 | namespace: default |
| 6 | --- |
| 7 | apiVersion: rbac.authorization.k8s.io/v1 |
| 8 | kind: ClusterRoleBinding |
| 9 | metadata: |
| 10 | name: helm-app |
| 11 | roleRef: |
| 12 | apiGroup: rbac.authorization.k8s.io |
| 13 | kind: ClusterRole |
| 14 | name: cluster-admin |
| 15 | subjects: |
| 16 | - kind: ServiceAccount |
| 17 | name: helm-app |
| 18 | namespace: default |
| 19 | --- |
| 20 | apiVersion: apps/v1 |
| 21 | kind: Deployment |
| 22 | metadata: |
| 23 | name: rapps-helm-installer-deployment |
| 24 | namespace: default |
| 25 | labels: |
| 26 | app: rapps-helm-installer |
| 27 | spec: |
| 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 | --- |
| 53 | apiVersion: v1 |
| 54 | kind: Service |
| 55 | metadata: |
| 56 | name: rapps-helm-installer |
| 57 | namespace: default |
| 58 | spec: |
| 59 | selector: |
| 60 | app: rapps-helm-installer |
| 61 | ports: |
| 62 | - protocol: TCP |
| 63 | port: 80 |
| 64 | targetPort: 9000 |
| 65 | nodePort: 31570 |
| 66 | type: NodePort |