Skip to content

Commit

Permalink
Update pulumi up options and main container image
Browse files Browse the repository at this point in the history
A refresh flag is added to the `pulumi up` command in `pulumi_execution.rs` to ensure the sync of the local resources state before the execution. In `service.rs`, the main container image is updated to the latest version (1.0.24), to include recent bug fixes and improvements.
  • Loading branch information
jan-br committed Sep 29, 2023
1 parent 7e4c5e8 commit 1b2f3e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions pulumi-operator-kubernetes-job/src/pulumi_execution.rs
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ impl PulumiExecution {
let exit = pulumi
.up(UpOptions {
stack: Some(stack_name.clone()),
refresh: Some(true),
..Default::default()
})
.await;
Expand Down
2 changes: 1 addition & 1 deletion pulumi-operator-kubernetes/src/stack/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ impl KubernetesPulumiStackService {

let mut main_container: Container = serde_json::from_value(json!({
"name": "pulumi",
"image": "ghcr.io/stromee/pulumi-operator/pulumi-operator-kubernetes-job:1.0.23",
"image": "ghcr.io/stromee/pulumi-operator/pulumi-operator-kubernetes-job:1.0.24",
"env": [{
"name": "PULUMI_STACK",
"value": name
Expand Down

0 comments on commit 1b2f3e9

Please sign in to comment.