change ntfy listen port
All checks were successful
Run Check Script / check (pull_request) Successful in 1m8s

This commit is contained in:
Ian Letourneau 2025-08-12 09:03:04 -04:00
parent 11b76e9c8d
commit 102aa2bdf0
2 changed files with 8 additions and 5 deletions

View File

@ -26,6 +26,7 @@ serviceAccount:
service: service:
type: ClusterIP type: ClusterIP
port: 80 port: 80
targetPort: 8080
ingress: ingress:
enabled: true enabled: true
@ -59,6 +60,7 @@ config:
enable-signup: false enable-signup: false
enable-login: "true" enable-login: "true"
enable-metrics: "true" enable-metrics: "true"
listen-http: ":8080"
persistence: persistence:
enabled: true enabled: true

View File

@ -1,7 +1,7 @@
use std::sync::Arc; use std::sync::Arc;
use async_trait::async_trait; use async_trait::async_trait;
use log::debug; use log::info;
use serde::Serialize; use serde::Serialize;
use strum::{Display, EnumString}; use strum::{Display, EnumString};
@ -99,12 +99,13 @@ impl<T: Topology + HelmCommand + K8sclient> Interpret<T> for NtfyInterpret {
.interpret(inventory, topology) .interpret(inventory, topology)
.await?; .await?;
debug!("installed ntfy helm chart"); info!("installed ntfy helm chart");
let client = topology let client = topology
.k8s_client() .k8s_client()
.await .await
.expect("couldn't get k8s client"); .expect("couldn't get k8s client");
info!("deploying ntfy...");
client client
.wait_until_deployment_ready( .wait_until_deployment_ready(
"ntfy".to_string(), "ntfy".to_string(),
@ -112,12 +113,12 @@ impl<T: Topology + HelmCommand + K8sclient> Interpret<T> for NtfyInterpret {
None, None,
) )
.await?; .await?;
debug!("created k8s client"); info!("ntfy deployed");
info!("adding user harmony");
self.add_user(client, "harmony", "harmony", Some(NtfyRole::Admin)) self.add_user(client, "harmony", "harmony", Some(NtfyRole::Admin))
.await?; .await?;
info!("user added");
debug!("exec into pod done");
Ok(Outcome::success("Ntfy installed".to_string())) Ok(Outcome::success("Ntfy installed".to_string()))
} }