From: | iram khan <kkhan(dot)iram(at)gmail(dot)com> |
---|---|
To: | Yogesh Mahajan <yogesh(dot)mahajan(at)enterprisedb(dot)com> |
Cc: | "pgadmin-support(at)lists(dot)postgresql(dot)org" <pgadmin-support(at)lists(dot)postgresql(dot)org> |
Subject: | Re: BUG #18555: pgadmin image keeps giving mime type error. Is the image k8s compatible . |
Date: | 2024-08-26 19:13:06 |
Message-ID: | CAJBeJHmJ_PMi0da0qpCkbY4cgP5ErNSCdJ6RtGyVpoR6EKzrBA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(dot)(at)domain(dot)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 .
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: pgadmin
namespace: admin
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /
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(dot)mahajan(at)enterprisedb(dot)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 Mahajan
> EnterpriseDB
>
>
From | Date | Subject | |
---|---|---|---|
Next Message | Anil Sahoo | 2024-08-27 04:23:08 | Re: pg admin crashing |
Previous Message | Jacqueline Jacobe | 2024-08-23 14:03:58 | pg admin crashing |