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:
type: ClusterIP
port: 80
targetPort: 8080
ingress:
enabled: true
@ -59,6 +60,7 @@ config:
enable-signup: false
enable-login: "true"
enable-metrics: "true"
listen-http: ":8080"
persistence:
enabled: true

View File

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