Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
controller:
ingressClass: beavercds

service:
type: LoadBalancer
annotations:
providers:
kubernetesIngress:
enabled: true
kubernetesGateway:
enabled: false
api:
dashboard: false
ingressClass:
name: "beavercds"
service:
annotations:
# AWS-specific annotations
service.beta.kubernetes.io/aws-load-balancer-scheme: "internet-facing"
service.beta.kubernetes.io/aws-load-balancer-backend-protocol: tcp
Expand Down
10 changes: 5 additions & 5 deletions src/cluster_setup/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,22 +43,22 @@ enum HelmSource {
}

pub async fn install_ingress(profile: &config::ProfileConfig) -> Result<()> {
info!("deploying haproxy ingress chart...");
info!("deploying traefik ingress chart...");

const VALUES: &str = include_str!("../asset_files/setup_manifests/haproxy-ingress.helm.yaml");
const VALUES: &str = include_str!("../asset_files/setup_manifests/traefik-ingress.helm.yaml");
trace!("values:\n{}", VALUES);

install_helm_chart(
profile,
HelmSource::Oci {
chart: "oci://ghcr.io/haproxytech/helm-charts/kubernetes-ingress",
chart: "oci://ghcr.io/traefik/helm/traefik",
},
None,
"haproxy",
"traefik",
INGRESS_NAMESPACE,
VALUES,
)
.context("failed to install haproxy ingress helm chart")
.context("failed to install traefik ingress helm chart")
}

pub async fn install_certmanager(profile: &config::ProfileConfig) -> Result<()> {
Expand Down
2 changes: 1 addition & 1 deletion src/deploy/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ pub async fn check_setup(profile: &ProfileConfig) -> Result<()> {
.unwrap_or(0)
};
}
let expected_charts = ["haproxy", "cert-manager", "external-dns"];
let expected_charts = ["traefik", "cert-manager", "external-dns"];
let latest_releases = expected_charts
.iter()
.map(|chart| {
Expand Down
Loading