1313# limitations under the License.
1414
1515# -- fully override common.names.fullname
16- fullnameOverride : " prefect -server"
16+ fullnameOverride : " {{ prefect3server.ops.name }} -server"
1717
1818global :
1919 prefect :
@@ -30,12 +30,12 @@ server:
3030 # -- set PREFECT_UI_ENABLED; enable the UI on the server
3131 enabled : true
3232 # -- sets PREFECT_UI_API_URL
33- # prefectUiApiUrl: "https://processing .{{ platform_domain_name }}/api"
33+ # prefectUiApiUrl: "https://{{ prefect3server.ops.subDomain }} .{{ platform_domain_name }}/api"
3434 # -- sets PREFECT_UI_URL
35- # prefectUiUrl: "https://processing .{{ platform_domain_name }}"
35+ # prefectUiUrl: "https://{{ prefect3server.ops.subDomain }} .{{ platform_domain_name }}"
3636 # -- sets PREFECT_UI_STATIC_DIRECTORY
3737 # prefectUiStaticDirectory: "/ui_build"
38- prefectUiApiUrl : https://processing. {{ platform_domain_name }}/api
38+ prefectUiApiUrl : " https://{{ prefect3server.ops.subDomain }}. {{ platform_domain_name }}/api"
3939
4040 env :
4141 - name : PREFECT_LOGGING_EXTRA_LOGGERS
@@ -95,16 +95,16 @@ ingress:
9595 className : " nginx"
9696 # path must be /
9797 host :
98- hostname : processing. {{ platform_domain_name }}
98+ hostname : " {{ prefect3server.ops.subDomain }}. {{ platform_domain_name }}"
9999 path : /
100100 pathType : Prefix
101101
102102 annotations :
103103 cert-manager.io/cluster-issuer : letsencrypt-prod
104104 nginx.ingress.kubernetes.io/backend-protocol : HTTP
105105 nginx.ingress.kubernetes.io/proxy-buffer-size : 32k
106- nginx.ingress.kubernetes.io/auth-signin : https://oauth2-proxy.{{ platform_domain_name }}/oauth2/start?rd=https://$host
107- nginx.ingress.kubernetes.io/auth-url : https://oauth2-proxy.{{ platform_domain_name }}/oauth2/auth
106+ nginx.ingress.kubernetes.io/auth-signin : " https://oauth2-proxy.{{ platform_domain_name }}/oauth2/start?rd=https://$host"
107+ nginx.ingress.kubernetes.io/auth-url : " https://oauth2-proxy.{{ platform_domain_name }}/oauth2/auth?allowed_groups={{ prefect3server.ops.allowedRoles | default('role:RS-ADMIN', true) }} "
108108 nginx.ingress.kubernetes.io/auth-response-headers : Authorization
109109
110110 tls : true
@@ -113,8 +113,8 @@ ingress:
113113
114114 extraTls :
115115 - hosts :
116- - processing. {{ platform_domain_name }}
117- secretName : processing -{{ platform_domain_name | replace(".", "-") }}
116+ - " {{ prefect3server.ops.subDomain }}. {{ platform_domain_name }}"
117+ secretName : " {{ prefect3server.ops.subDomain }} -{{ platform_domain_name | replace(" .", "-") }}"
118118
119119# Disable bundled postgresql
120120postgresql :
@@ -123,9 +123,9 @@ postgresql:
123123# Postgresql credentials
124124secret :
125125 create : true
126- name : {{ prefect3.database.secret }}
127- username : {{ prefect3. database.username }}
128- password : {{ prefect3. database.password }}
129- host : {{ prefect3. database.host }}
126+ name : " {{ prefect3server.ops.name }}-database-password "
127+ username : " {{ prefect3server.ops. database.username }}"
128+ password : " {{ prefect3server.ops. database.password }}"
129+ host : " {{ prefect3server.ops. database.host }}"
130130 port : 5432
131- database : {{ prefect3.database .name }}
131+ database : " {{ prefect3server.ops .name }}"
0 commit comments