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://pgadm...@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 .
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.maha...@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 Mahajan
> EnterpriseDB
>
>

Reply via email to