Skip to content

Commit

Permalink
Update cert-fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
awellnitz-materna committed Aug 25, 2023
1 parent 3a3f36b commit 6237119
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cert-fixer"
version = "0.1.1"
version = "0.1.5"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
20 changes: 20 additions & 0 deletions deployment/deployment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: cert-fixer
labels:
app: cert-fixer
spec:
replicas: 1
selector:
matchLabels:
app: cert-fixer
template:
metadata:
labels:
app: cert-fixer
spec:
serviceAccountName: cert-fixer-account
containers:
- name: cert-fixer
image: alexohneander/cert-fixer:latest
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ async fn watch_changes(client: Client) -> Result<()> {

// Watch for changes in ingress
watcher(ingress_api, watcher::Config::default())
.applied_objects()
.touched_objects()
.try_for_each(|p| async move {
println!("Applied: {}", p.name_any());

Expand Down

0 comments on commit 6237119

Please sign in to comment.