diff --git a/helm/_global/p4pa-superset.yaml b/helm/_global/p4pa-superset.yaml index bea9e70..69a74d6 100644 --- a/helm/_global/p4pa-superset.yaml +++ b/helm/_global/p4pa-superset.yaml @@ -31,7 +31,6 @@ superset: # -- Extra environment variables that will be passed into pods extraEnv: - SUPERSET_APP_ROOT: "/analytics" # if you change this, apply the same on probe configurations # Different gunicorn settings, refer to the gunicorn documentation # https://docs.gunicorn.org/en/stable/settings.html# # These variables are used as Flags at the gunicorn startup @@ -144,14 +143,12 @@ superset: enabled: true ingressClassName: nginx annotations: - # kubernetes.io/tls-acme: "true" - nginx.ingress.kubernetes.io/rewrite-target: /analytics$1 - nginx.ingress.kubernetes.io/use-regex: 'true' + nginx.ingress.kubernetes.io/force-ssl-redirect : "true" ## Extend timeout to allow long running queries. nginx.ingress.kubernetes.io/proxy-connect-timeout: "300" nginx.ingress.kubernetes.io/proxy-read-timeout: "300" nginx.ingress.kubernetes.io/proxy-send-timeout: "300" - path: /analytics(/?.*) + path: / pathType: ImplementationSpecific extraHostsRaw: [] # - secretName: chart-example-tls @@ -221,33 +218,6 @@ superset: podAnnotations: {} # -- Labels to be added to supersetNode pods podLabels: {} - startupProbe: - httpGet: - path: /analytics/health - port: http - initialDelaySeconds: 15 - timeoutSeconds: 1 - failureThreshold: 60 - periodSeconds: 5 - successThreshold: 1 - livenessProbe: - httpGet: - path: /analytics/health - port: http - initialDelaySeconds: 15 - timeoutSeconds: 1 - failureThreshold: 3 - periodSeconds: 15 - successThreshold: 1 - readinessProbe: - httpGet: - path: /analytics/health - port: http - initialDelaySeconds: 15 - timeoutSeconds: 1 - failureThreshold: 3 - periodSeconds: 15 - successThreshold: 1 podSecurityContext: seccompProfile: type: RuntimeDefault diff --git a/helm/dev/top/p4pa-superset/values.yaml b/helm/dev/top/p4pa-superset/values.yaml index 6584233..c4d0fe9 100644 --- a/helm/dev/top/p4pa-superset/values.yaml +++ b/helm/dev/top/p4pa-superset/values.yaml @@ -4,8 +4,11 @@ superset: ingress: hosts: - - "hub.internal.dev.p4pa.pagopa.it" - tls: [] + - analytics.internal.dev.p4pa.pagopa.it + tls: + - secret_name: analytics-internal-dev-p4pa-pagopa-it + hosts: + - analytics.internal.dev.p4pa.pagopa.it resources: # The limits below will apply to all Superset components. To set individual resource limitations refer to the pod specific values below. diff --git a/helm/prod/top/p4pa-superset/values.yaml b/helm/prod/top/p4pa-superset/values.yaml index 51a52c8..296a6cb 100644 --- a/helm/prod/top/p4pa-superset/values.yaml +++ b/helm/prod/top/p4pa-superset/values.yaml @@ -4,8 +4,11 @@ superset: ingress: hosts: - - "hub.internal.p4pa.pagopa.it" - tls: [] + - analytics.internal.p4pa.pagopa.it + tls: + - secret_name: analytics-internal-p4pa-pagopa-it + hosts: + - analytics.internal.p4pa.pagopa.it resources: # The limits below will apply to all Superset components. To set individual resource limitations refer to the pod specific values below. diff --git a/helm/uat/top/p4pa-superset/values.yaml b/helm/uat/top/p4pa-superset/values.yaml index ebfd575..a5af82f 100644 --- a/helm/uat/top/p4pa-superset/values.yaml +++ b/helm/uat/top/p4pa-superset/values.yaml @@ -4,8 +4,11 @@ superset: ingress: hosts: - - "hub.internal.uat.p4pa.pagopa.it" - tls: [] + - analytics.internal.uat.p4pa.pagopa.it + tls: + - secret_name: analytics-internal-uat-p4pa-pagopa-it + hosts: + - analytics.internal.uat.p4pa.pagopa.it resources: # The limits below will apply to all Superset components. To set individual resource limitations refer to the pod specific values below.