Update tls cert mountPath in custom-values.yaml, argo-values.yaml
This commit is contained in:
@@ -26,11 +26,10 @@ extraVolumes:
|
||||
secret:
|
||||
secretName: platform
|
||||
|
||||
|
||||
extraContainerVolumeMounts:
|
||||
- name: keycloak-tls
|
||||
mountPath: /data/gitea/https/
|
||||
|
||||
mountPath: /etc/ssl/certs/ca.crt
|
||||
subPath: ca.crt
|
||||
|
||||
lifecycleHooks:
|
||||
postStart:
|
||||
@@ -40,8 +39,6 @@ lifecycleHooks:
|
||||
- "-c"
|
||||
- |
|
||||
/bin/bash <<'EOF' > /tmp/post_start.log
|
||||
cp /data/gitea/https/tls.crt /usr/local/share/ca-certificates/ # 사설 인증서 사용시에만 추가
|
||||
update-ca-certificates # 사설 인증서 사용시에만 추가
|
||||
su git
|
||||
OAUTH_NAME='keycloak'
|
||||
AUTH_ID=$(gitea admin auth list --vertical-bars | grep -E "\|${OAUTH_NAME}\s+\|" | grep -iE '\|OAuth2\s+\|' | awk -F " " "{print \$1}")
|
||||
|
||||
Reference in New Issue
Block a user