Skip to content

Commit

Permalink
Add more debug logs
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-br committed Sep 17, 2023
1 parent 495574a commit 2c3d32b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions pulumi-operator-kubernetes-job/src/git/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ impl GitController {
if let Some(Ok(remote_hash)) = remote_hash {
callback.certificate_check(move |cert, hostname| {
if let Some(hostkey) = cert.as_hostkey() {
dbg!(&remote_hash, encode(hostkey.hash_sha256().unwrap());
if remote_hash == encode(hostkey.hash_sha256().unwrap()) {
return Ok(CertificateCheckStatus::CertificateOk);
}
Expand Down
4 changes: 2 additions & 2 deletions pulumi-operator-kubernetes/src/stack/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@ impl PulumiStackService for KubernetesPulumiStackService {
}, {
"name": "RUST_BACKTRACE",
"value": "full"
}]
}],
"imagePullPolicy": "Always"
}],
"serviceAccountName": "superuser",
"imagePullPolicy": "Always",
"restartPolicy": "Never"
}
},
Expand Down

0 comments on commit 2c3d32b

Please sign in to comment.