[bitnami/harbor-notary-server] Release 2.8.3-debian-11-r9 (#44084)

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
Bitnami Bot
2023-08-09 22:32:51 +02:00
committed by GitHub
parent f2fb6f95ba
commit 7216df08c1
2 changed files with 5 additions and 5 deletions

View File

@@ -7,10 +7,10 @@ ARG TARGETARCH
LABEL com.vmware.cp.artifact.flavor="sha256:1e1b4657a77f0d47e9220f0c37b9bf7802581b93214fff7d1bd2364c8bf22e8e" \
org.opencontainers.image.base.name="docker.io/bitnami/minideb:bullseye" \
org.opencontainers.image.created="2023-08-05T20:22:33Z" \
org.opencontainers.image.created="2023-08-08T21:50:29Z" \
org.opencontainers.image.description="Application packaged by VMware, Inc" \
org.opencontainers.image.licenses="Apache-2.0" \
org.opencontainers.image.ref.name="2.8.3-debian-11-r6" \
org.opencontainers.image.ref.name="2.8.3-debian-11-r9" \
org.opencontainers.image.title="harbor-notary-server" \
org.opencontainers.image.vendor="VMware, Inc." \
org.opencontainers.image.version="2.8.3"

View File

@@ -27,7 +27,7 @@ get_system_cert_paths() {
distro="$(get_os_metadata --id)"
if [[ "$distro" =~ ^(debian|ubuntu)$ ]]; then
echo "/etc/ssl/certs/"
elif [[ "$distro" =~ ^(centos|photon)$ ]]; then
elif [[ "$distro" =~ ^photon$ ]]; then
echo "/etc/pki/tls/certs/"
else
# Check the existence of generic paths when OS_FLAVOR does
@@ -55,7 +55,7 @@ configure_permissions_system_certs() {
local -r owner="${1:-}"
# Debian
set_permissions_ownership "/etc/pki/tls/certs/ca-bundle.crt" "$owner"
# Centos/Phonton
# Photon
set_permissions_ownership "/etc/pki/tls/certs/ca-bundle.trust.crt" "$owner"
set_permissions_ownership "/etc/ssl/certs/ca-certificates.crt" "$owner"
}
@@ -100,7 +100,7 @@ install_cert() {
if [[ "$distro" =~ ^(debian|ubuntu)$ ]]; then
cat "$cert" >> /etc/ssl/certs/ca-certificates.crt
elif [[ "$distro" =~ ^(centos|photon)$ ]]; then
elif [[ "$distro" =~ ^photon$ ]]; then
cat "$cert" >> /etc/pki/tls/certs/ca-bundle.crt
else
# Check the existence of generic ca-bundles when OS_FLAVOR does