bin/stack: update template, occ, add kube logs
This commit is contained in:
parent
84bd4db57e
commit
48d9b3f7bd
|
@ -55,8 +55,9 @@ stack() {
|
||||||
else "$0" sso cli "$command" "$@"
|
else "$0" sso cli "$command" "$@"
|
||||||
fi;;
|
fi;;
|
||||||
# app clis via kubectl
|
# app clis via kubectl
|
||||||
(occ) "$0" exec nc-nextcloud -it -- su www-data -s /bin/bash -c "php $command $*";;
|
(occ) "$0" exec nc-nextcloud -c nextcloud -it -- su www-data -s /bin/bash -c "php $command $*";;
|
||||||
(exec) "$0" kube exec "$@";;
|
(exec) "$0" kube exec "$@";;
|
||||||
|
(logs) "$0" kube logs "$@";;
|
||||||
(kube)
|
(kube)
|
||||||
if ! pod=$("$0" pod "$2-\(0\|[0-f]\+\)")
|
if ! pod=$("$0" pod "$2-\(0\|[0-f]\+\)")
|
||||||
then echo "No pod found for $2" >&2
|
then echo "No pod found for $2" >&2
|
||||||
|
|
|
@ -71,12 +71,7 @@ data:
|
||||||
# TODO verify structure matches chart
|
# TODO verify structure matches chart
|
||||||
ingress:
|
ingress:
|
||||||
enabled: true
|
enabled: true
|
||||||
# Bitnami style
|
# Elaborate style
|
||||||
hostname: "$subdomain.\${domain}"
|
|
||||||
tls: true
|
|
||||||
certManager: true
|
|
||||||
# Gitea style
|
|
||||||
enabled: true
|
|
||||||
annotations:
|
annotations:
|
||||||
kubernetes.io/tls-acme: "true"
|
kubernetes.io/tls-acme: "true"
|
||||||
hosts:
|
hosts:
|
||||||
|
@ -88,7 +83,19 @@ data:
|
||||||
- secretName: $app-tls
|
- secretName: $app-tls
|
||||||
hosts:
|
hosts:
|
||||||
- "$subdomain.\${domain}"
|
- "$subdomain.\${domain}"
|
||||||
# TODO Adjust OIDC SSO to service
|
# Bitnami style
|
||||||
|
hostname: "$subdomain.\${domain}"
|
||||||
|
tls: true
|
||||||
|
certManager: true
|
||||||
|
# TODO Adjust Mailer config
|
||||||
|
# mailer:
|
||||||
|
# enabled: "\${outgoing_mail_enabled}"
|
||||||
|
# host: "\${outgoing_mail_smtp_host}"
|
||||||
|
# port: "\${outgoing_mail_smtp_port}"
|
||||||
|
# username: "\${outgoing_mail_smtp_user}"
|
||||||
|
# password: "\${outgoing_mail_smtp_password}"
|
||||||
|
# fromemail: "\${outgoing_mail_from_address}"
|
||||||
|
# TODO Adjust OpenID Connect Single Sign-On Configuration
|
||||||
# - name: Stackspin
|
# - name: Stackspin
|
||||||
# key: "\${client_id}"
|
# key: "\${client_id}"
|
||||||
# secret: "\${client_secret}"
|
# secret: "\${client_secret}"
|
||||||
|
|
Loading…
Reference in New Issue