mirror of
https://github.com/bitnami/charts.git
synced 2026-03-15 14:57:16 +08:00
[bitnami/*] Adapt certificates initContainer to the new image (#5684)
* [bitnami/*] Adapt certificates initContainer to the new image * Bump drupal version
This commit is contained in:
committed by
GitHub
parent
3b855cfd6c
commit
5d59d2f21e
@@ -25,4 +25,4 @@ name: moodle
|
||||
sources:
|
||||
- https://github.com/bitnami/bitnami-docker-moodle
|
||||
- http://www.moodle.org/
|
||||
version: 11.0.4
|
||||
version: 11.0.5
|
||||
|
||||
@@ -93,13 +93,11 @@ spec:
|
||||
{{- else if .Values.certificates.customCertificate.certificateSecret }}
|
||||
- sh
|
||||
- -c
|
||||
- if command -v apk >/dev/null; then apk add --no-cache ca-certificates openssl && update-ca-certificates;
|
||||
else apt-get update && apt-get install -y ca-certificates openssl; fi
|
||||
- install_packages ca-certificates openssl
|
||||
{{- else }}
|
||||
- sh
|
||||
- -c
|
||||
- if command -v apk >/dev/null; then apk add --no-cache ca-certificates openssl && update-ca-certificates;
|
||||
else apt-get update && apt-get install -y ca-certificates openssl; fi
|
||||
- install_packages ca-certificates openssl
|
||||
&& openssl req -new -x509 -days 3650 -nodes -sha256
|
||||
-subj "/CN=$(hostname)" -addext "subjectAltName = DNS:$(hostname)"
|
||||
-out /etc/ssl/certs/ssl-cert-snakeoil.pem
|
||||
|
||||
Reference in New Issue
Block a user