Skip to content

Commit 202bf46

Browse files
committed
fix: workflow
1 parent cdd0da6 commit 202bf46

12 files changed

Lines changed: 52 additions & 89 deletions

‎deployment/base/kustomization.yaml‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
resources:
22
- deployment.yaml
3-
- mapping.yaml
43
- service.yaml

‎deployment/base/mapping.yaml‎

Lines changed: 0 additions & 8 deletions
This file was deleted.
Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
apiVersion: kustomize.config.k8s.io/v1beta1
22
kind: Kustomization
33
resources:
4-
- ../../base
5-
patches:
6-
- path: mapping.yaml
4+
- ../../base
75
images:
8-
- name: registry.digitalocean.com/rriv/data-api
9-
newTag: 1.0.1
6+
- name: registry.digitalocean.com/rriv/data-api
7+
newTag: 1.0.1

‎deployment/overlays/dev/mapping.yaml‎

Lines changed: 0 additions & 8 deletions
This file was deleted.
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
apiVersion: apps/v1
2+
kind: Deployment
3+
metadata:
4+
name: data-api
5+
spec:
6+
template:
7+
metadata:
8+
annotations:
9+
vault.hashicorp.com/agent-inject-secret-credentials.txt: "secret/data/prod-timescale-creds"
10+
vault.hashicorp.com/agent-inject-template-credentials: |
11+
{{ with secret "secret/data/prod-timescale-creds" }}
12+
export DATABASE_URL={{ .Data.data.database_url }}
13+
{{ end }}
14+
spec:
15+
containers:
16+
- name: data-api
17+
env:
18+
- name: LOG_LEVEL
19+
value: info
Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
bases:
1+
apiVersion: kustomize.config.k8s.io/v1beta1
2+
kind: Kustomization
3+
resources:
24
- ../../base
3-
patchesStrategicMerge:
4-
- database-connection-sealed-secret.yaml
5-
- database-migration-connection-sealed-secret.yaml
5+
patches:
6+
- path: deployment.yaml
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
apiVersion: apps/v1
2+
kind: Deployment
3+
metadata:
4+
name: data-api
5+
spec:
6+
template:
7+
metadata:
8+
annotations:
9+
vault.hashicorp.com/agent-inject-secret-credentials.txt: "secret/data/staging-timescale-creds"
10+
vault.hashicorp.com/agent-inject-template-credentials: |
11+
{{ with secret "secret/data/staging-timescale-creds" }}
12+
export DATABASE_URL={{ .Data.data.database_url }}
13+
{{ end }}
14+
spec:
15+
containers:
16+
- name: data-api
17+
env:
18+
- name: LOG_LEVEL
19+
value: info
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
apiVersion: kustomize.config.k8s.io/v1beta1
2+
kind: Kustomization
3+
resources:
4+
- ../../base
5+
patches:
6+
- path: deployment.yaml

‎deployment/overlays/test/kustomization.yaml‎

Lines changed: 0 additions & 5 deletions
This file was deleted.

‎deployment/unused/cluster-role-binding.yaml‎

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)