Skip to content

Commit 78b9bef

Browse files
committed
doc(builder): explaining why we don't need to copy the self-signed cert
1 parent 3fab580 commit 78b9bef

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

rootfs/etc/confd/templates/builder

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,11 @@ sed -i -- "s#tar-url#$TAR_URL#g" /etc/${SLUG_NAME}.yaml
118118

119119
ACCESS_KEY=`cat /var/run/secrets/object/store/access-key-id`
120120
ACCESS_SECRET=`cat /var/run/secrets/object/store/access-secret-key`
121-
# copy the self signed cert into the CA directory for alpine
122-
CERT_FILE="/var/run/secrets/object/ssl/access-cert"
123-
cp $CERT_FILE /etc/ssl/certs/deis-minio-self-signed-cert.crt
121+
# copy the self signed cert into the CA directory for alpine.
122+
# note: we're not running minio with SSL at all right now, so no need for this.
123+
# future SSL rollouts for in-cluster storage may not need it either if we set up an intermediate CA
124+
# CERT_FILE="/var/run/secrets/object/ssl/access-cert"
125+
# cp $CERT_FILE /etc/ssl/certs/deis-minio-self-signed-cert.crt
124126
mkdir -p /var/minio-conf
125127
CONFIG_DIR=/var/minio-conf
126128
MC_PREFIX="mc -C $CONFIG_DIR --quiet"

0 commit comments

Comments
 (0)