Skip to content

Commit

Permalink
adjust infra to new image
Browse files Browse the repository at this point in the history
  • Loading branch information
scarmuega committed Nov 12, 2024
1 parent 8c148bf commit 98951e4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bootstrap/stage2/control-plane.tf
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ resource "kubernetes_deployment_v1" "control_plane" {
image = var.control_plane_image
name = "main"

args = ["control-plane"]
command = ["rpc"]

env {
name = "K8S_IN_CLUSTER"
Expand Down
5 changes: 3 additions & 2 deletions bootstrap/stage2/deployment.tf
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,9 @@ resource "kubernetes_deployment_v1" "operator" {

spec {
container {
image = var.operator_image
name = "main"
image = var.operator_image
name = "main"
command = ["operator"]

env {
name = "K8S_IN_CLUSTER"
Expand Down
3 changes: 2 additions & 1 deletion crates/operator/src/custom_resource.rs
Original file line number Diff line number Diff line change
Expand Up @@ -270,8 +270,8 @@ impl HydraDoomNode {
Container {
name: "sidecar".to_string(),
image: Some(config.sidecar_image.clone()),
command: Some(vec!["metrics-exporter".to_string()]),
args: Some(vec![
"metrics-exporter".to_string(),
"--host".to_string(),
"localhost".to_string(),
"--port".to_string(),
Expand Down Expand Up @@ -312,6 +312,7 @@ impl HydraDoomNode {
containers.push(Container {
name: "open-head".to_string(),
image: Some(config.open_head_image.clone()),
command: Some(vec!["open-head".to_string()]),
args: Some(open_head_args),
volume_mounts: Some(vec![
VolumeMount {
Expand Down

0 comments on commit 98951e4

Please sign in to comment.