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";
116116const PG_PASSWORD_ENV_VAR_NAME : & str = "APP_PIPELINE__PG_CONNECTION__PASSWORD" ;
117117const BIG_QUERY_SA_KEY_ENV_VAR_NAME : & str = "APP_DESTINATION__BIG_QUERY__SERVICE_ACCOUNT_KEY" ;
118118pub const RESTARTED_AT_ANNOTATION_KEY : & str = "etl.supabase.com/restarted-at" ;
119+ const REPLICATOR_APP_LABEL : & str = "etl-replicator-app" ;
119120
120121impl HttpK8sClient {
121122 pub async fn new ( ) -> Result < HttpK8sClient , K8sError > {
@@ -330,13 +331,14 @@ impl K8sClient for HttpK8sClient {
330331 "replicas" : 1 ,
331332 "selector" : {
332333 "matchLabels" : {
333- "app" : replicator_app_name
334+ "app-name " : replicator_app_name,
334335 }
335336 } ,
336337 "template" : {
337338 "metadata" : {
338339 "labels" : {
339- "app" : replicator_app_name
340+ "app-name" : replicator_app_name,
341+ "app" : REPLICATOR_APP_LABEL
340342 }
341343 } ,
342344 "spec" : {
You can’t perform that action at this time.
0 commit comments