Skip to content

Commit b91c543

Browse files
authored
Merge pull request #34 from kairoaraujo/rstuf-demo-0.3.10
rstuf-demo v0.3.10
2 parents 62c025f + 9283f88 commit b91c543

File tree

3 files changed

+16
-4
lines changed

3 files changed

+16
-4
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,5 @@ jobs:
4646
ct install --target-branch ${{ github.event.repository.default_branch }} \
4747
--chart-repos=bitnami=https://charts.bitnami.com/bitnami \
4848
--chart-repos=rstuf=https://repository-service-tuf.github.io/helm-charts \
49-
--chart-repos=localstack=https://localstack.github.io/helm-charts
49+
--chart-repos=localstack=https://localstack.github.io/helm-charts \
50+
--helm-extra-set-args="--set rstuf-worker.initContainers=null,rstuf-api.initContainers=null" \

charts/rstuf-demo/Chart.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
apiVersion: v2
22
name: rstuf-demo
33
description: RSTUF Demo deploying RSTUF services and infrastructure services. This deployment is not recommended for production.
4-
version: 0.3.9
4+
version: 0.3.10
55
maintainers:
66
- name: kairoaraujo
77

88
dependencies:
99
- name: rstuf-api
10-
version: 0.2.2
10+
version: 0.2.3
1111
repository: "https://repository-service-tuf.github.io/helm-charts"
1212
- name: rstuf-worker
13-
version: 0.4.0
13+
version: 0.4.1
1414
repository: "https://repository-service-tuf.github.io/helm-charts"
1515
- name: postgresql
1616
version: 16.6.2

charts/rstuf-demo/values.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
rstuf-api:
2+
initContainers:
3+
- name: wait-for-valkey
4+
image: busybox:1.37
5+
command: ['sh', '-c', 'until nc -z rstuf-valkey-primary.rstuf.svc.cluster.local 6379 ; do echo "waiting for Valkey..."; sleep 2; done;']
26
backend:
37
brokerServer: "redis://rstuf-valkey-primary.rstuf.svc.cluster.local"
48
redisServer: "redis://rstuf-valkey-primary.rstuf.svc.cluster.local"
@@ -12,6 +16,13 @@ rstuf-api:
1216
tls: []
1317

1418
rstuf-worker:
19+
initContainers:
20+
- name: wait-for-valkey
21+
image: busybox:1.37
22+
command: ['sh', '-c', 'until nc -z rstuf-valkey-primary.rstuf.svc.cluster.local 6379 ; do echo "waiting for Valkey..."; sleep 2; done;']
23+
- name: wait-for-postgres
24+
image: busybox:1.37
25+
command: ['sh', '-c', 'until nc -z rstuf-postgresql.rstuf.svc.cluster.local 5432; do echo "waiting for Postgres..."; sleep 2; done;']
1526
backend:
1627
dbServer: "postgresql://postgres:postgres@rstuf-postgresql.rstuf.svc.cluster.local/rstuf"
1728
brokerServer: "redis://rstuf-valkey-primary.rstuf.svc.cluster.local"

0 commit comments

Comments
 (0)