diff --git a/Cargo.lock b/Cargo.lock index 23e7c39..7e4544e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -456,7 +456,7 @@ dependencies = [ [[package]] name = "hoprd_operator" -version = "0.2.9" +version = "0.2.10" dependencies = [ "async-recursion", "base64", diff --git a/Cargo.toml b/Cargo.toml index 6b6ab92..78204df 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hoprd_operator" -version = "0.2.9" +version = "0.2.10" authors = ["HOPR Association "] edition = "2021" diff --git a/charts/hoprd-operator/Chart.yaml b/charts/hoprd-operator/Chart.yaml index 5c1ba27..11fbee4 100644 --- a/charts/hoprd-operator/Chart.yaml +++ b/charts/hoprd-operator/Chart.yaml @@ -2,8 +2,8 @@ apiVersion: v2 name: hoprd-operator -version: 0.2.6 -appVersion: 0.2.8 +version: 0.2.7 +appVersion: 0.2.10 description: A Helm chart operator for managing Hopr nodes type: application icon: "https://hoprnet.org/assets/icons/logo.svg" diff --git a/src/cluster/cluster_hoprd.rs b/src/cluster/cluster_hoprd.rs index 4a50ba2..677474e 100644 --- a/src/cluster/cluster_hoprd.rs +++ b/src/cluster/cluster_hoprd.rs @@ -156,9 +156,9 @@ impl ClusterHoprd { context_data.send_event(self, ClusterHoprdEventEnum::Failed, None).await; self.update_status(context_data.clone(), ClusterHoprdPhaseEnum::Failed).await?; } else { - if self.needs_deployment_modification(previous_cluster_hoprd) { - self.appply_modification(context_data.clone()).await?; - } + //if self.needs_deployment_modification(previous_cluster_hoprd) { + self.appply_modification(context_data.clone()).await?; + //} self.check_needs_rescale(context_data.clone()).await?; info!("ClusterHoprd {cluster_hoprd_name} in namespace {hoprd_namespace} has been successfully modified"); } diff --git a/src/identity_pool/identity_pool_cronjob_faucet.rs b/src/identity_pool/identity_pool_cronjob_faucet.rs index fd4a11c..c88a052 100644 --- a/src/identity_pool/identity_pool_cronjob_faucet.rs +++ b/src/identity_pool/identity_pool_cronjob_faucet.rs @@ -59,7 +59,7 @@ pub async fn create_cron_job(context_data: Arc, identity_pool: &Ide async fn build_args_line(identity_pool: &IdentityPool) -> Option> { let native_amount: String =identity_pool.spec.funding.clone().unwrap().native_amount.to_string(); let network: String = identity_pool.spec.network.to_owned(); - let command_line: String = format!("PATH=${{PATH}}:/app/hoprnet/.foundry/bin/ /bin/hopli faucet --network {} --contracts-root /app/hoprnet/ethereum/contracts/ --hopr-amount 0 --native-amount \"{}\" --address $(cat /data/addresses.txt)", network, native_amount); + let command_line: String = format!("PATH=${{PATH}}:/app/hoprnet/.foundry/bin/ /bin/hopli faucet --provider-url https://gnosis-chain.rpc.rank1.co --network {} --hopr-amount 0 --native-amount \"{}\" --address $(cat /data/addresses.txt)", network, native_amount); Some(vec![command_line]) } diff --git a/test-data/sample_config-prod.yaml b/test-data/sample_config-prod.yaml index 26e7ae6..3ec20d0 100644 --- a/test-data/sample_config-prod.yaml +++ b/test-data/sample_config-prod.yaml @@ -14,7 +14,7 @@ ingress: p2p_port_min: "9000" p2p_port_max: "9010" deployment_name: ingress-nginx-controller -hopli_image: europe-west3-docker.pkg.dev/hoprassociation/docker-images/hopli:latest +hopli_image: europe-west3-docker.pkg.dev/hoprassociation/docker-images/hopli:2.1.0-rc.3 persistence: size: 500Mi storage_class_name: ceph-ephimeral \ No newline at end of file diff --git a/test-data/sample_config-rpch.yaml b/test-data/sample_config-rpch.yaml deleted file mode 100644 index 2ba0fc2..0000000 --- a/test-data/sample_config-rpch.yaml +++ /dev/null @@ -1,13 +0,0 @@ -instance: - name: "hoprd-operator-staging" - namespace: "staging" - secret_name: "hoprd" -ingress: - ingress_class_name: "nginx" - dns_domain: "stage.hoprtech.net" - annotations: - cert-manager.io/cluster-issuer: "linode-issuer" - nginx.ingress.kubernetes.io/proxy-connect-timeout: "3600" - nginx.ingress.kubernetes.io/proxy-read-timeout: "3600" - nginx.ingress.kubernetes.io/proxy-send-timeout: "3600" -hopli_image: europe-west3-docker.pkg.dev/hoprassociation/docker-images/hopli:latest \ No newline at end of file diff --git a/test-data/sample_config-staging.yaml b/test-data/sample_config-staging.yaml index d080e1b..acdc220 100644 --- a/test-data/sample_config-staging.yaml +++ b/test-data/sample_config-staging.yaml @@ -14,7 +14,7 @@ ingress: p2p_port_min: "9000" p2p_port_max: "9001" deployment_name: ingress-nginx-controller -hopli_image: europe-west3-docker.pkg.dev/hoprassociation/docker-images/hopli:latest +hopli_image: europe-west3-docker.pkg.dev/hoprassociation/docker-images/hopli:2.1.0-rc.3 persistence: size: 500Mi storage_class_name: ceph-ephimeral \ No newline at end of file