@kinwan/infrascript 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,10 +0,0 @@
1
- apiVersion: v1
2
- kind: PersistentVolumeClaim
3
- metadata:
4
- name: api-pvc
5
- spec:
6
- accessModes:
7
- - ReadWriteOnce
8
- resources:
9
- requests:
10
- storage: 5Gi
@@ -1,8 +0,0 @@
1
- apiVersion: v1
2
- kind: Secret
3
- metadata:
4
- name: api-secret
5
- type: Opaque
6
- stringData:
7
- DB_PASSWORD: replace-me
8
- JWT_SECRET: replace-me
@@ -1,12 +0,0 @@
1
- apiVersion: v1
2
- kind: Service
3
- metadata:
4
- name: api
5
- spec:
6
- type: ClusterIP
7
- selector:
8
- app: api
9
- ports:
10
- - port: 3000
11
- targetPort: 3000
12
- protocol: TCP
@@ -1,24 +0,0 @@
1
- apiVersion: apps/v1
2
- kind: Deployment
3
- metadata:
4
- name: worker
5
- spec:
6
- replicas: 1
7
- selector:
8
- matchLabels:
9
- app: worker
10
- template:
11
- metadata:
12
- labels:
13
- app: worker
14
- spec:
15
- containers:
16
- - name: worker
17
- image: ghcr.io/myorg/worker:latest
18
- env:
19
- - name: QUEUE_URL
20
- value: redis://redis:6379
21
- resources:
22
- requests:
23
- cpu: 50m
24
- memory: 64Mi
@@ -1,12 +0,0 @@
1
- apiVersion: v1
2
- kind: Service
3
- metadata:
4
- name: worker
5
- spec:
6
- type: ClusterIP
7
- selector:
8
- app: worker
9
- ports:
10
- - port: 8080
11
- targetPort: 8080
12
- protocol: TCP