Skip to content
This repository has been archived by the owner on Jun 26, 2023. It is now read-only.

Commit

Permalink
use neicnordic/sda-helm-tests-support for certgen
Browse files Browse the repository at this point in the history
  • Loading branch information
norling committed Nov 7, 2022
1 parent 3698fd5 commit 268ea23
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 15 deletions.
12 changes: 0 additions & 12 deletions dev_utils/certfixer/Dockerfile

This file was deleted.

2 changes: 1 addition & 1 deletion dev_utils/certfixer/make_certs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ openssl x509 -req -in "$out_dir/client.csr" -days 1200 -CA "$out_dir/ca.crt" -CA

# fix permissions
chmod 644 "$out_dir"/*
chown -R nobody.nobody "$out_dir"/*
chown -R root:root "$out_dir"/*
chmod 600 "$out_dir"/*-key.pem

# move certificates to volumes
Expand Down
6 changes: 4 additions & 2 deletions dev_utils/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
services:
certfixer:
build:
context: ./certfixer
image: neicnordic/sda-helm-tests-support:latest
command: /bin/sh /certfixer/make_certs.sh
user: "0:0"
volumes:
- ./certfixer:/certfixer
- pubcert:/pubcert
- s3_certs:/s3_certs
- mq_certs:/mq_certs
Expand Down

0 comments on commit 268ea23

Please sign in to comment.