Skip to content

Commit

Permalink
add encryption to integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ostempel committed Oct 8, 2024
1 parent 5fb9a18 commit fb2072f
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions deploy/etcd-local.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ data:
backup-cron-schedule: "*/1 * * * *"
object-prefix: etcd-test
etcd-endpoints: http://localhost:32379
encryption-key: "01234567891234560123456789123456"
post-exec-cmds:
- etcd --data-dir=/data/etcd --listen-client-urls http://0.0.0.0:32379 --advertise-client-urls http://0.0.0.0:32379 --listen-peer-urls http://0.0.0.0:32380 --initial-advertise-peer-urls http://0.0.0.0:32380 --initial-cluster default=http://0.0.0.0:32380 --listen-metrics-urls http://0.0.0.0:32381
kind: ConfigMap
Expand Down
1 change: 1 addition & 0 deletions deploy/keydb-local.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ data:
backup-cron-schedule: "*/1 * * * *"
object-prefix: keydb-test
redis-addr: localhost:6379
encryption-key: "01234567891234560123456789123456"
post-exec-cmds:
- keydb-server
kind: ConfigMap
Expand Down
1 change: 1 addition & 0 deletions deploy/localfs-local.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ data:
backup-cron-schedule: "*/1 * * * *"
object-prefix: localfs-test
redis-addr: localhost:6379
encryption-key: "01234567891234560123456789123456"
post-exec-cmds:
- tail -f /etc/hosts
kind: ConfigMap
Expand Down
1 change: 1 addition & 0 deletions deploy/meilisearch-local.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ data:
backup-cron-schedule: "*/1 * * * *"
object-prefix: meilisearch-test
compression-method: targz
encryption-key: "01234567891234560123456789123456"
post-exec-cmds:
- meilisearch --db-path=/data/data.ms/ --dump-dir=/backup/upload/files
kind: ConfigMap
Expand Down
1 change: 1 addition & 0 deletions deploy/postgres-local.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ data:
backup-cron-schedule: "*/1 * * * *"
object-prefix: postgres-test
compression-method: tar
encryption-key: "01234567891234560123456789123456"
post-exec-cmds:
- docker-entrypoint.sh postgres
kind: ConfigMap
Expand Down
1 change: 1 addition & 0 deletions deploy/redis-local.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ data:
backup-cron-schedule: "*/1 * * * *"
object-prefix: redis-test
redis-addr: localhost:6379
encryption-key: "01234567891234560123456789123456"
post-exec-cmds:
- redis-server
kind: ConfigMap
Expand Down
1 change: 1 addition & 0 deletions deploy/rethinkdb-local.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ data:
rethinkdb-passwordfile: /rethinkdb-secret/rethinkdb-password.txt
backup-cron-schedule: "*/1 * * * *"
object-prefix: rethinkdb-test
encryption-key: "01234567891234560123456789123456"
post-exec-cmds:
# IMPORTANT: the --directory needs to point to the exact sidecar data dir, otherwise the database will be restored to the wrong location
- rethinkdb --bind all --directory /data/rethinkdb --initial-password ${RETHINKDB_PASSWORD}
Expand Down
1 change: 1 addition & 0 deletions pkg/generate/examples/examples/etcd.go
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@ backup-provider: local
backup-cron-schedule: "*/1 * * * *"
object-prefix: etcd-test
etcd-endpoints: http://localhost:32379
encryption-key: "01234567891234560123456789123456"
post-exec-cmds:
- etcd --data-dir=/data/etcd --listen-client-urls http://0.0.0.0:32379 --advertise-client-urls http://0.0.0.0:32379 --listen-peer-urls http://0.0.0.0:32380 --initial-advertise-peer-urls http://0.0.0.0:32380 --initial-cluster default=http://0.0.0.0:32380 --listen-metrics-urls http://0.0.0.0:32381
`,
Expand Down
1 change: 1 addition & 0 deletions pkg/generate/examples/examples/keydb.go
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ backup-provider: local
backup-cron-schedule: "*/1 * * * *"
object-prefix: keydb-test
redis-addr: localhost:6379
encryption-key: "01234567891234560123456789123456"
post-exec-cmds:
- keydb-server
`,
Expand Down
1 change: 1 addition & 0 deletions pkg/generate/examples/examples/localfs.go
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ backup-provider: local
backup-cron-schedule: "*/1 * * * *"
object-prefix: localfs-test
redis-addr: localhost:6379
encryption-key: "01234567891234560123456789123456"
post-exec-cmds:
- tail -f /etc/hosts
`,
Expand Down
1 change: 1 addition & 0 deletions pkg/generate/examples/examples/meilisearch.go
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,7 @@ backup-provider: local
backup-cron-schedule: "*/1 * * * *"
object-prefix: meilisearch-test
compression-method: targz
encryption-key: "01234567891234560123456789123456"
post-exec-cmds:
- meilisearch --db-path=/data/data.ms/ --dump-dir=/backup/upload/files
`,
Expand Down
1 change: 1 addition & 0 deletions pkg/generate/examples/examples/postgres.go
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,7 @@ backup-provider: local
backup-cron-schedule: "*/1 * * * *"
object-prefix: postgres-test
compression-method: tar
encryption-key: "01234567891234560123456789123456"
post-exec-cmds:
- docker-entrypoint.sh postgres
`,
Expand Down
1 change: 1 addition & 0 deletions pkg/generate/examples/examples/redis.go
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ backup-provider: local
backup-cron-schedule: "*/1 * * * *"
object-prefix: redis-test
redis-addr: localhost:6379
encryption-key: "01234567891234560123456789123456"
post-exec-cmds:
- redis-server
`,
Expand Down
1 change: 1 addition & 0 deletions pkg/generate/examples/examples/rethinkdb.go
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,7 @@ backup-provider: local
rethinkdb-passwordfile: /rethinkdb-secret/rethinkdb-password.txt
backup-cron-schedule: "*/1 * * * *"
object-prefix: rethinkdb-test
encryption-key: "01234567891234560123456789123456"
post-exec-cmds:
# IMPORTANT: the --directory needs to point to the exact sidecar data dir, otherwise the database will be restored to the wrong location
- rethinkdb --bind all --directory /data/rethinkdb --initial-password ${RETHINKDB_PASSWORD}
Expand Down

0 comments on commit fb2072f

Please sign in to comment.