File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -116,6 +116,7 @@ pub const TRUSTED_ROOT_CERT_KEY_NAME: &str = "trusted_root_certs";
116
116
const PG_PASSWORD_ENV_VAR_NAME : & str = "APP_PIPELINE__PG_CONNECTION__PASSWORD" ;
117
117
const BIG_QUERY_SA_KEY_ENV_VAR_NAME : & str = "APP_DESTINATION__BIG_QUERY__SERVICE_ACCOUNT_KEY" ;
118
118
pub const RESTARTED_AT_ANNOTATION_KEY : & str = "etl.supabase.com/restarted-at" ;
119
+ const REPLICATOR_APP_LABEL : & str = "etl-replicator-app" ;
119
120
120
121
impl HttpK8sClient {
121
122
pub async fn new ( ) -> Result < HttpK8sClient , K8sError > {
@@ -330,13 +331,14 @@ impl K8sClient for HttpK8sClient {
330
331
"replicas" : 1 ,
331
332
"selector" : {
332
333
"matchLabels" : {
333
- "app" : replicator_app_name
334
+ "app-name " : replicator_app_name,
334
335
}
335
336
} ,
336
337
"template" : {
337
338
"metadata" : {
338
339
"labels" : {
339
- "app" : replicator_app_name
340
+ "app-name" : replicator_app_name,
341
+ "app" : REPLICATOR_APP_LABEL
340
342
}
341
343
} ,
342
344
"spec" : {
You can’t perform that action at this time.
0 commit comments