fix: remove ingress rewrite-target and dynamic env generator for helm2
This commit is contained in:
@@ -15,12 +15,12 @@ ingress:
|
||||
enabled: true
|
||||
className: nginx
|
||||
annotations:
|
||||
# KITA AKTIFKAN KEMBALI REWRITE DI SINI
|
||||
nginx.ingress.kubernetes.io/use-regex: "true"
|
||||
nginx.ingress.kubernetes.io/rewrite-target: /$2
|
||||
# HAPUS rewrite-target agar URL /sidata diteruskan utuh ke Pod
|
||||
# Nginx di dalam Pod kita sudah punya 'location /sidata'
|
||||
nginx.ingress.kubernetes.io/ssl-redirect: "false"
|
||||
host: dashboard-bpkd.drc-bpkd.data-center.id
|
||||
path: /sidata(/|$)(.*)
|
||||
pathType: ImplementationSpecific
|
||||
path: /sidata
|
||||
pathType: Prefix
|
||||
|
||||
env:
|
||||
APP_NAME: "SIDATA"
|
||||
|
||||
Reference in New Issue
Block a user