Re: BUG #18555: pgadmin image keeps giving mime type error. Is the image k8s compatible .
От | iram khan |
---|---|
Тема | Re: BUG #18555: pgadmin image keeps giving mime type error. Is the image k8s compatible . |
Дата | |
Msg-id | CAJBeJHmJ_PMi0da0qpCkbY4cgP5ErNSCdJ6RtGyVpoR6EKzrBA@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: BUG #18555: pgadmin image keeps giving mime type error. Is the image k8s compatible . (Yogesh Mahajan <yogesh.mahajan@enterprisedb.com>) |
Список | pgadmin-support |
Hi yogesh ,
So I tried deploying pgadmin on azure cloud as well and on-prem kubernetes also. I am unable to access it through ingress. On -prem kubernetes , I am able to access through node-port and port forward service.
On azure-cloud , I am able to access though port-forward. I am unable to access through ingress on both platforms.
Please help. I have attached the error I get for both . I am using dpage/pgadmin4:8.8 , havent made any changes to the image .
Refused to execute script from 'https://pgadmin.@domain.com/login?next=/browser/' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
This is how my ingress looks like .
kind: Ingress
metadata:
name: pgadmin
namespace: admin
annotations:
spec:
rules:
- host: pgadmin.{domain}.com
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: pgadmin-service
port:
number: 80
tls:
- hosts:
- pgadmin.{domain}.com
Thanks,
Iram Khan
On Fri, Aug 2, 2024 at 12:20 AM Yogesh Mahajan <yogesh.mahajan@enterprisedb.com> wrote:
Hi,Can you please share a config yaml file for deployment? Also are you using any webserver e.g. nginx/httpd? If yes can you please share config for the same?As per user, github issue #7412 was on Azure Webapps and it works fine on local vm.Thanks,Yogesh MahajanEnterpriseDB
В списке pgadmin-support по дате отправления: